Commit Graph

104 Commits (92c34da796a13fa46626e48ce25a941e42e16917)

Author SHA1 Message Date
alberth 3db5cfb95d (svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles. 14 years ago
alberth ccbacfc298 (svn r20318) -Doc: Doxygen additions. 14 years ago
alberth 6c01a5833c (svn r20317) -Codechange: Move variable declaration to their first use. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth e5b703ddf9 (svn r20279) -Doc: Doxygen additions/improvements. 14 years ago
alberth 2600624395 (svn r20277) -Codechange: Move CmdSetAutoReplace() from company_cmd.cpp to autoreplace_cmd.cpp. 14 years ago
alberth 603c33efc1 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
frosch c9628dd568 (svn r19979) -Codechange: Separate static loadable fields from Company into separate struct. 14 years ago
frosch 65d058723e (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
rubidium ddef21cb53 (svn r19636) -Fix: desync when taking over companies 14 years ago
terkhen 542d5657fa (svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour. 14 years ago
alberth 19dff3a6b2 (svn r19414) -Doc: Several doxygen additions and corrections. 15 years ago
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth 6005227ac9 (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
frosch 9eca269321 (svn r19358) -Fix [FS#3663]: Close error messages about missing ownership when the company closes or is taken over. (parts by Alberth). 15 years ago
rubidium 1c494c6f71 (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 15 years ago
smatz c736bbb875 (svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword() 15 years ago
frosch ea8a44f5cd (svn r18931) -Fix: Disabling autoreplace rules might count invalid engines. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 7f1bf45c03 (svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. 15 years ago
rubidium 9313532ddd (svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable. 15 years ago
rubidium 6ce5fe41f8 (svn r18732) -Codechange: move the company related commands of misc_cmd.cpp to company_cmd.cpp 15 years ago
rubidium b77739c512 (svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
rubidium a1a3e10124 (svn r18112) -Fix (rnewpool): crash when a company got removed and you had the company league window opened 15 years ago
rubidium 745c0c2c1e (svn r18056) -Fix (r17737): compiling without networking failed 15 years ago
rubidium 95bcee3fde (svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/ 15 years ago
rubidium 3a9a88782b (svn r17737) -Codechange: remove the chat window when you were chatting with someone who lost his/her connection or when you were team chatting and moved out of the company. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 499b6df23b (svn r17611) -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives 15 years ago
rubidium 06e490fadc (svn r17567) -Fix: some doxygen warnings 15 years ago
yexo 6fb7012bc6 (svn r17542) -Fix: don't access variables in the company struct after it has been deleted
-Cleanup: remove some never-used code
15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 69a13877c3 (svn r17487) -Fix: silence some MSVC warnings 15 years ago
rubidium ec00da379e (svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code. 15 years ago
rubidium 684706b6b0 (svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function 15 years ago
rubidium 808a2b06e6 (svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements 15 years ago
rubidium 62e990823d (svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt companies anymore; caused by the introduction NoAI, although NewAI had the same problem too. 15 years ago
yexo 8a2e1011b2 (svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz cb6b1accc4 (svn r17132) -Fix: comments in company_cmd.cpp 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 634019bb17 (svn r17051) -Codechange: make the graph legend window use nested widgets 15 years ago
rubidium 39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
smatz a2567c84a0 (svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible 15 years ago
yexo 18d0a5238f (svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them. 15 years ago
yexo 68042a6dde (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 15 years ago