Jonathan G Rennison
|
97e6f3062e
|
Adding of _t to (u)int types, and WChar to char32_t
See: eaae0bb5e
|
2024-01-07 17:20:41 +00:00 |
|
Jonathan G Rennison
|
d5a7a67b8c
|
Merge branch 'master' into jgrpp
# Conflicts:
# .github/workflows/ci-build.yml
# src/ai/ai_gui.cpp
# src/blitter/32bpp_optimized.cpp
# src/blitter/32bpp_simple.cpp
# src/blitter/32bpp_sse2.cpp
# src/blitter/8bpp_optimized.cpp
# src/blitter/8bpp_simple.cpp
# src/blitter/null.cpp
# src/blitter/null.hpp
# src/company_gui.cpp
# src/game/game_gui.cpp
# src/genworld_gui.cpp
# src/gfx.cpp
# src/gfx_func.h
# src/graph_gui.cpp
# src/industry_gui.cpp
# src/linkgraph/linkgraphjob.cpp
# src/network/network_gui.cpp
# src/newgrf_debug_gui.cpp
# src/openttd.cpp
# src/pathfinder/npf/aystar.h
# src/road_gui.cpp
# src/saveload/order_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/script/api/script_log.cpp
# src/script/api/script_town.cpp
# src/script/script_gui.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/settings_table.cpp
# src/settings_type.h
# src/smallmap_gui.cpp
# src/sortlist_type.h
# src/spritecache.cpp
# src/spriteloader/grf.cpp
# src/spriteloader/grf.hpp
# src/spriteloader/spriteloader.hpp
# src/station_cmd.cpp
# src/station_cmd.h
# src/station_gui.cpp
# src/strings.cpp
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/town_gui.cpp
# src/vehicle_gui.cpp
# src/vehicle_gui_base.h
# src/video/opengl.cpp
# src/video/opengl.h
# src/widgets/dropdown.cpp
# src/widgets/dropdown_type.h
# src/window_gui.h
|
2023-12-23 13:26:55 +00:00 |
|
SamuXarick
|
fddcaef74a
|
Codechange: Use town zone constants instead of magic numbers
|
2023-12-18 22:12:43 +01:00 |
|
Peter Nelson
|
ab535c0a86
|
Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445)
This removes the ability to explicitly cast to the base type, but the requirement
to use .base() means the conversion is still explicit.
|
2023-11-06 20:29:35 +00:00 |
|
frosch
|
b6c8f301be
|
Codechange: Silence warnings about intentionally unused parameters.
|
2023-09-19 22:49:59 +02:00 |
|
Tyler Trahan
|
fca2b37726
|
Codechange: Move Ticks into their own class
|
2023-09-10 08:40:25 -04:00 |
|
Patric Stout
|
07730584d7
|
Codechange: make explicit when a TileIndex is cast to its basetype (#11190)
This prevents people accidentially assigning a TileIndex to a Date
or any other type they shouldn't.
|
2023-08-15 18:12:05 +02:00 |
|
Patric Stout
|
299570b2c1
|
Codechange: make TimerGameCalendar Date and Year types strongly typed (#10761)
|
2023-08-12 18:14:21 +00:00 |
|
Rubidium
|
eaae0bb5e7
|
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
|
2023-07-19 19:30:14 +02:00 |
|
Jonathan G Rennison
|
02549c5224
|
Merge branch 'master' into jgrpp
# Conflicts:
# cmake/CompileFlags.cmake
# src/cargomonitor.cpp
# src/core/CMakeLists.txt
# src/economy.cpp
# src/landscape.cpp
# src/linkgraph/flowmapper.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/linkgraph/linkgraphschedule.cpp
# src/misc_gui.cpp
# src/newgrf_generic.cpp
# src/newgrf_storage.cpp
# src/rail_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/station_sl.cpp
# src/script/script_gui.cpp
# src/station_cmd.cpp
# src/station_gui.cpp
# src/string_func.h
# src/terraform_cmd.cpp
|
2023-06-08 00:01:38 +01:00 |
|
Jonathan G Rennison
|
3a47b421b0
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/company_cmd.cpp
# src/core/overflowsafe_type.hpp
# src/economy.cpp
# src/engine_base.h
# src/ground_vehicle.cpp
# src/group_gui.cpp
# src/industry_cmd.cpp
# src/industry_gui.cpp
# src/newgrf_commons.cpp
# src/newgrf_engine.cpp
# src/newgrf_industries.cpp
# src/newgrf_object.cpp
# src/newgrf_roadstop.cpp
# src/newgrf_station.cpp
# src/rail_gui.cpp
# src/road_cmd.h
# src/road_gui.cpp
# src/saveload/afterload.cpp
# src/script/api/script_log.cpp
# src/script/api/script_log.hpp
# src/settings_gui.cpp
# src/settingsgen/settingsgen.cpp
# src/station_cmd.cpp
# src/station_cmd.h
# src/station_gui.cpp
# src/strgen/strgen.cpp
# src/string_func.h
# src/string_type.h
# src/table/settings/network_private_settings.ini
# src/tests/math_func.cpp
# src/textfile_gui.cpp
# src/timetable_gui.cpp
# src/town_cmd.cpp
# src/vehicle.cpp
# src/waypoint_cmd.cpp
# src/waypoint_cmd.h
# src/widgets/dropdown.cpp
|
2023-06-03 19:16:57 +01:00 |
|
Peter Nelson
|
e6740046ee
|
Codechange: Use range-for iteration.
|
2023-05-11 07:58:55 +01:00 |
|
Rubidium
|
19ec4e8beb
|
Codechange: replace ClampToI32/U16 with ClampTo<int32_t/uint16_t>
|
2023-05-06 21:26:13 +02:00 |
|
Jonathan G Rennison
|
64925aedf8
|
Add town variable for town tile X and Y coordinates
|
2023-04-13 21:19:53 +01:00 |
|
Jonathan G Rennison
|
9fd01d57cc
|
Rename town zone extended variable identifiers
|
2023-04-13 20:53:11 +01:00 |
|
Jonathan G Rennison
|
ae99f667b0
|
NewGRF: Add generic town callback to set town zone radii
|
2023-03-11 22:23:40 +00:00 |
|
Jonathan G Rennison
|
93c34775e4
|
NewGRF: Add town variables for uncapped house count, population and zone radii
Add feature name
|
2023-03-11 22:23:40 +00:00 |
|
Jonathan G Rennison
|
33dc6c9688
|
Add NewGRF VarAction2 variable remapping infrastructure
|
2022-01-24 02:01:09 +00:00 |
|
rubidium42
|
55a11710a6
|
Codechange: convert printf DEBUG statements to fmt Debug statements
|
2021-06-13 12:45:45 +02:00 |
|
Jonathan G Rennison
|
810bfd276e
|
Add several NewGRF variables to vehicle image callback whitelist
Add vehicle flags to control cached image invalidation
Various refactorings
|
2020-08-25 01:26:44 +01:00 |
|
Jonathan G Rennison
|
cbdd9f84d8
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/console_gui.cpp
# src/lang/korean.txt
# src/video/sdl2_v.cpp
# src/video/sdl2_v.h
# src/window.cpp
# src/window_gui.h
|
2019-11-12 18:43:10 +00:00 |
|
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
|
Jonathan G Rennison
|
674732cd68
|
Merge: Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-11 18:14:13 +01:00 |
|
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-10 23:22:20 +02:00 |
|
Jonathan G Rennison
|
ad1c402ad8
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/debug.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.cpp
# src/settings_type.h
# src/town_cmd.cpp
# src/window.cpp
|
2018-05-03 23:54:51 +01:00 |
|
Pavel Stupnikov
|
fef8b831a9
|
Change: Switch town growth rate and counter to actual game ticks (#6763)
|
2018-05-02 21:01:30 +02:00 |
|
Jonathan G Rennison
|
385a2552e9
|
Merge branch 'enhanced_viewport_overlay' into jgrpp
|
2018-03-11 22:21:39 +00:00 |
|
frosch
|
d9d669dcf8
|
(svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent.
|
2018-03-11 13:19:41 +00:00 |
|
frosch
|
29dca1be3b
|
(svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent.
|
2018-03-11 13:19:41 +00:00 |
|
patch-import
|
19dcbb1cb9
|
Import Picking and placing single houses in scenario editor patch
Minor whitespace fixes
http://www.tt-forums.net/viewtopic.php?f=33&t=68894&view=unread#p1099696
|
2015-08-03 21:29:13 +01:00 |
|
rubidium
|
2be4215f43
|
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
2014-04-23 20:13:33 +00:00 |
|
rubidium
|
0463dbdc9e
|
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
2014-04-23 20:13:33 +00:00 |
|
frosch
|
74916a103e
|
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
|
2013-12-23 18:09:29 +00:00 |
|
frosch
|
49852e3dac
|
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
|
2013-12-23 18:09:29 +00:00 |
|
frosch
|
6c63c98d7f
|
(svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL.
|
2013-11-24 14:41:19 +00:00 |
|
frosch
|
db894b0b3f
|
(svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL.
|
2013-11-24 14:41:19 +00:00 |
|
alberth
|
6c1ff5f772
|
(svn r24693) -Doc: Add some doxymentation into the newgrf code.
|
2012-11-10 20:46:39 +00:00 |
|
alberth
|
33ff55a8f1
|
(svn r24693) -Doc: Add some doxymentation into the newgrf code.
|
2012-11-10 20:46:39 +00:00 |
|
alberth
|
8a297ca5f1
|
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
|
2012-11-10 20:45:59 +00:00 |
|
alberth
|
4c9bea2a71
|
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
|
2012-11-10 20:45:59 +00:00 |
|
alberth
|
818332f3e8
|
(svn r24679) -Codechange: Add resolver classes for towns.
|
2012-11-10 20:38:46 +00:00 |
|
alberth
|
b985c4c0f8
|
(svn r24679) -Codechange: Add resolver classes for towns.
|
2012-11-10 20:38:46 +00:00 |
|
rubidium
|
76d5833650
|
(svn r24179) -Codechange: move some variables of Town to TownCache
|
2012-04-25 20:50:13 +00:00 |
|
rubidium
|
41e5c839e0
|
(svn r24179) -Codechange: move some variables of Town to TownCache
|
2012-04-25 20:50:13 +00:00 |
|
rubidium
|
d5eeab43b7
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
2012-01-03 21:32:51 +00:00 |
|
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
2012-01-03 21:32:51 +00:00 |
|
truebrain
|
b00fcef81a
|
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
|
2011-12-19 20:59:19 +00:00 |
|
truebrain
|
afcf07ac8a
|
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
|
2011-12-19 20:59:19 +00:00 |
|
truebrain
|
19791d3189
|
(svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
2011-11-23 16:05:19 +00:00 |
|
truebrain
|
229e572663
|
(svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
2011-11-23 16:05:19 +00:00 |
|