Commit Graph

151 Commits (b469b1dc51a3d534c3ada4f9dd387bf63815c57b)

Author SHA1 Message Date
rubidium 434abd6dea (svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting 14 years ago
rubidium 78054d7ad5 (svn r21427) -Add: helper function to determine whether a command may be executed 14 years ago
rubidium 8f3607bbc7 (svn r21425) -Codechange: add "command types" to all commands 14 years ago
rubidium c7066d00af (svn r21358) -Codechange: make some network function names conform to coding style 14 years ago
alberth 9f3845227e (svn r21273) -Codechange: Return values should start at the same line. 14 years ago
rubidium db3a6485d7 (svn r20768) -Codechange: unify send-to-depot commands 14 years ago
yexo 6c336d9926 (svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge 14 years ago
yexo 0d040f03e6 (svn r20729) -Fix [FS#4107]: assert when overbuilding object 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 27e45d96a4 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 14 years ago
rubidium db8af95d58 (svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to trigger 14 years ago
rubidium 8a9929d702 (svn r20542) -Codechange: generalise the setting of "p2" to the ClientID. 14 years ago
rubidium 982df3e96b (svn r20536) -Codechange: unify the refitting of vehicles 14 years ago
rubidium c57a5b735a (svn r20532) -Codechange: unify selling of vehicles a bit 14 years ago
rubidium 253080ad64 (svn r20531) -Codechange: unify quite a bit of the vehicle building commands 14 years ago
rubidium 1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
rubidium 7fe695dc28 (svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command 14 years ago
terkhen ec6cba6b92 (svn r20323) -Codechange: Move Delete town code to a command. 14 years ago
terkhen 014771848d (svn r20322) -Codechange: Move Expand town code to a command. 14 years ago
rubidium c28f639c40 (svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account 14 years ago
frosch 65d058723e (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. 14 years ago
rubidium 63865a5ed7 (svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr 14 years ago
smatz d053f0dcf3 (svn r19663) -Fix: in rare cases, update of signals could be missed 14 years ago
rubidium ea7aececf8 (svn r19602) -Codechange: add the name of the command to the desync logs 14 years ago
rubidium ff6ec70007 (svn r19601) -Fix: make the desync replay parse the "whole" string instead of everything up to the first space; make it log the sync state too 14 years ago
rubidium ff5dfd9c7e (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth efddc16fc3 (svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message. 14 years ago
alberth cb10444807 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 14 years ago
alberth 19dff3a6b2 (svn r19414) -Doc: Several doxygen additions and corrections. 14 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
alberth 9e302e5fa1 (svn r19130) -Codechange: Use references and inlining in CommandCost. 15 years ago
alberth a2af272a52 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 15 years ago
frosch 6ade772f01 (svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused. 15 years ago
frosch 15f0fcf3c4 (svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run. 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium dc94ed8d02 (svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro. 15 years ago
rubidium 8343a34805 (svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos. 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 26b203e3ff (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium bd9c679873 (svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus. 15 years ago
smatz f7466979b9 (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz a2f43040af (svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too 15 years ago
smatz e3e180523e (svn r17607) -Fix: when command didn't fail in test run and failed in exec run, error message wasn't set. Affects only few commands 15 years ago
smatz 13437a998e (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 15 years ago
rubidium 06e490fadc (svn r17567) -Fix: some doxygen warnings 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago