peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
2019-05-01 21:36:27 +02:00
Charles Pigott
5b34c8019f
Codechange: Remove Company/OwnerByte types
2019-04-29 17:40:22 +01:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
Charles Pigott
e1b9187e9b
Codechange: Add initialisation values for all CompanyProperty attributes
2018-06-27 22:54:46 +02:00
PeterN
42b43c9983
Change: Available railtypes is always calculated on load, so no need to load value for old savegames ( #6782 )
2018-05-19 22:31:46 +01:00
frosch
fc4c4d080c
(svn r27757) -Change: Make StringID 32bit.
2017-02-26 19:41:14 +00:00
michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
2015-08-10 20:24:13 +00:00
rubidium
6fb28d8719
(svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base
2013-11-24 09:52:35 +00:00
rubidium
83a76c73c7
(svn r26052) -Fix: missing virtual destructor could cause some memory to be not freed
2013-11-22 21:44:51 +00:00
planetmaker
f2e94237fc
(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)
2012-10-20 22:05:26 +00:00
michi_cc
f3e295b4ec
(svn r24134) -Add: Configurable limits for tree planting.
2012-04-17 19:43:52 +00:00
michi_cc
0542e26460
(svn r23931) -Change: Scale infrastructure cost of rail tracks by the total number of all tracks and not independently for each rail type.
2012-02-11 22:43:39 +00:00
rubidium
70c7fbd90e
(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says
2012-01-20 20:18:19 +00:00
rubidium
e40eb8177a
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
2012-01-03 20:26:05 +00:00
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-20 17:57:56 +00:00
michi_cc
6083d6ffb4
(svn r23410) -Add: A window with a detailed overview over the infrastructure of a company.
2011-12-03 23:40:08 +00:00
frosch
dd74536bef
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
2011-10-03 17:23:41 +00:00
frosch
5be8f73204
(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.
2011-10-03 17:22:56 +00:00
frosch
ebb4f0513a
(svn r22479) -Codechange/Fix: Months != quarters. (xi)
2011-05-19 21:03:23 +00:00
planetmaker
914f8e9f1d
(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments
2011-02-14 19:52:26 +00:00
rubidium
eab47d2227
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
2011-01-04 22:50:09 +00:00
alberth
0e900039f3
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
2010-08-02 20:47:27 +00:00
alberth
4781f1fa92
(svn r20319) -Codechange: Align comments, add indent to a function call.
2010-08-02 20:37:32 +00:00
alberth
5556955960
(svn r20318) -Doc: Doxygen additions.
2010-08-02 20:32:39 +00:00
alberth
dc6ed2c2c0
(svn r20279) -Doc: Doxygen additions/improvements.
2010-08-01 17:45:53 +00:00
frosch
e95518c8e9
(svn r19979) -Codechange: Separate static loadable fields from Company into separate struct.
2010-06-13 14:15:11 +00:00
rubidium
3d0b3818dd
(svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the loan and as such the value at which you bought the company was too low
2010-01-24 11:05:26 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
2e2f72b971
(svn r18342) -Fix: erroneous spaces before ;
2009-11-29 19:20:39 +00:00
rubidium
472ed0dc76
(svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code.
2009-09-08 12:27:27 +00:00
rubidium
b1d4594fa7
(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my Oxford Dictionary of English and Merriam-Webster.
2009-09-01 12:28:46 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
belugas
a2b996106e
(svn r17058) -Codechange: magic numbers removal.
...
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-08-03 20:02:25 +00:00
smatz
22cf8d8480
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
2009-06-23 12:11:35 +00:00
smatz
bea3fe2b8b
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-06-10 22:05:01 +00:00
smatz
56a7b70591
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
2009-05-22 15:39:22 +00:00
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22 15:23:47 +00:00
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
smatz
04723b240e
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
2009-05-22 14:23:36 +00:00
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
ed1e54bd84
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
2009-05-16 23:44:36 +00:00
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
2009-05-15 23:55:06 +00:00
yexo
fb7b0536e7
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
2009-02-25 21:45:14 +00:00
smatz
dbc4a8b331
(svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymore
2009-01-24 15:31:48 +00:00
truebrain
2c89bfbc81
(svn r15038) -Fix (r15027): loading older savegames failed
2009-01-12 19:31:00 +00:00
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to 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-12 17:11:45 +00:00
smatz
afef22e3e7
(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company without HQ
2009-01-03 17:11:52 +00:00
rubidium
d1bb5e5f36
(svn r14735) -Codechange: remove a bit of bit-waste in the map array (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 09:53:15 +00:00