Commit Graph

138 Commits (e16576dcf52a7f9a9e30c1600374adb49aee6964)

Author SHA1 Message Date
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
rubidium b3f3ba36db (svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints. 15 years ago
rubidium f62b2f9c7e (svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place 15 years ago
smatz e6b8b65fcd (svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor 15 years ago
smatz d8d7a38eb9 (svn r16438) -Fix (r16436): set 'old_company' after modifying '_current_company' 15 years ago
rubidium 4677b60b73 (svn r16436) -Codechange: always execute 'spectator'/'server' commands as spectator. This to reduce the difference between dedicated and non-dedicated servers and normal clients. 15 years ago
rubidium e234e88d2d (svn r16435) -Codechange: don't require the 'user company 0' hack for commands. 15 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. 15 years ago
smatz 512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 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. 15 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 15 years ago
rubidium 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago