Commit Graph

137 Commits

Author SHA1 Message Date
truebrain
bf803e40cc (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 2011-12-01 12:03:34 +00:00
truebrain
af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 2011-11-29 23:15:35 +00:00
rubidium
7005bb694c (svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction between bankruptcy and manual removal of companies even though the API suggested that 2011-10-15 20:42:32 +00:00
rubidium
91e2f44c22 (svn r23030) -Fix [FS#4796]: always show a chat message and send an admin packet when a new company is made 2011-10-15 16:45:18 +00:00
frosch
a80d20fdb1 (svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead. 2011-10-03 17:24:31 +00:00
frosch
f406385319 (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 2011-10-03 17:23:41 +00:00
rubidium
3722a0bf98 (svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table 2011-09-23 19:27:15 +00:00
rubidium
d946841eff (svn r22413) -Document: even more stuff 2011-05-02 20:59:54 +00:00
rubidium
0a7dcc9781 (svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID 2011-04-22 15:54:16 +00:00
rubidium
c90e28d184 (svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client) 2011-04-22 15:53:40 +00:00
rubidium
9a466d0e04 (svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups 2011-04-22 15:50:13 +00:00
frosch
64a8bdca02 (svn r22253) -Change: Apply the same inflation to the initial loan as to the maximum loan. Note that this is no change to the economy; it only saves players some clicks when starting companies in later years. (Eddi) 2011-03-14 21:14:44 +00:00
smatz
c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 2011-02-19 23:05:47 +00:00
terkhen
7cfc01c41d (svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change. 2011-02-14 19:39:01 +00:00
rubidium
f1e42dc23b (svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server) 2011-01-19 16:47:40 +00:00
rubidium
ec4f688ca0 (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 2011-01-18 22:31:06 +00:00
terkhen
b6148914b0 (svn r21803) -Cleanup: Remove unnecessary semicolons. 2011-01-15 15:36:58 +00:00
terkhen
789da3ffa3 (svn r21733) -Codechange: Clarify the update owner legend code.
-Fix: Prevent crashes caused by deleted companies.
2011-01-05 11:04:29 +00:00
rubidium
1850e6fd5c (svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings 2011-01-05 07:57:10 +00:00
rubidium
be077e030e (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
terkhen
1af95597cf (svn r21718) -Feature: Show a list of companies in the owner legend. 2011-01-04 20:57:11 +00:00
rubidium
8d9c6ecf7f (svn r21700) -Codechange: GetDrawStringCompanyColour returns a TextColour 2011-01-03 11:55:08 +00:00
yexo
b6680625d3 (svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game 2011-01-02 12:41:24 +00:00
rubidium
de7a30cc2e (svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour 2010-12-25 19:47:15 +00:00
rubidium
dd618051a7 (svn r21412) -Codechange: limit company name by amount of characters, not bytes 2010-12-05 22:24:50 +00:00
rubidium
83535a52ea (svn r21408) -Codechange: limit president name by amount of characters, not bytes 2010-12-05 22:23:50 +00:00
rubidium
c7066d00af (svn r21358) -Codechange: make some network function names conform to coding style 2010-11-30 13:38:46 +00:00
rubidium
56a65270fc (svn r20970) -Add: company change notification to remote admins (dihedral) 2010-10-17 17:37:45 +00:00
rubidium
ecb191b1ba (svn r20919) -Fix [FS#4140]: objects didn't change colour when the company changed colour. Now they do, except when the "decide colour" callback is (defined to be) used 2010-10-12 19:48:42 +00:00
alberth
2b4da1d345 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 2010-08-29 15:58:43 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium
ef7bffa360 (svn r20543) -Fix (r20542): compilation failed when networking was disabled 2010-08-18 17:23:03 +00:00
rubidium
8a9929d702 (svn r20542) -Codechange: generalise the setting of "p2" to the ClientID. 2010-08-18 17:06:45 +00:00
alberth
3db5cfb95d (svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles. 2010-08-06 20:26:01 +00:00
alberth
ccbacfc298 (svn r20318) -Doc: Doxygen additions. 2010-08-02 20:32:39 +00:00
alberth
6c01a5833c (svn r20317) -Codechange: Move variable declaration to their first use. 2010-08-02 20:19:10 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth
e5b703ddf9 (svn r20279) -Doc: Doxygen additions/improvements. 2010-08-01 17:45:53 +00:00
alberth
2600624395 (svn r20277) -Codechange: Move CmdSetAutoReplace() from company_cmd.cpp to autoreplace_cmd.cpp. 2010-08-01 14:43:39 +00:00
alberth
603c33efc1 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 2010-07-31 21:43:07 +00:00
alberth
1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
frosch
c9628dd568 (svn r19979) -Codechange: Separate static loadable fields from Company into separate struct. 2010-06-13 14:15:11 +00:00
frosch
65d058723e (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. 2010-06-05 13:32:42 +00:00
frosch
ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 2010-04-17 13:31:41 +00:00
rubidium
ddef21cb53 (svn r19636) -Fix: desync when taking over companies 2010-04-14 20:26:34 +00:00
terkhen
542d5657fa (svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour. 2010-04-12 17:58:09 +00:00
alberth
19dff3a6b2 (svn r19414) -Doc: Several doxygen additions and corrections. 2010-03-14 12:39:24 +00:00
alberth
d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 2010-03-13 17:11:28 +00:00
alberth
6005227ac9 (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 2010-03-07 20:44:05 +00:00