1
0
Fork 0
OpenTTD/src/script
Peter Nelson bf9caa425b Change: Units-system can convert from N to kN, don't preconvert.
This allows force to passed as is and avoid premature rounding.

The AI function "GetMaxTractiveEffort" still needs to return kN to avoid breaking the API.
2023-05-09 23:02:51 +02:00
..
api Change: Units-system can convert from N to kN, don't preconvert. 2023-05-09 23:02:51 +02:00
CMakeLists.txt Codechange: move windows common to AI and GS out of ai_gui 2023-02-05 19:27:25 +01:00
script_cmd.h Codechange: Pass unpacked command arguments to command callbacks (except Script). 2021-12-16 22:28:32 +01:00
script_config.cpp Codechange: use std::string for text file name resolution 2023-05-05 08:54:29 +02:00
script_config.hpp Codechange: use std::string for text file name resolution 2023-05-05 08:54:29 +02:00
script_fatalerror.hpp Change: [Script] Let Script_FatalError use std::string instead of const char * 2021-04-17 22:24:52 +02:00
script_gui.cpp Codechange: Rely on Scrollbar::SetPosition to clamp. 2023-05-07 20:25:44 +01:00
script_gui.h Fix #10578: Allow to select any version of AI/GS from GUI (#10604) 2023-04-07 19:33:07 +02:00
script_info.cpp Codechange: replace ClampToI32/U16 with ClampTo<int32_t/uint16_t> 2023-05-06 21:26:13 +02:00
script_info.hpp Codechange: do not declare functions in blocks 2023-01-29 20:28:45 +01:00
script_info_dummy.cpp Change: Use gender-neutral pronouns 2021-05-15 10:16:48 +02:00
script_instance.cpp Change: Replace ScriptLog data array with std::deque. (#10770) 2023-05-06 14:54:58 +00:00
script_instance.hpp Change: Replace ScriptLog data array with std::deque. (#10770) 2023-05-06 14:54:58 +00:00
script_scanner.cpp Codechange: introduce StrEqualsIgnoreCase/StrCompareIgnoreCase to replace strcasecmp 2023-04-29 10:25:25 +02:00
script_scanner.hpp Fix #10073: Stop truncating output of list_ai and friends commands 2022-10-10 13:42:07 +01:00
script_storage.hpp Change: include fmt.h C++ headers in stdafx.h 2023-05-08 16:49:23 +02:00
script_suspend.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
squirrel.cpp Codechange: replace printf with PRINTF macros by fmt::format for scripts 2023-04-24 17:51:25 +02:00
squirrel.hpp Codechange: use string/fmt instead of printf for squirrel's PRINTFUNC 2023-04-24 17:51:25 +02:00
squirrel_class.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 2021-05-08 11:02:30 +01:00
squirrel_helper.hpp Cleanup: Unused alloca definitions and includes 2023-04-15 16:57:00 +01:00
squirrel_helper_type.hpp Change: include fmt.h C++ headers in stdafx.h 2023-05-08 16:49:23 +02:00
squirrel_std.cpp Cleanup: Unused alloca definitions and includes 2023-04-15 16:57:00 +01:00
squirrel_std.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00