Commit Graph

42 Commits (a9926e21dcbbd90a3a6c9883a59664ba4400e83d)

Author SHA1 Message Date
alberth 19dff3a6b2 (svn r19414) -Doc: Several doxygen additions and corrections. 14 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
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
smatz 13437a998e (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 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
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
frosch d5525b8f2d (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. 16 years ago
frosch f9feb4a0e6 (svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does. 16 years ago
rubidium 5c8cf85613 (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 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 6ad9fcc6ec (svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server. 16 years ago
rubidium ce1fcfd8c0 (svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command. 16 years ago
Yexo e3c69b7c4e (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
smatz d286e1df4b (svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack 16 years ago
rubidium 0e1127e8b5 (svn r14915) -Codechange: unify the receiving and sending of commands, and thus unifying most of the validity checking too. 16 years ago
rubidium 5056418336 (svn r14896) -Codechange: remove an unused constant and the related dead code. 16 years ago
rubidium ac5c5fc2db (svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table 16 years ago
rubidium 131ffc3196 (svn r14890) -Codechange: move the notest information into the command table. 16 years ago
rubidium 71df085954 (svn r14889) -Codechange: replace some magic numbers with constants. 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium e7bb5c63a4 (svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
smatz aef674d858 (svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too 16 years ago
frosch 92f3c368b8 (svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel. 16 years ago
frosch c8e699cc35 (svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE. 16 years ago
smatz a47b118a80 (svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not 16 years ago
rubidium c4c440cc20 (svn r13256) -Codechange: merge the OPTS and PATS chuncks.
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
16 years ago
smatz f35612bd21 (svn r12616) -Codechange: r12591 didn't work as expected for NDS, move one function back to cpp 16 years ago
smatz 54630d0735 (svn r12591) -Codechange: move CommandCost accessors to header file, 8kB of binary size saved 16 years ago
smatz d00bf03012 (svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes 17 years ago
peter1138 b19704f661 (svn r12075) -Codechange: Remove explicit numbering on command enum, and remove blanks from command list where old commands have been removed. 17 years ago
smatz 5dacd82903 (svn r12061) -Cleanup: since r12060, DC_FORCETEST is not used anymore 17 years ago
rubidium 0365c1f33b (svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114). 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago