Commit Graph

148 Commits (0f2402306ccae50a26c8453d524363637b904128)

Author SHA1 Message Date
rubidium b6c2216749 (svn r21358) -Codechange: make some network function names conform to coding style 14 years ago
alberth ab50f74d7f (svn r21273) -Codechange: Return values should start at the same line. 14 years ago
rubidium 9badab6454 (svn r20768) -Codechange: unify send-to-depot commands 14 years ago
yexo a9cdcb02f5 (svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge 14 years ago
yexo a45b598bfc (svn r20729) -Fix [FS#4107]: assert when overbuilding object 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 926594b599 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 14 years ago
rubidium 04d6648c5e (svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to trigger 14 years ago
rubidium 69fa0b36d3 (svn r20542) -Codechange: generalise the setting of "p2" to the ClientID. 14 years ago
rubidium c5a670037b (svn r20536) -Codechange: unify the refitting of vehicles 14 years ago
rubidium 4780cc50b2 (svn r20532) -Codechange: unify selling of vehicles a bit 14 years ago
rubidium c14853b72e (svn r20531) -Codechange: unify quite a bit of the vehicle building commands 14 years ago
rubidium 3da3d131c6 (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 49cee72fa4 (svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command 14 years ago
terkhen 7a6df202d0 (svn r20323) -Codechange: Move Delete town code to a command. 14 years ago
terkhen ca0751adb8 (svn r20322) -Codechange: Move Expand town code to a command. 14 years ago
rubidium 52154e097c (svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account 14 years ago
frosch 9e53f1e004 (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. 14 years ago
rubidium 1a5d7b34d8 (svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr 14 years ago
smatz 1f963aed43 (svn r19663) -Fix: in rare cases, update of signals could be missed 14 years ago
rubidium 5c7aaf11ba (svn r19602) -Codechange: add the name of the command to the desync logs 14 years ago
rubidium 9b7d71699d (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 d8baa1342c (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 14 years ago
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth 28b0a3e335 (svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message. 14 years ago
alberth 3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 14 years ago
alberth 777123c228 (svn r19414) -Doc: Several doxygen additions and corrections. 14 years ago
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
alberth 7dcc414000 (svn r19130) -Codechange: Use references and inlining in CommandCost. 15 years ago
alberth e8d40d6a19 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 15 years ago
frosch 5f4f562d53 (svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused. 15 years ago
frosch cbbe311cea (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 4d93b704d9 (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium 351eb4665c (svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro. 15 years ago
rubidium 2365819312 (svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos. 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 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 2b97f38cd1 (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 a951c505bf (svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus. 15 years ago
smatz f0c64208cf (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
alberth 44aacfc59f (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 93d275f1be (svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too 15 years ago
smatz 0a6e336484 (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 15511678e3 (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 15 years ago
rubidium 04d5b67eb6 (svn r17567) -Fix: some doxygen warnings 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 37e6f6a003 (svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints. 15 years ago
rubidium b04ba7dcea (svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place 15 years ago
smatz 78a25e84e9 (svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor 15 years ago