summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
AgeCommit message (Collapse)Author
2019-02-10Codechange: In CmdCompanyCtrl, move client_id assignment to where it is ↵Peter Nelson
used, and document bit usage better.
2019-02-05Fix #7151: Hang when concurrently starting AIs in multiplayer, or with shift ↵Peter Nelson
pressed.
2019-02-04Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actionsglx
2019-02-02Change: Allow AI companies to start immediately.Samu
Allow multiple AIs to possibly start in the same tick. start_date = 0 becomes a special case, where random deviation does not occur. If start_date was not already 0, then a minimum value of 1 must apply.
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2014-09-07(svn r26802) -Add: Command to set visibility of an engine for a company ↵alberth
(based on patch by Juanjo).
2014-05-11(svn r26578) -Fix (r26576): network compilation got brokenrubidium
2014-05-11(svn r26576) -Fix [FS#6003]: [Network] AIs would not reset certain network ↵rubidium
state information upon creation of their company
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-09-13(svn r25761) -Change: Disable story/goal buttons when there is no content to ↵zuu
show instead of when there is zero companies
2013-06-27(svn r25490) -Fix [FS#5610]: the face of the manager differed on clients ↵rubidium
when the company was started after the clients joined
2013-05-19(svn r25263) -Add: legend for linkgraph overlay (fonsinchen)rubidium
2013-02-14(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ↵rubidium
ispercent (peter1138)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-05-26(svn r24281) -Cleanup: Merge all company news subtypes into a single one; ↵frosch
they all behave the same.
2012-04-17(svn r24134) -Add: Configurable limits for tree planting.michi_cc
2012-01-17(svn r23822) -Fix-ish: when replaying make sure companies get created even ↵rubidium
if their creating client doesn't exist during the replay
2012-01-03(svn r23741) -Revert (r23740): the few parts that the Windows / non-network ↵rubidium
compiles stumble on
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23728) -Fix [#FS4942-ish]: when cheating into another company, the ↵truebrain
SignList was not updated
2011-12-21(svn r23648) -Revert (r23646): partial revert; nobody has to know about my ↵truebrain
local changes and attempts
2011-12-21(svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one.truebrain
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-02(svn r23398) -Fix: the AIEvent.ET_COMPANY_NEW was only triggered if a ↵truebrain
company named itself, which seems like a very odd place to do so. Trigger it when the company is created instead
2011-12-01(svn r23384) -Remove: no longer allow a binary to be without AI support; the ↵truebrain
parts some compilers failed at, are integrated in other parts of the code now too
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-10-15(svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction ↵rubidium
between bankruptcy and manual removal of companies even though the API suggested that
2011-10-15(svn r23030) -Fix [FS#4796]: always show a chat message and send an admin ↵rubidium
packet when a new company is made
2011-10-03(svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP ↵frosch
statistics instead.
2011-10-03(svn r22981) -Add: GroupStatistics for the ALL_GROUP.frosch
2011-09-23(svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, ↵rubidium
which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table
2011-05-02(svn r22413) -Document: even more stuffrubidium
2011-04-22(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> ↵rubidium
NetworkClientInfo::GetByClientID
2011-04-22(svn r22361) -Codechange: delete the client list popup when the client got ↵rubidium
removed (instead of previously selecting some other client)
2011-04-22(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only ↵rubidium
used for client list popups
2011-03-14(svn r22253) -Change: Apply the same inflation to the initial loan as to the ↵frosch
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-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-14(svn r22079) -Fix: The owner view of the smallmap was not updated after a ↵terkhen
company colour change.
2011-01-19(svn r21854) -Codechange: refactor the password setting methods to make it ↵rubidium
possible to change the password of other companies (on the server)
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2011-01-15(svn r21803) -Cleanup: Remove unnecessary semicolons.terkhen
2011-01-05(svn r21733) -Codechange: Clarify the update owner legend code.terkhen
-Fix: Prevent crashes caused by deleted companies.
2011-01-05(svn r21731) -Fix (r21728): don't forget to update the saveload version, or ↵rubidium
to check for MSVC warnings
2011-01-04(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles ↵rubidium
that can be cleared/terraformed by a company