Commit Graph

78 Commits (b4f976d4870ea84a1efb901885df0feb51a06c65)

Author SHA1 Message Date
rubidium 274f446b2c (svn r23783) -Cleanup: remove ancient but not needed command flag 13 years ago
truebrain 59de5e9570 (svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17 13 years ago
rubidium 304156a297 (svn r23683) -Fix [FS#4912]-ish: when fitting another engine the cargo capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing 13 years ago
truebrain aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain ccf9b01f5d (svn r23630) -Add: a Goal GUI to show your current goals 13 years ago
truebrain 2fc120d4d1 (svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only) 13 years ago
truebrain 09ef12ab03 (svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only) 13 years ago
truebrain 6961332f05 (svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI 13 years ago
truebrain b00fcef81a (svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only) 13 years ago
truebrain 2b381d0765 (svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium) 13 years ago
truebrain 5394a8c220 (svn r23602) -Add: support for DEITY commands, commands where no real company was involved in (Rubidium) 13 years ago
rubidium 3d605f6488 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
rubidium 1cd3dac854 (svn r23215) -Codechange: stricter type safety for CommandFlags 13 years ago
frosch ef5b18ab3b (svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters. 13 years ago
alberth a70556dac2 (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 13 years ago
rubidium aed86fec3f (svn r22016) -Fix [FS#4479]: when paused and having the allowed actions while paused setting on "no actions" cheating money would fail 14 years ago
rubidium 72a4dc53d9 (svn r21668) -Feature: command logging using the admin interface (dihedral) 14 years ago
rubidium 8f3607bbc7 (svn r21425) -Codechange: add "command types" to all commands 14 years ago
rubidium f9edc64bb2 (svn r21403) -Change: the maximum size of the string argument of a command 14 years ago
rubidium db3a6485d7 (svn r20768) -Codechange: unify send-to-depot commands 14 years ago
yexo 66d57b96a8 (svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account 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 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
terkhen c873246257 (svn r20112) -Codechange: Prevent implicit use of CommandCost constructors. 14 years ago
rubidium f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 63865a5ed7 (svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr 14 years ago
rubidium ea7aececf8 (svn r19602) -Codechange: add the name of the command to the desync logs 14 years ago
smatz d2e99657fa (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
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