summaryrefslogtreecommitdiff
path: root/src/company_base.h
AgeCommit message (Collapse)Author
2021-06-14Codechange: use SLE_STRUCT(LIST) for Company chunksPatric Stout
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-06-27Codechange: Add initialisation values for all CompanyProperty attributesCharles Pigott
2018-05-19Change: Available railtypes is always calculated on load, so no need to load ↵PeterN
value for old savegames (#6782)
2017-02-26(svn r27757) -Change: Make StringID 32bit.frosch
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2013-11-24(svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite ↵rubidium
work. Upon further review CompanyProperties doesn't need to be virtual in the current code base
2013-11-22(svn r26052) -Fix: missing virtual destructor could cause some memory to be ↵rubidium
not freed
2012-10-20(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)planetmaker
2012-04-17(svn r24134) -Add: Configurable limits for tree planting.michi_cc
2012-02-11(svn r23931) -Change: Scale infrastructure cost of rail tracks by the total ↵michi_cc
number of all tracks and not independently for each rail type.
2012-01-20(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed ↵rubidium
the cargo count of the current quarter instead of the last quarter like the tooltip says
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-03(svn r23410) -Add: A window with a detailed overview over the infrastructure ↵michi_cc
of a company.
2011-10-03(svn r22981) -Add: GroupStatistics for the ALL_GROUP.frosch
2011-10-03(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.frosch
2011-05-19(svn r22479) -Codechange/Fix: Months != quarters. (xi)frosch
2011-02-14(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few ↵planetmaker
existing comments
2011-01-04(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles ↵rubidium
that can be cleared/terraformed by a company
2010-08-02(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed ↵alberth
addition.
2010-08-02(svn r20319) -Codechange: Align comments, add indent to a function call.alberth
2010-08-02(svn r20318) -Doc: Doxygen additions.alberth
2010-08-01(svn r20279) -Doc: Doxygen additions/improvements.alberth
2010-06-13(svn r19979) -Codechange: Separate static loadable fields from Company into ↵frosch
separate struct.
2010-01-24(svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the ↵rubidium
loan and as such the value at which you bought the company was too low
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-11-29(svn r18342) -Fix: erroneous spaces before ;rubidium
2009-09-08(svn r17473) -Codechange: use the post destructor for destroying companies ↵rubidium
too instead of complicating the graph GUI invalidate code.
2009-09-01(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my ↵rubidium
Oxford Dictionary of English and Merriam-Webster.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-03(svn r17058) -Codechange: magic numbers removal.belugas
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-06-23(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()smatz
2009-06-10(svn r16559) -Codechange: introduce Company::IsValidAiID() and ↵smatz
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-15(svn r16315) -Codechange: move the autorenew settings to a new ↵yexo
CompanySettings struct
2009-02-25(svn r15584) -Codechange: Move several variables from variables.h to more ↵yexo
appropriate headers.
2009-01-24(svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymoresmatz