summaryrefslogtreecommitdiff
path: root/src/company_base.h
AgeCommit message (Collapse)Author
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
2009-01-12(svn r15038) -Fix (r15027): loading older savegames failedtruebrain
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-03(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company ↵smatz
without HQ
2008-12-24(svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵rubidium
(without changing the map array) and make the CompanyIDs contiguous. -Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24(svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not bytesmatz
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium