truebrain
da8777d4e5
(svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one.
13 years ago
truebrain
bc78328918
(svn r23622) -Add: a set of events to trigger in a GameScript
13 years ago
truebrain
77b7366c29
(svn r23622) -Add: a set of events to trigger in a GameScript
13 years ago
truebrain
c74ccfff1b
(svn r23601) -Fix: fix the conflict in window number
13 years ago
truebrain
561b25d031
(svn r23601) -Fix: fix the conflict in window number
13 years ago
truebrain
a9531da713
(svn r23398) -Fix: the AIEvent.ET_COMPANY_NEW was only triggered if a company named itself, which seems like a very odd place to do so. Trigger it when the company is created instead
13 years ago
truebrain
f259e6bf5d
(svn r23398) -Fix: the AIEvent.ET_COMPANY_NEW was only triggered if a company named itself, which seems like a very odd place to do so. Trigger it when the company is created instead
13 years ago
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
13 years ago
truebrain
cc12942d70
(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
13 years ago
truebrain
af1b3cc070
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
13 years ago
truebrain
98103121d4
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
13 years ago
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
13 years ago
rubidium
de27205e6c
(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
13 years ago
rubidium
91e2f44c22
(svn r23030) -Fix [FS#4796]: always show a chat message and send an admin packet when a new company is made
13 years ago
rubidium
16e1314f58
(svn r23030) -Fix [FS#4796]: always show a chat message and send an admin packet when a new company is made
13 years ago
frosch
a80d20fdb1
(svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead.
13 years ago
frosch
1a12008fcf
(svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead.
13 years ago
frosch
f406385319
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
13 years ago
frosch
dd74536bef
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
13 years ago
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
13 years ago
rubidium
a6f9488ae4
(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
13 years ago
rubidium
d946841eff
(svn r22413) -Document: even more stuff
14 years ago
rubidium
ff143c6708
(svn r22413) -Document: even more stuff
14 years ago
rubidium
0a7dcc9781
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
14 years ago
rubidium
bc9a803ea9
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
14 years ago
rubidium
c90e28d184
(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)
14 years ago
rubidium
393fb8e46b
(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)
14 years ago
rubidium
9a466d0e04
(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups
14 years ago
rubidium
835ae31f45
(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups
14 years ago
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)
14 years ago
frosch
f81dd357e8
(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)
14 years ago
smatz
c85e1c3089
(svn r22116) -Codechange: use PoolBase::Clean() at more places
14 years ago
smatz
756cc6cf65
(svn r22116) -Codechange: use PoolBase::Clean() at more places
14 years ago
terkhen
7cfc01c41d
(svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change.
14 years ago
terkhen
8e4b2c951d
(svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change.
14 years ago
rubidium
f1e42dc23b
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
14 years ago
rubidium
795a528328
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
14 years ago
rubidium
ec4f688ca0
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
terkhen
b6148914b0
(svn r21803) -Cleanup: Remove unnecessary semicolons.
14 years ago
terkhen
679cd3c21b
(svn r21803) -Cleanup: Remove unnecessary semicolons.
14 years ago
terkhen
789da3ffa3
(svn r21733) -Codechange: Clarify the update owner legend code.
...
-Fix: Prevent crashes caused by deleted companies.
14 years ago
terkhen
03088dadda
(svn r21733) -Codechange: Clarify the update owner legend code.
...
-Fix: Prevent crashes caused by deleted companies.
14 years ago
rubidium
1850e6fd5c
(svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings
14 years ago
rubidium
4cc2d71d6d
(svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings
14 years ago
rubidium
be077e030e
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
rubidium
eab47d2227
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
terkhen
1af95597cf
(svn r21718) -Feature: Show a list of companies in the owner legend.
14 years ago
terkhen
2103f7e91a
(svn r21718) -Feature: Show a list of companies in the owner legend.
14 years ago
rubidium
8d9c6ecf7f
(svn r21700) -Codechange: GetDrawStringCompanyColour returns a TextColour
14 years ago
rubidium
1c2d56d314
(svn r21700) -Codechange: GetDrawStringCompanyColour returns a TextColour
14 years ago
yexo
b6680625d3
(svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game
14 years ago
yexo
b22945350f
(svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game
14 years ago
rubidium
de7a30cc2e
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
14 years ago
rubidium
2c41b8ee97
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
14 years ago
rubidium
dd618051a7
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
14 years ago
rubidium
cf61c2f11f
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
14 years ago
rubidium
83535a52ea
(svn r21408) -Codechange: limit president name by amount of characters, not bytes
14 years ago
rubidium
9a18050646
(svn r21408) -Codechange: limit president name by amount of characters, not bytes
14 years ago
rubidium
c7066d00af
(svn r21358) -Codechange: make some network function names conform to coding style
14 years ago
rubidium
b6c2216749
(svn r21358) -Codechange: make some network function names conform to coding style
14 years ago
rubidium
56a65270fc
(svn r20970) -Add: company change notification to remote admins (dihedral)
14 years ago
rubidium
ae20cb4f3d
(svn r20970) -Add: company change notification to remote admins (dihedral)
14 years ago
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
14 years ago
rubidium
feece0b42c
(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
14 years ago
alberth
2b4da1d345
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
14 years ago
alberth
9f5a96ead2
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
ef7bffa360
(svn r20543) -Fix (r20542): compilation failed when networking was disabled
14 years ago
rubidium
84de237507
(svn r20543) -Fix (r20542): compilation failed when networking was disabled
14 years ago
rubidium
8a9929d702
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
14 years ago
rubidium
69fa0b36d3
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
14 years ago
alberth
3db5cfb95d
(svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles.
14 years ago
alberth
422a1ad242
(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
5556955960
(svn r20318) -Doc: Doxygen additions.
14 years ago
alberth
6c01a5833c
(svn r20317) -Codechange: Move variable declaration to their first use.
14 years ago
alberth
73f45d16d1
(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
frosch
ed4f806f1d
(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
rubidium
e356cb9405
(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
dc6ed2c2c0
(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
9f8d730cc4
(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
7aabb887d4
(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
alberth
a825b4fa5f
(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
e95518c8e9
(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.
15 years ago
frosch
9e53f1e004
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
15 years ago
frosch
ed80045221
(svn r19654) -Codechange: Use Extract<> in more places.
15 years ago
frosch
75d4bc947d
(svn r19654) -Codechange: Use Extract<> in more places.
15 years ago
rubidium
ddef21cb53
(svn r19636) -Fix: desync when taking over companies
15 years ago
rubidium
1177092da6
(svn r19636) -Fix: desync when taking over companies
15 years ago
terkhen
542d5657fa
(svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour.
15 years ago
terkhen
7ba4f98ce5
(svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour.
15 years ago
alberth
19dff3a6b2
(svn r19414) -Doc: Several doxygen additions and corrections.
15 years ago
alberth
777123c228
(svn r19414) -Doc: Several doxygen additions and corrections.
15 years ago
alberth
d5fe3f96c7
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
15 years ago
alberth
7cc68f493d
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
15 years ago
alberth
6005227ac9
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
15 years ago
alberth
40f106ba7c
(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
frosch
ef477b7dd7
(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
rubidium
21bd2722cd
(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
smatz
73ed81b1c7
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
15 years ago
frosch
ea8a44f5cd
(svn r18931) -Fix: Disabling autoreplace rules might count invalid engines.
15 years ago
frosch
a3168269f9
(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
82fc28f77f
(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
ebe99fd493
(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
3e5a87a52c
(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
74ffe8647f
(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
3e481c4027
(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
b00a5f1069
(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
b02662c4c4
(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
1a04b9081a
(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
56611d13db
(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
58a36f038b
(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
rubidium
d6cded5380
(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
smatz
665864e5b0
(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
rubidium
04d5b67eb6
(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
yexo
5ef54ed4f9
(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
frosch
ebd916be3d
(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
a807026336
(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
472ed0dc76
(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
dcf3719ca1
(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
efff517449
(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
rubidium
4c84db1636
(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
yexo
f548a1b3b3
(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
rubidium
7fbc33dae1
(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
smatz
b7e746f72c
(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
1fe3ad3288
(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
8589fb27a0
(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
rubidium
e3053660c6
(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
16 years ago
smatz
bea3fe2b8b
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
16 years ago
yexo
18d0a5238f
(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.
16 years ago
yexo
d982ec81df
(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.
16 years ago
yexo
68042a6dde
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
16 years ago
yexo
2a5a8f395c
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
16 years ago
yexo
7eb9ad0415
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
16 years ago
yexo
a10e5f707a
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
16 years ago
frosch
eeb3f75cfe
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
16 years ago
frosch
a4557c7da4
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
16 years ago
smatz
d6e203ebe2
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
rubidium
789999ecf3
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
16 years ago
rubidium
9f4d64bda0
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
16 years ago
smatz
512db5248e
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
cf986c3099
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
16 years ago
smatz
ed1e54bd84
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
yexo
8461e505dc
(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI companies to the default values, not to 0 or the local settings
16 years ago
yexo
c299a38e1f
(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI companies to the default values, not to 0 or the local settings
16 years ago
yexo
d489f93473
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
yexo
70559caa8b
(svn r16292) -Fix (r16287): autorenew settings were set to 0 when creating a new company in multiplayer
16 years ago
yexo
67723e42aa
(svn r16292) -Fix (r16287): autorenew settings were set to 0 when creating a new company in multiplayer
16 years ago
yexo
da1f2295c4
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
16 years ago
yexo
90ba8e1bc8
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
16 years ago
rubidium
5c5b357043
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
16 years ago
rubidium
59d45a04d6
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
f3e0fd7416
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
smatz
4c6afbbbe2
(svn r15704) -Cleanup: remove further includes from recently split files
16 years ago
smatz
40745dc0d9
(svn r15704) -Cleanup: remove further includes from recently split files
16 years ago
yexo
b8601d903d
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
16 years ago
yexo
fb7b0536e7
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
16 years ago
rubidium
5c8cf85613
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
rubidium
d846eef0b6
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
rubidium
89e1afdaa0
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
66cb1fe1ff
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
16 years ago
rubidium
9907742a0f
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
16 years ago
rubidium
283b3d16ab
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
rubidium
42fe0b65d2
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
16 years ago
rubidium
ac7757324e
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
484afacd63
(svn r15298) -Fix [FS#2588]: don't start another AI company in MP when there are too many companies
16 years ago
smatz
416c7d5dda
(svn r15298) -Fix [FS#2588]: don't start another AI company in MP when there are too many companies
16 years ago
glx
a92f792433
(svn r15282) -Fix: it was possible to start more than MAX_COMPANIES companies
16 years ago
glx
7d45e8b376
(svn r15282) -Fix: it was possible to start more than MAX_COMPANIES companies
16 years ago
smatz
049e535065
(svn r15281) -Fix: company could never have auto-assigned colour 0 (dark blue)
16 years ago
smatz
9cf1a19762
(svn r15281) -Fix: company could never have auto-assigned colour 0 (dark blue)
16 years ago
smatz
fe1013f147
(svn r15279) -Fix: deadlock (with wide fonts) or desync when generating manager name
16 years ago
smatz
3ac080425a
(svn r15279) -Fix: deadlock (with wide fonts) or desync when generating manager name
16 years ago
smatz
adb5eac77e
(svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymore
16 years ago
smatz
dbc4a8b331
(svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymore
16 years ago
rubidium
2722cabcce
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
16 years ago
rubidium
04709f2798
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
16 years ago
rubidium
cdac8965bd
(svn r15229) -Fix (r14712): passwords weren't reset when creating a new company.
16 years ago
rubidium
93b1202576
(svn r15229) -Fix (r14712): passwords weren't reset when creating a new company.
16 years ago
truebrain
f293bff01b
(svn r15066) -Change: start_date is now in days, instead of in months (Yexo)
16 years ago
truebrain
e1f64922c5
(svn r15066) -Change: start_date is now in days, instead of in months (Yexo)
16 years ago
truebrain
39cec4c65f
(svn r15063) -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
...
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
16 years ago
truebrain
890074a03e
(svn r15063) -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
...
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
16 years ago
truebrain
ee17e1e7b8
(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
16 years ago
truebrain
c3249d599f
(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
16 years ago
truebrain
8823f796ea
(svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be used (tnx to SmatZ for pointing that out)
16 years ago
truebrain
1c3b7ba863
(svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be used (tnx to SmatZ for pointing that out)
16 years ago
truebrain
4c1e61997a
(svn r15038) -Fix (r15027): loading older savegames failed
16 years ago
truebrain
2c89bfbc81
(svn r15038) -Fix (r15027): loading older savegames failed
16 years ago
truebrain
c2406cd42d
(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
16 years ago
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
16 years ago
smatz
91233ea596
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
smatz
7869c4ba66
(svn r14815) -Codechange: separate 'highscore' code from 'company' code
16 years ago