Jonathan G Rennison
7f6b1d6b94
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/company_cmd.cpp
# src/company_func.h
# src/core/overflowsafe_type.hpp
# src/engine.cpp
# src/music/midifile.cpp
# src/network/network_command.cpp
# src/newgrf_debug_gui.cpp
# src/newgrf_roadstop.h
# src/newgrf_spritegroup.cpp
# src/os/macosx/crashlog_osx.cpp
# src/os/unix/crashlog_unix.cpp
# src/pathfinder/yapf/yapf_common.hpp
# src/road_gui.cpp
# src/saveload/engine_sl.cpp
# src/script/api/script_depotlist.cpp
# src/script/api/script_roadtypelist.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/strings.cpp
# src/table/settings/game_settings.ini
9 months ago
Rubidium
e3f49ee7a0
Codechange: coding style fixes
9 months ago
Jonathan G Rennison
e680cffb6d
Debug: Add more details flag inside SpriteGroupDumper
9 months ago
Jonathan G Rennison
5b6c0c1f2e
Debug: Change interfaces using SpriteGroupDumper
...
Pass SpriteGroupDumper ref instead of print function
Make use_shadows non-static
9 months ago
Jonathan G Rennison
f532970014
VarAction2: Add extra DSG flag for early exit when executing CBs
...
For when some branches of a non CB switch DSG contain CB switches,
but some don't and so would end up on the graphics chain, as there is
no further CB switch to exit at
10 months ago
Jonathan G Rennison
0d4d4a9cac
Merge branch 'master' into jgrpp
...
# Conflicts:
# cmake/CompileFlags.cmake
# src/3rdparty/squirrel/squirrel/sqclosure.h
# src/3rdparty/squirrel/squirrel/sqobject.h
# src/3rdparty/squirrel/squirrel/sqvm.h
# src/aircraft.h
# src/airport_gui.cpp
# src/blitter/32bpp_sse_func.hpp
# src/blitter/null.hpp
# src/bridge_gui.cpp
# src/build_vehicle_gui.cpp
# src/cargotype.h
# src/cheat_gui.cpp
# src/command.cpp
# src/command_func.h
# src/company_gui.cpp
# src/console_gui.cpp
# src/date_gui.cpp
# src/depot_gui.cpp
# src/dock_gui.cpp
# src/economy.cpp
# src/error_gui.cpp
# src/fileio.cpp
# src/fios.cpp
# src/fios_gui.cpp
# src/fontcache/spritefontcache.h
# src/framerate_gui.cpp
# src/game/game_text.cpp
# src/gamelog.cpp
# src/genworld_gui.cpp
# src/gfx_layout_fallback.cpp
# src/group_gui.cpp
# src/highscore_gui.cpp
# src/hotkeys.cpp
# src/industry_cmd.cpp
# src/industry_gui.cpp
# src/landscape.cpp
# src/main_gui.cpp
# src/misc_cmd.cpp
# src/misc_gui.cpp
# src/network/core/tcp_game.cpp
# src/network/core/udp.cpp
# src/network/network_chat_gui.cpp
# src/network/network_content_gui.cpp
# src/network/network_gui.cpp
# src/network/network_server.cpp
# src/network/network_server.h
# src/newgrf_airport.cpp
# src/newgrf_airport.h
# src/newgrf_airporttiles.cpp
# src/newgrf_airporttiles.h
# src/newgrf_animation_base.h
# src/newgrf_canal.cpp
# src/newgrf_commons.h
# src/newgrf_config.cpp
# src/newgrf_debug_gui.cpp
# src/newgrf_engine.cpp
# src/newgrf_engine.h
# src/newgrf_generic.cpp
# src/newgrf_gui.cpp
# src/newgrf_house.cpp
# src/newgrf_house.h
# src/newgrf_industries.cpp
# src/newgrf_industries.h
# src/newgrf_industrytiles.cpp
# src/newgrf_industrytiles.h
# src/newgrf_object.cpp
# src/newgrf_object.h
# src/newgrf_railtype.cpp
# src/newgrf_railtype.h
# src/newgrf_roadstop.cpp
# src/newgrf_roadstop.h
# src/newgrf_roadtype.cpp
# src/newgrf_roadtype.h
# src/newgrf_spritegroup.cpp
# src/newgrf_spritegroup.h
# src/newgrf_station.cpp
# src/newgrf_station.h
# src/newgrf_town.cpp
# src/newgrf_town.h
# src/news_gui.cpp
# src/object_gui.cpp
# src/order_gui.cpp
# src/os/macosx/crashlog_osx.cpp
# src/os/unix/crashlog_unix.cpp
# src/os/windows/crashlog_win.cpp
# src/os/windows/win32.cpp
# src/os/windows/win32_main.cpp
# src/pathfinder/npf/npf.cpp
# src/pathfinder/npf/queue.cpp
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/road_gui.cpp
# src/roadveh.h
# src/saveload/saveload.cpp
# src/screenshot.cpp
# src/script/api/script_text.hpp
# src/settings.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/settings_table.cpp
# src/signs_cmd.cpp
# src/signs_gui.cpp
# src/smallmap_gui.cpp
# src/smallmap_gui.h
# src/spriteloader/grf.hpp
# src/station_cmd.cpp
# src/station_gui.cpp
# src/station_map.h
# src/statusbar_gui.cpp
# src/stdafx.h
# src/strgen/strgen.cpp
# src/table/newgrf_debug_data.h
# src/terraform_gui.cpp
# src/timer/timer_game_calendar.cpp
# src/timer/timer_window.cpp
# src/town.h
# src/town_cmd.cpp
# src/town_gui.cpp
# src/train_gui.cpp
# src/transparency_gui.cpp
# src/vehicle_gui.cpp
# src/water_cmd.cpp
# src/waypoint_cmd.cpp
# src/widget.cpp
# src/widget_type.h
# src/widgets/dropdown.cpp
# src/widgets/rail_widget.h
# src/widgets/terraform_widget.h
# src/window.cpp
# src/window_gui.h
11 months ago
frosch
b6c8f301be
Codechange: Silence warnings about intentionally unused parameters.
1 year ago
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
1 year ago
Jonathan G Rennison
f7964cb3aa
Add function to get name of extended variable ID
...
Add table for internal variable IDs which aren't mappable externally
1 year ago
Jonathan G Rennison
5718730d68
VarAction2: Add support for more varaction2 types
...
Add CB failure and deterministic relative types
2 years ago
Jonathan G Rennison
57c5cc32d0
VarAction2: Improve handling of feature changes with parent scopes
2 years ago
Jonathan G Rennison
76648b9dca
Debug: Show name of extended variables referenced via variable 0x7B
2 years ago
Jonathan G Rennison
eec398013e
Debug: Show error groups in sprite dump in more detail mode
2 years ago
Jonathan G Rennison
9bc5f69a19
Debug: Deduplicate child groups for randomised sprite groups in sprite dump
2 years ago
Jonathan G Rennison
0e5a09974a
VarAction2: Fix detection of callback handlers which don't inspect var C
2 years ago
Jonathan G Rennison
bf82ace0c5
Debug: Dump full contents of tile layout sprite groups
...
Fix parent/child type of register dumping
2 years ago
Jonathan G Rennison
094ef834a4
Debug: Add highlight support for perm storage registers
2 years ago
Jonathan G Rennison
c2ede2af54
VarAction2: Allow inlining trivial procedures
2 years ago
Jonathan G Rennison
77f25a48a9
Only show/use appropriate parent or child registers in tile layout group
...
Do not use both
2 years ago
Jonathan G Rennison
602ac717aa
Initial support for DSE and jumping over procedures with child groups
2 years ago
Jonathan G Rennison
173f867e1a
VarAction2: Save calculated_result in shadow group struct
2 years ago
Jonathan G Rennison
14de8c7f34
VarAction2: Add quick exit case to last-level callback groups if possible
2 years ago
Jonathan G Rennison
a0c894d067
Debug: Add a visual indicator in indent for var 0x7E procedure calls
2 years ago
Jonathan G Rennison
680e074a5f
Debug: Fix sprite dumping of top level default group
2 years ago
Jonathan G Rennison
e584ef7bba
Move NewGRF analysis to separate files
2 years ago
Jonathan G Rennison
9ed5b6e65c
Debug: Change sprite group indentation handling
2 years ago
Jonathan G Rennison
41f2e92f5c
VarAction2: Add a NOOP operator
2 years ago
Jonathan G Rennison
dbc55274e2
Debug: Show callback ID names in sprite dump
2 years ago
Jonathan G Rennison
9a4c31b0da
VarAction2: Add last_value variants of JZ/JNZ ops
2 years ago
Jonathan G Rennison
cbc6199542
VarAction2: Add a JNZ op analogous to JZ for OR ops
2 years ago
Jonathan G Rennison
759b00262e
VarAction2: Allow more than one JZ to end on the same end block adjust
2 years ago
Jonathan G Rennison
229613b06a
VarAction2: Resolve jumps in advance to avoid needing to track nesting
2 years ago
Jonathan G Rennison
387e646439
VarAction2: Add group flag for whether to run jump insert pass
2 years ago
Jonathan G Rennison
3714fad790
VarAction2: Fix jump insertion using mul with bool as last value
2 years ago
Jonathan G Rennison
13fcde9ea0
VarAction2: Add a JZ operation, use for ternary style mul masking
2 years ago
Jonathan G Rennison
77963c5e64
Debug: Add misc_debug bit for extra detail in sprite group dump
2 years ago
Jonathan G Rennison
65236bacc7
Debug: Fix crash when dumping null sprite group
2 years ago
Jonathan G Rennison
34cd547325
Debug: Show if action 2s have been modified by action 6 in debug window
2 years ago
Jonathan G Rennison
6214d0d20d
VarAction2: Add an ABS opcode
2 years ago
Jonathan G Rennison
4553c22cee
Debug: Move DeterministicSpriteGroupAdjust dumping to separate function
2 years ago
Jonathan G Rennison
45798fa533
Debug: Add scroll to sprite number to debug window
2 years ago
Jonathan G Rennison
65407210a6
VarAction2: Allow DSGA_OP_STO_NC to be used with DSGA_TYPE_EQ/NEQ
2 years ago
Jonathan G Rennison
86324e0fda
Debug: Add mode to sprite dump window to show unoptimised
2 years ago
Jonathan G Rennison
e41a5d2f63
VarAction2: Add flags to skip adjust if value is 0 or LSB set
2 years ago
Jonathan G Rennison
9b0a7ac85e
Debug: Don't unnecessarily show numeric value of adjust operator
2 years ago
Jonathan G Rennison
7a61b5d820
VarAction2: Cache refit capacity callback results which depend only on cargo
2 years ago
Jonathan G Rennison
a9ca89d0f8
VarAction2: Move cb_result_found to a flags var in AnalyseCallbackOperation
2 years ago
Jonathan G Rennison
f5f48e89dc
Debug: Show all sprite groups for vehicles in debug window
2 years ago
Jonathan G Rennison
c3bc05f7b9
VarAction2: Add access to variable 1A to inline/fast path switch
2 years ago
Jonathan G Rennison
cf640cc0cf
Debug: Add sprite group collapsing to sprite group dump window
2 years ago