Commit Graph

651 Commits

Author SHA1 Message Date
Michael Lutz
0f64ee5ce1 Codechange: Template DoCommandP to automagically reflect the parameters of the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
2021-12-16 22:28:32 +01:00
Michael Lutz
e740c24eb7 Codechange: Template DoCommand to automagically reflect the parameters of the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
2021-12-16 22:28:32 +01:00
Michael Lutz
996b16de70 Codechange: Use lambdas instead of CommandContainer to manage station picker commands. 2021-12-16 22:28:32 +01:00
Michael Lutz
4fc055d6e9 Codechange: Align parameter order of command callbacks to command handlers. 2021-12-16 22:28:32 +01:00
Michael Lutz
a38bbefe1b Codechange: Untangle command code, flags and error string for DoCommand*. 2021-12-16 22:28:32 +01:00
Michael Lutz
549caca39c Codechange: Move command arguments to the back of the networked command function calls. 2021-12-16 22:28:32 +01:00
Michael Lutz
b6933a2ebd Codechange: Move command arguments to the back of the DoCommand function call. 2021-12-16 22:28:32 +01:00
dP
760b4a16a6 Merge remote-tracking branch 'upstream/master' 2021-11-08 23:47:49 +03:00
dP
76f735ed58 Update to 12.1 2021-11-08 23:42:22 +03:00
dP
20dd0bb9bb Fix polyrail tool terra highlight getting stuck after closing tool 2021-10-31 03:57:18 +03:00
dP
56787e5e2c New highlight for terraforming mode of polyrail 2021-10-31 00:17:44 +03:00
dP
cf151cb7dc Fix terraform auto-levelling in multiplayer 2021-10-29 19:46:58 +03:00
dP
3bef49da29 Fix #11: Queue outgoing commands and don't send more than 2 per frame 2021-10-29 02:55:07 +03:00
dP
4082c7c787 Fix #10: Do not auto-terraform in polyrail remove mode 2021-10-23 19:57:18 +03:00
dP
ece06f8510 Hide polyrail auto-terraform mode behind a setting for now 2021-10-23 18:48:24 +03:00
Charles Pigott
0853c1979b Feature: Button to toggle showing advanced signal types (#9617) 2021-10-17 19:24:50 +01:00
dP
a4cfa46676 Fix windows compilation 2021-10-17 18:16:01 +03:00
dP
55ff297ee6 Improve autoterraforming for polyrail in multiplayer 2021-10-17 17:04:00 +03:00
dP
e7c6f27931 Use Fn modifier to flatten land for the polyrail 2021-10-16 04:44:44 +03:00
dP
f1f6bea47d Fix #9: Station rating popup crash 2021-10-03 23:00:15 +03:00
dP
cd2da419a5 Add CM_ prefix to all CityMania sprite constants and new icon for c&p 2021-09-28 23:15:50 +03:00
dP
239ff976da Merge remote-tracking branch 'upstream/master' 2021-09-27 19:53:01 +03:00
dP
4eb8b29dbf Update to 12.0-RC1 2021-09-26 20:30:12 +03:00
dP
09123ac84f Merge branch 'master' into blueprints 2021-09-21 23:48:34 +03:00
Tyler Trahan
7469f00c5b Feature: Hide block signals in GUI by default (#8688) 2021-09-05 20:22:27 +02:00
dP
28429e1f57 Reorganize CityMania client custom settings 2021-08-19 23:27:22 +03:00
dP
318cbbbc59 Fix compilation errors 2021-08-17 22:53:23 +03:00
dP
a38dc30bf6 Merge remote-tracking branch 'upstream/master' 2021-08-16 01:58:47 +03:00
dP
9df4f2c4fc Update to 12.0-beta1 2021-08-15 14:57:29 +03:00
glx22
5799402f7a Codechange: Rename window related DeleteXXX to match new behaviour 2021-05-29 21:08:25 +02:00
glx22
994bf19aef Fix f6d5c01: Delay deletion when closing windows 2021-05-29 21:08:25 +02:00
rubidium42
08308d808c Codechange: use separate pre and post callbacks for int settings 2021-05-29 10:07:30 +02:00
Pavel Stupnikov
6b30d9c457 Merge branch '1.11' into blueprints 2021-05-26 00:46:18 +03:00
rubidium42
44ca7d9377 Change: Use gender-neutral pronouns 2021-05-15 10:16:48 +02:00
Rubidium
bb9121dbd4 Fix: comparison of narrow type to wide type in loop (potential for infinite loops) 2021-05-15 10:16:10 +02:00
Peter Nelson
3b3d80c8ef Cleanup: Replace FOR_ALL_SORTED_RAILTYPES macro with range iterator. 2021-04-28 23:54:31 +01:00
Peter Nelson
2a0365b3d9 Cleanup: Remove unnecessary parameter of GetScrolledRowFromWidget()
Line height defaults to the resize height of the relevant widget, which is
set in all cases. Therefore it is not necessary to specify this value every time.

Additionally fixes scrolled padding for the framerate window.
2021-04-21 23:12:10 +02:00
dP
33f4c4996a Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-04-19 01:20:03 +03:00
dP
5881c752f5 Update to 1.11.1 2021-04-19 00:52:41 +03:00
dP
ce4b4712fd Fix win and macos compilation errors 2021-04-03 03:25:38 +03:00
Didac Perez Parera
e760c9fbec Fix: adjust object and rail station selection window padding to be consistent (#8929)
consistent
2021-04-02 10:15:26 +02:00
stormcone
c56e9a546d Add: Hotkey to focus the rail station class name filter editbox. 2021-04-02 10:12:47 +02:00
dP
93d8111960 Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-04-01 17:33:31 +03:00
dP
14f71187eb Merge branch 'master' into 1.11 2021-04-01 17:11:53 +03:00
dP
5253131d44 Update to 1.11.0 2021-04-01 17:02:53 +03:00
Koen Bussemaker
59bfed65a1 Fix #8875: Filter string in station window breaks flow in user interface 2021-03-25 16:19:18 +00:00
dP
a9d7d3d7c2 Add rotation hotkey for depot building window 2021-03-25 01:44:39 +03:00
dP
9a8216dc0c Add building preview for road depot 2021-03-25 01:40:30 +03:00
dP
1859af4a63 Merge branch 'master' into 1.11 2021-03-24 23:07:53 +03:00
dP
dc7c0e084d Fix station remove highlight 2021-03-20 20:55:35 +03:00