Jonathan G Rennison
97e6f3062e
Adding of _t to (u)int types, and WChar to char32_t
...
See: eaae0bb5e
5 months ago
Jonathan G Rennison
d09b504bc5
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release-linux.yml
# .github/workflows/release-macos.yml
# .github/workflows/release-source.yml
# .github/workflows/release.yml
# CMakeLists.txt
# COMPILING.md
# src/ai/ai_core.cpp
# src/ai/ai_gui.cpp
# src/bridge_gui.cpp
# src/company_gui.cpp
# src/console_cmds.cpp
# src/core/CMakeLists.txt
# src/core/smallmap_type.hpp
# src/disaster_vehicle.h
# src/effectvehicle_base.h
# src/fontcache.cpp
# src/game/game_core.cpp
# src/game/game_gui.cpp
# src/gamelog.cpp
# src/gamelog_internal.h
# src/group_gui.cpp
# src/linkgraph/linkgraph.h
# src/misc.cpp
# src/network/core/config.h
# src/network/core/udp.cpp
# src/network/network_chat_gui.cpp
# src/network/network_content_gui.cpp
# src/network/network_gui.cpp
# src/newgrf.cpp
# src/newgrf_gui.cpp
# src/newgrf_profiling.cpp
# src/newgrf_profiling.h
# src/object_gui.cpp
# src/openttd.cpp
# src/openttd.h
# src/order_gui.cpp
# src/os/windows/font_win32.cpp
# src/rail_gui.cpp
# src/road.cpp
# src/road_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.h
# src/script/api/script_controller.cpp
# src/script/api/script_roadtypelist.cpp
# src/script/script_config.cpp
# src/script/script_config.hpp
# src/script/script_instance.cpp
# src/script/script_scanner.cpp
# src/script/squirrel.cpp
# src/script/squirrel_helper.hpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/settings_type.h
# src/table/settings/network_private_settings.ini
# src/timetable_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/window_gui.h
12 months ago
Rubidium
e035705239
Codechange: introduce and use std::string variant of sq_throwerror
1 year ago
Rubidium
5733142b0d
Codechange: use string/fmt instead of printf for Squirrel's Raise_Error
1 year ago
Jonathan G Rennison
2b5456a664
Squirrel: Change SQRefCounted allocator to avoid undefined behaviour
2 years ago
Rubidium
281a65b3e1
Cleanup: simplify some boolean expressions
3 years ago
Rubidium
a9774f3e34
Cleanup: [Squirrel] Use nullptr instead of 0 or NULL
3 years ago
rubidium
ac6312d33c
(svn r27605) -Fix: GCC 6 warning about misleading indentation
8 years ago
rubidium
5ed8ac8a81
(svn r27233) -Fix [FS#6272]: crash when no AIs were installed due to improper handling of non-ASCII characters by the string pointer lexer
9 years ago
rubidium
771dcf3b7b
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
10 years ago
rubidium
1685118169
(svn r26840) -Fix [Squirrel]: merge Init and constructor of SQSharedState
10 years ago
rubidium
12bd7532ba
(svn r26833) -Fix [Squirrel]: remove a few bits of dead code
10 years ago
rubidium
5cec030d4d
(svn r26832) -Fix [Squirrel]: ensure instance variable of SQNativeClosure is properly initialized
10 years ago
rubidium
f41b4a8e1b
(svn r26784) -Codechange [Squirrel]: use WChar for the lexer
10 years ago
rubidium
eb52e65bec
(svn r26777) -Codechange: use safe string functions in squirrel code as well, and prevent using the ones that are deemed unsafe
10 years ago
rubidium
e63ca12ab8
(svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper defines
10 years ago
rubidium
33ab505567
(svn r26774) -Cleanup [Squirrel]: remove _SC macro
10 years ago
truebrain
0c2bbdde5c
(svn r23383) -Update: bring Squirrel to 2.2.5; besides some nice bug fixes, it mostly solves the sort() issues
13 years ago
yexo
ca6c4ee98a
(svn r17498) -Add [NoAI]: Enable the squirrel std math library
15 years ago
yexo
b9536e933f
(svn r17283) -Cleanup [Squirrel]: remove a few unneeded changes to squirrel code
15 years ago
yexo
a4afa140f3
(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand / Sleep instead of just printing an error message in the AI Debug Window
15 years ago
yexo
03d711add3
(svn r17195) -Update: squirrel to 2.2.3 stable
15 years ago
yexo
13c69b897e
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
15 years ago
yexo
4ea3e511bd
(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
...
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
15 years ago
rubidium
e3c5bc8d2e
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
15 years ago
rubidium
1ad50ce4e6
(svn r15578) -Change: unexternalise squirrel.
16 years ago