Commit Graph

53481 Commits

Author SHA1 Message Date
Jonathan G Rennison
3d59c961a6 VarAction2: Avoid group variable tracking coupling through shared procs
Output dependencies on a procedure shouldn't propagate into input
dependencies on unrelated call sites in different groups
2022-08-10 18:30:09 +01:00
Jonathan G Rennison
00e32162a1 VarAction2: Allow DSE to remove procedure calls 2022-08-10 00:04:32 +01:00
Jonathan G Rennison
30ecdfe140 VarAction2: Allow jumping over constant stores to special registers
Insert suitable store(s) after the end block
2022-08-09 22:53:50 +01:00
Jonathan G Rennison
3a8bd7a589 VarAction2: Allow jumps to skip over procedure calls if possible 2022-08-09 22:10:45 +01:00
Jonathan G Rennison
9ed5b6e65c Debug: Change sprite group indentation handling 2022-08-09 21:53:43 +01:00
Jonathan G Rennison
41f2e92f5c VarAction2: Add a NOOP operator 2022-08-09 21:36:03 +01:00
translators
be352ce1b6 Update: Translations from eints
catalan: 11 changes by J0anJosep
2022-08-09 18:54:56 +00:00
Jonathan G Rennison
57de709309 VarAction2: Add bit for whether variable 1C is an output 2022-08-09 18:56:47 +01:00
Jonathan G Rennison
e143ab06d8 VarAction2: Track which temp stores may be overwritten by procedures
Instead of treating procedures as an unpredictable store
2022-08-09 18:37:00 +01:00
Jonathan G Rennison
06cc71b6c5 VarAction2: Mark suitable AND ops as jump insertion candidates 2022-08-09 18:34:01 +01:00
translators
eb805b77b7 Update: Translations from eints
german: 1 change by SecretIdetity
2022-08-08 18:54:30 +00:00
Jonathan G Rennison
aa49e17e39 Remove road vehicles during load which are uncorrectably invalid 2022-08-07 20:00:40 +01:00
Jonathan G Rennison
bf618a3584 Debug: Add more stats to dump map and veh stats console commands 2022-08-07 19:34:03 +01:00
SamuXarick
374f0c7d11 Fix 6fe445e: Removing rail station parts without ctrl pressed was also removing tracks
The behaviour of holding ctrl key is swapped
2022-08-07 10:58:43 +02:00
Jonathan G Rennison
613c90e78f Fix GetClosestIndustry with invalid industry type when using cache 2022-08-07 00:11:52 +01:00
translators
6893135fef Update: Translations from eints
english (au): 536 changes by krysclarke
2022-08-06 18:54:39 +00:00
Jonathan G Rennison
bc920df63a Fix excessive braking for slopes with realistic braking
Unit conversion issue between potential and kinetic energies
2022-08-04 21:43:22 +01:00
translators
5a404a17ee Update: Translations from eints
korean: 1 change by telk5093
polish: 1 change by pAter-exe
2022-08-02 18:53:52 +00:00
translators
6b4fd01eeb Update: Translations from eints
italian: 1 change by Rivarossi
2022-08-01 18:59:48 +00:00
Jonathan G Rennison
0bddf96f7f VarAction2: Set variable for ABS op to avoid unused read from var 0 2022-08-01 18:27:21 +01:00
Jonathan G Rennison
f52e6cb8f2 Version: Committing version data for tag: jgrpp-0.48.1 2022-08-01 00:40:52 +01:00
Jonathan G Rennison
dc69957dcc VarAction2: Cache industry distances in CBID_INDUSTRY_LOCATION 2022-07-31 23:45:40 +01:00
Jonathan G Rennison
0e1e892ca8 VarAction2: Use masking for sub-parts of industry var 67
Ensure that distance and count can't overflow on very large maps
2022-07-31 23:45:40 +01:00
Jonathan G Rennison
0a99440166 Debug: Always use head for vehicle debug window name in caption 2022-07-31 20:25:32 +01:00
translators
b7462934e2 Update: Translations from eints
dutch: 1 change by Afoklala
2022-07-31 18:52:44 +00:00
Jonathan G Rennison
dbc55274e2 Debug: Show callback ID names in sprite dump 2022-07-31 19:28:35 +01:00
Jonathan G Rennison
7af568f0f0 VarAction2: Handle case where expensive vars are only conditionally read
Within a JZ_LV and in prior DSGAF_SKIP_ON_ZERO op
2022-07-31 00:16:40 +01:00
Jonathan G Rennison
9a4c31b0da VarAction2: Add last_value variants of JZ/JNZ ops 2022-07-30 23:32:23 +01:00
Jonathan G Rennison
cbc6199542 VarAction2: Add a JNZ op analogous to JZ for OR ops 2022-07-30 22:40:41 +01:00
Jonathan G Rennison
5ec802a3d4 VarAction2: Allow substituting perm store loads through temp store 2022-07-30 21:17:00 +01:00
Jonathan G Rennison
cbabbb6db6 Fix train braking behaviour when lookahead is aspect limited
When lookahead end is within the reservation end
2022-07-30 20:39:16 +01:00
Jonathan G Rennison
71b6d7a502 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/arabic_egypt.txt
#	src/station_cmd.cpp
#	src/station_cmd.h
#	src/timetable_cmd.cpp
#	src/train_cmd.cpp
2022-07-30 20:38:34 +01:00
translators
ccb9d99880 Update: Translations from eints
arabic (egypt): 13 changes by AviationGamerX
persian: 16 changes by pooyana84
finnish: 33 changes by lanurmi
2022-07-29 18:55:22 +00:00
translators
e3759931e7 Update: Translations from eints
english (us): 1 change by 2TallTyler
arabic (egypt): 62 changes by AviationGamerX
turkish: 1 change by ahmetlii
2022-07-28 18:56:27 +00:00
translators
97d79c8e52 Update: Translations from eints
spanish (mexican): 1 change by absay
catalan: 1 change by J0anJosep
2022-07-27 18:54:03 +00:00
Jonathan G Rennison
c6817fab6e Don't use implicit orders for conditional order waiting loops
Fixes vehicles never leaving when the only order is an implicit order
(because vehicles were released with no orders)
2022-07-26 20:35:12 +01:00
translators
d1d7e47896 Update: Translations from eints
russian: 1 change by Ln-Wolf
portuguese: 1 change by azulcosta
2022-07-25 18:56:07 +00:00
Jonathan G Rennison
70ef4c6d90
Merge pull request #407 from auge8472/lang-de
Translated most of the missing strings for German language, stand jgrpp 0.48.0
2022-07-25 18:14:34 +01:00
translators
77a8e3b649 Update: Translations from eints
polish: 1 change by pAter-exe
2022-07-24 18:55:01 +00:00
Heiko August
12aa409332 Change: translated most of the missing strings for German language 2022-07-24 19:38:07 +02:00
Nicolas Chappe
6d154e72dd Fix #8584: Vehicles with shared orders getting invalid or unexpected start dates 2022-07-24 09:28:01 +02:00
translators
67608350b6 Update: Translations from eints
finnish: 45 changes by lanurmi
portuguese (brazilian): 29 changes by rodigu
2022-07-23 18:52:50 +00:00
Jonathan G Rennison
67331fe946
Fix #9951: Scenario editor random industries button and persistent storage (#9952)
BasePersistentStorageArray::SwitchMode was not called
2022-07-21 16:21:38 +01:00
translators
8f772352ce Update: Translations from eints
italian: 1 change by Rivarossi
2022-07-20 18:57:16 +00:00
translators
b199779ad4 Update: Translations from eints
chinese (simplified): 26 changes by ZZY2357
korean: 1 change by telk5093
2022-07-19 18:55:56 +00:00
Jonathan G Rennison
0735c4b851 Ensure that disabling infra sharing can't break realistic braking reservations 2022-07-15 21:48:41 +01:00
Jonathan G Rennison
856cea576f Fix infrastructure sharing checks not being executed when disabling 2022-07-15 21:48:41 +01:00
Jonathan G Rennison
27d4900fde Fix text colour for infrastructure sharing error messages 2022-07-15 21:38:57 +01:00
Jonathan G Rennison
dc01d0cac4 Handle case where deleting a company removes part of a train's reservation
When realistic braking is enabled, which would ordinarily prevent
the track from being removed
2022-07-15 17:47:11 +01:00
Jonathan G Rennison
ed737e1a8f VarAction2: Do not remove redundant adjusts when this would break var 1C 2022-07-14 23:57:23 +01:00