Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-20 | Fix #9756: Network command unpack proc was not generated in all cases. | Michael Lutz | |
The case where the callback proc takes all command results but not any of the command parameters was not handled properly. | |||
2021-12-16 | Codechange: Add support for additional command result values. | Michael Lutz | |
2021-12-16 | Codechange: Pass unpacked command arguments to command callbacks (except ↵ | Michael Lutz | |
Script). | |||
2021-12-16 | Codechange: Un-bitstuff all remaining commands. | Michael Lutz | |
2021-12-16 | Codechange: Pass additional data as byte stream to command callbacks. | Michael Lutz | |
2021-12-16 | Codechange: Template DoCommand to automagically reflect the parameters of ↵ | Michael Lutz | |
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing. | |||
2021-12-16 | Codechange: Use lambdas instead of CommandContainer to manage station picker ↵ | Michael Lutz | |
commands. | |||
2021-12-16 | Change: [Network] Transfer command data as serialized byte stream without ↵ | Michael Lutz | |
fixed structure. The data will be transmitted as the length followed by the serialized data. This allows the command data to be different for every command type in the future. | |||
2021-12-16 | Codechange: Align parameter order of command callbacks to command handlers. | Michael Lutz | |
2021-12-16 | Codechange: Move flags in CommandProc in front of the command arguments. | Michael Lutz | |
2021-12-16 | Codechange: Let the compile generate the master command table out of ↵ | Michael Lutz | |
templated command traits. This is using a non-intrusive type-traits like templated system, which allows compile-time validation that the command table and the command enum match up. | |||
2021-12-16 | Codechange: Untangle command code, flags and error string for DoCommand*. | Michael Lutz | |
2021-05-29 | Codechange: [Network] Use std::string in CommandPacket | rubidium42 | |
2021-05-29 | Codechange: move from C-string to std::string for DoCommand | rubidium42 | |
2021-04-22 | Codechange: Replace CMD_SET_GROUP_REPLACE_PROTECTION with generic ↵ | peter1138 | |
CMD_SET_GROUP_FLAG. | |||
2021-01-05 | Codechange: DC_NO_RAIL_OVERLAP is a remnant of the OldAI. (#8496) | Patric Stout | |
The OldAI was removed in 2009. Pretty sure we can remove this flag now too. | |||
2020-12-22 | Feature: Influence industry production changes from GS (#7912) | Niels Martin Hansen | |
2020-05-22 | Feature: Push-buttons on storybook pages (#7896) | Niels Martin Hansen | |
Allow more direct player-initiated interaction for Game Scripts, by letting the GS put push-buttons on storybook pages. These buttons can either trigger an immediate event, or require the player to first select a tile on the map, or a vehicle. Additionally this reworks how the storybook pages are layouted and rendered, to allow for slightly more complex layouts, and maybe speeding drawing up a bit. | |||
2020-01-15 | Feature: GS method to control engine availability for a specific company (#7791) | Pavel Stupnikov | |
* Feature: GS method to allow company to use an engine before its introduction date * Feature: GS method to retire an engine early for a specific company | |||
2020-01-04 | Feature: Script API to change town rating of companies | Niels Martin Hansen | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-07 | Fix #7188: check the validity of command callback for scripts (#7701) | glx22 | |
2019-05-01 | Feature: Add NotRoadTypes (NRT) | peter1138 | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-02-05 | Fix #7151: Hang when concurrently starting AIs in multiplayer, or with shift ↵ | Peter Nelson | |
pressed. | |||
2019-01-31 | Feature: Group liveries, and livery window usability enhancements. (#7108) | PeterN | |
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries. | |||
2018-04-24 | Feature: GS methods to scroll viewport for players (#6745) | Pavel Stupnikov | |
2014-09-07 | (svn r26802) -Add: Command to set visibility of an engine for a company ↵ | alberth | |
(based on patch by Juanjo). | |||
2014-04-08 | (svn r26450) -Feature: Hierarchical vehicle subgroups. | peter1138 | |
2014-02-06 | (svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, ↵ | zuu | |
GetDate, SetDate | |||
2014-01-12 | (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵ | frosch | |
in the TextRefStack. | |||
2013-09-21 | (svn r25788) -Feature: [Script] Game Scripts can now charge fees and give ↵ | zuu | |
money to companies | |||
2013-06-09 | (svn r25352) -Feature: GameScript API for selecting a story page to view | zuu | |
2013-06-09 | (svn r25342) -Add: StoryPage data structures and GS API | zuu | |
2013-05-26 | (svn r25296) -Feature: Goals can now have a progress text and/or be marked ↵ | zuu | |
as completed. | |||
2013-01-08 | (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵ | planetmaker | |
Eagle_rainbow) | |||
2012-04-17 | (svn r24127) -Feature [FS#1497]: Allow closing airports for incoming ↵ | michi_cc | |
aircraft. (Based on patch by cirdan) | |||
2012-01-09 | (svn r23783) -Cleanup: remove ancient but not needed command flag | rubidium | |
2012-01-03 | (svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) ↵ | truebrain | |
company(ies). It can contain random text, and at most 3 buttons from a collection of 17 | |||
2011-12-28 | (svn r23683) -Fix [FS#4912]-ish: when fitting another engine the cargo ↵ | rubidium | |
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 | |||
2011-12-20 | (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵ | truebrain | |
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) | |||
2011-12-19 | (svn r23630) -Add: a Goal GUI to show your current goals | truebrain | |
2011-12-19 | (svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only) | truebrain | |
2011-12-19 | (svn r23627) -Add: ScriptNews::Create, to create custom news messages ↵ | truebrain | |
(GameScript only) | |||
2011-12-19 | (svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI | truebrain | |
2011-12-19 | (svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵ | truebrain | |
(GameScript only) | |||
2011-12-19 | (svn r23603) -Add: support for control commands in strings, in both network ↵ | truebrain | |
and safe/load (Rubidium) | |||
2011-12-19 | (svn r23602) -Add: support for DEITY commands, commands where no real ↵ | truebrain | |
company was involved in (Rubidium) | |||
2011-12-19 | (svn r23595) -Codechange: add comma after last enum to get a more uniform ↵ | rubidium | |
coding style | |||
2011-11-14 | (svn r23215) -Codechange: stricter type safety for CommandFlags | rubidium | |