Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-27 | Fix: spelling/grammar in script_tile.hpp (#7804) | James103 | |
2019-10-22 | Add: [Script] ScriptEventVehicleAutoReplaced. | glx | |
2019-10-19 | Codechange: Use std::vector for industry tile layouts | Niels Martin Hansen | |
2019-09-30 | Fix: clang and MSVC warnings (glx) | Charles Pigott | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-09-08 | Add: Allow GameScript to demolish without a company | Max Maton | |
This allows GameScripts to shrink towns as well as grow them. | |||
2019-09-07 | Fix b3fd7879: Ignore command flags when verifying script commands | Niels Martin Hansen | |
Multiplayer games has the server add some flags to the cmd value during the handling. These flags should not be included in the verification, mask them out. Without this masking out, scripts tend to die when executing their first command in multiplayer. | |||
2019-09-07 | Fix #7188: check the validity of command callback for scripts (#7701) | glx22 | |
2019-09-01 | Fix b870596f153c17d9aa915ca67b8f6414d73cb31f: forgotten squirrel_export run ↵ | glx22 | |
(#7715) | |||
2019-08-17 | Add #6887: Option to show zone inside local authority boundary of towns | Gabda | |
Can be found at town information > local authority window Layout for button is same as Graph Keys Turn on/off for every town individually | |||
2019-08-07 | Fix: typo in ScriptList::Valuate param error (#7687) | nikolas | |
2019-07-22 | Feature: Town name filtering (#7621) | TELK | |
2019-07-22 | Fix #7593: Crash in ScriptOrder::GetOrderDistance in VT_AIR mode | Jonathan G Rennison | |
Null pointer dereference occurred when either origin_tile or dest_tile were waypoint tiles. | |||
2019-07-14 | Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID ↵ | dP | |
< 2**16 | |||
2019-07-07 | Fix #5685: Check for free wagons in ScriptVehicleList | unknown | |
2019-06-30 | Feature: Multi-tile docks and docking points. | peter1138 | |
2019-05-15 | Codechange: catch script exceptions by reference | glx | |
2019-05-15 | Fix #7590: handle script exceptions during scanning | glx | |
2019-05-15 | Fix #7590: decrement allocated_size in ScriptAllocator::Free() | glx | |
2019-05-11 | Add: Show memory allocations by GS and AI in framerate window | Niels Martin Hansen | |
2019-05-11 | Change: Limit memory allocations for each Squirrel instance | Niels Martin Hansen | |
This can avoid out-of-memory situations due to single scripts using up the entire address space. Instead, scripts that go above the maximum are killed. The maximum is default 1 GB per script, but can be configured by a setting. | |||
2019-05-01 | Add: New RoadType API functions. | peter1138 | |
2019-05-01 | Feature: Add NotRoadTypes (NRT) | peter1138 | |
2019-04-29 | Codechange: Remove Company/OwnerByte types | Charles Pigott | |
2019-04-29 | Codechange: Remove RailTypeByte type | Charles Pigott | |
2019-04-25 | Feature: Add station coverage area display for towns. | peter1138 | |
2019-04-25 | Feature: Add coverage area display for existing stations. | peter1138 | |
2019-04-24 | Fix: Automatic line breaking of the warning | Niels Martin Hansen | |
2019-04-24 | Add: Warn players that company passwords are not truly secure | Niels Martin Hansen | |
2019-04-13 | Fix: Industry coverage area is no longer rectangular. (#7464) | PeterN | |
AIs test station catchment in reverse to how players see station catchment. This did not take account of non-rectangular station catchment areas, so AIs could end up placing stations in locations that did not accept/deliver cargo. | |||
2019-04-13 | Codechange: Replace duplicated code with TileArea::Expand() (#7467) | PeterN | |
2019-04-11 | Codechange: Replace NULL with nullptr in squirrel interface. | peter1138 | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-31 | Codechange: Remove ship max order distance from script API. | peter1138 | |
2019-03-31 | Fix 6fc60d8c4f: forgot to update API changelog | glx | |
2019-03-30 | Codechange: Check airport layout would fit within map bounds before ↵ | PeterN | |
iterating tiles. (#7429) | |||
2019-03-29 | Codechange: Distance between town and airport has already just been found, ↵ | PeterN | |
so use it. (#7427) Previously the distance was thrown away, only to be expensively recalculated again. | |||
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-26 | Codechange: Use range-based for-loop in Auto[Free|Delete]SmallVector | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: [core] Implement SmallVector using std::vector | Henry Wilson | |
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references. | |||
2019-03-24 | Add: script API functions for build with refit feature | glx | |
2019-03-24 | Feature: When filtering purchase list by cargo type, make buy button perform ↵ | peter1138 | |
a refit if required. | |||
2019-03-24 | Codechange: Use override specifer for overriding member declarations | Henry Wilson | |
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template. | |||
2019-03-20 | Remove: ENABLE_NETWORK switch | Patric Stout | |
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to. | |||
2019-03-09 | Feature: Non-rectangular sparse station catchment area. | Peter Nelson | |
2019-03-09 | Codechange: Convert StationList from SmallVector to std::set. | peter1138 | |