Commit Graph

266 Commits

Author SHA1 Message Date
Michael Lutz
123c7f99c3 Codechange: Move command callback declarations to the cmd header files. 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
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
Loïc Guilloux
ddb6024bc6 Codechange: Don't explicitly unset _generating_world outside of genworld.cpp (#9418) 2021-07-10 14:59:17 +02:00
glx22
5799402f7a Codechange: Rename window related DeleteXXX to match new behaviour 2021-05-29 21:08:25 +02:00
glx22
38c97e1492 Codechange: Replace TILE_AREA_LOOP with range-based for loops 2021-05-13 00:13:54 +02:00
dP
1859af4a63 Merge branch 'master' into 1.11 2021-03-24 23:07:53 +03:00
dP
5d512a4445 Add tool type to _thd when placing objects 2021-03-19 22:23:23 +03:00
dP
c36ef2b3f3 Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-03-15 20:11:52 +03:00
dP
595606287d Update to 1.11.0-RC1 2021-03-15 12:57:26 +03:00
frosch
d9b4413bc9 Codechange: rename sound ids to make more sense. (#8701) 2021-02-20 19:01:04 +01:00
dP
c47930887b Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-01-25 22:53:44 +03:00
dP
5e4506f493 Update to 1.11.0-beta1 2021-01-23 17:31:11 +03:00
Charles Pigott
9b800a96ed Codechange: Remove min/max functions in favour of STL variants (#8502) 2021-01-08 11:16:18 +01:00
dP
7441767ed8 Make modifier key functions configurable 2020-07-13 01:35:07 +03:00
dP
1492a22027 Update to 1.10.0-beta2 2020-01-06 19:06:51 +03:00
dP
c7c3966eec Update to 1.10.0-beta2 2020-01-06 18:49:34 +03:00
glx
ddabfed1cd Codechange: Replace station related FOR_ALL with range-based for loops 2019-12-21 20:13:03 +01:00
glx
3a14cea068 Codechange: Replace FOR_ALL_COMPANIES with range-based for loops 2019-12-21 20:13:03 +01:00
S. D. Cloudt
13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
dP
ceea4c88be Merge 1.10.0-beta1 2019-11-01 16:08:44 +03:00
dP
599ccf0c2b Update to 1.10.0-beta1 2019-10-31 22:24:28 +03:00
dP
b84a475e14 Initialize with OpenTTD 1.9.3 2019-10-31 21:58:04 +03:00
Pavel Stupnikov
95a6ff73cb Update to 1.9.3-RC1 2019-09-08 02:37:38 +03:00
Pavel Stupnikov
5131281a31 Update to 1.9.3-RC1
--HG--
branch : openttd
2019-09-08 02:22:38 +03:00
glx22
b3fd787959 Fix #7188: check the validity of command callback for scripts (#7701) 2019-09-07 17:37:01 +01:00
Henry Wilson
7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
Pavel Stupnikov
323f6d55c6 Merge treedozer and fix identations 2019-04-01 13:02:19 +03:00
Hexus_One
3a38d35627 Added hotkey
Code: treedozer, default: GLOBAL+CTRL+D
Bug: Measurement tooltip persists until closing the terraform toolbar, or until some other action displays a tooltip (including selecting another region for treedozing).

--HG--
branch : feature/treedozer
2019-04-01 01:36:31 +11:00
Hexus_One
f109270cd0 Added tooltip and localisation for English (and English_AU and English_US).
--HG--
branch : feature/treedozer
2019-04-01 01:21:19 +11:00
Hexus_One
6faabbf3ee Treedozer treats clear tiles as don't-care, so less commands are sent :)
--HG--
branch : feature/treedozer
2019-03-27 04:02:57 +11:00
Hexus_One
aa26258a90 Added treedozer tool (as a hack, so network-compatible) to demolish only trees from a given selection.
TODO: Find an algorithm to send less commands at once?

--HG--
branch : feature/treedozer
2019-03-26 22:33:46 +11:00
peter1138
317f69c152 Codechange: Use override specifier in Window-derived classes. 2019-03-24 16:10:04 +01:00
Pavel Stupnikov
2bda8d4f34 Update to OpenTTD 1.9.0-beta2
--HG--
branch : openttd
2019-02-13 15:17:23 +03:00
Pavel Stupnikov
42ec3bd611 Update to 1.8.0
--HG--
branch : openttd
2018-04-06 21:26:22 +03:00
frosch
b4b98e5165 (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 2017-08-13 18:38:42 +00:00
Pavel Stupnikov
3433ae02f4 Update openttd to 1.7.0-RC1
--HG--
branch : openttd
2017-03-12 16:41:12 +03:00
frosch
9aa33862a7 (svn r27571) -Codechange: Consistent naming for command callbacks which play a sound effect. 2016-05-22 10:07:48 +00:00
Pavel Stupnikov
5c9ef5a264 update to 1.6.0
--HG--
branch : openttd
2016-04-02 00:50:09 +03:00
alberth
4cbfe940cb (svn r27397) -Fix(r27346)[FS#6370]: Fix object editing crash in scenario editor (based on work by adf88) 2015-09-13 12:04:47 +00:00
alberth
4f49d636c1 (svn r27346) -Feature: Make the object placement gui an independent window. 2015-07-28 18:20:54 +00:00
Pavel Stupnikov
d201932121 openttd updated to 1.5.0-beta2
--HG--
branch : openttd
2015-03-01 00:30:53 +03:00
frosch
a8080b6256 (svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad(). 2015-02-01 20:54:24 +00:00
alberth
edea2ce96d (svn r27084) -Doc: Improve documentation of AllocateWindowDescFront. 2014-12-18 16:50:11 +00:00
peter1138
a573b94867 (svn r26961) -Codechange: GUI-scale for landscape editor terraform window. 2014-10-05 14:01:44 +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