Jonathan G Rennison
c4e2175cc9
Merge branch 'master' into jgrpp
2 years ago
Joan Josep
bcf26f8ec0
Doc: Fix some spelling mistakes (to->two, tileindex->TileIndex). ( #9857 )
3 years ago
Michael Lutz
b0990fcff7
Codechange: Make TileIndex a "strong" typedef to give it a distinct type.
...
This is accomplished by changing it to a single member struct with the
appropriate operator overloads to make it all work with not too much
source modifications.
3 years ago
Jonathan G Rennison
55620ff162
Add general function for checking size of contiguous tile area
3 years ago
Andreas Schmitt
150e502cf9
Add generation of public roads linking towns
3 years ago
Jonathan G Rennison
737ced9f50
Merge branch 'master' into jgrpp
4 years ago
TechGeekNZ
716c883737
Fix: Globally apply preprocessor directive coding style
...
Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
4 years ago
Jonathan G Rennison
b07a1f8426
Fix possible incorrect tile index in FindNearestHangar
...
See also: https://github.com/OpenTTD/OpenTTD/issues/7619
5 years ago
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
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Jonathan G Rennison
09edd07003
Add utility function: TileAddSaturating
5 years ago
Jonathan G Rennison
5661763d6a
Merge branch 'crashlog_improvements' into jgrpp
6 years ago
Jonathan G Rennison
7f027f8dca
Add tile info dump function and assert variants
6 years ago
Jonathan G Rennison
e1fb35b16f
Fix undefined behaviour when left-shifting negative values by casting to unsigned
...
This silences warning spam from UndefinedBehaviorSanitizer.
6 years ago
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
7 years ago
Joan Josep
944f785be8
Fix: Spelling errors ( #6769 )
7 years ago
Pavel Stupnikov
8d8b9a026a
Feature #6610 : Allow towns to build houses on road turns ( #6758 )
7 years ago
Jonathan G Rennison
f27ca88596
Show error message instead of aborting when loading an invalid map size.
9 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
9fc2798baf
(svn r22411) -Document: another bunch of bits
14 years ago
rubidium
fb5ecb9499
(svn r22411) -Document: another bunch of bits
14 years ago
rubidium
ec4f688ca0
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
rubidium
6327f2b745
(svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit
14 years ago
rubidium
cdd35c6a51
(svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit
14 years ago
rubidium
26718abaf4
(svn r21470) -Codechange: add method to get the distance from the edge in a given direction
14 years ago
rubidium
7cf40e5d25
(svn r21470) -Codechange: add method to get the distance from the edge in a given direction
14 years ago
rubidium
1c83b21e90
(svn r20282) -Codechange: add some spaces where they should've been
14 years ago
rubidium
4871baf44d
(svn r20282) -Codechange: add some spaces where they should've been
14 years ago
frosch
a4413f4cf6
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
15 years ago
frosch
2e90f7f8b9
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
15 years ago
rubidium
e48416ad4e
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
15 years ago
rubidium
3e131e2fec
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
15 years ago
rubidium
3de085a143
(svn r18683) -Fix: it's not an other
15 years ago
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
30d9e54279
(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
15 years ago
rubidium
2ec12a3f58
(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
15 years ago
smatz
aae77c67cb
(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster
16 years ago
smatz
5e1c59c3de
(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster
16 years ago
smatz
8786c8792d
(svn r16551) -Codechange: use shift instead of multiplication in TileXY()
16 years ago
smatz
d6996c110a
(svn r16551) -Codechange: use shift instead of multiplication in TileXY()
16 years ago
smatz
6ba1c691ad
(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults
16 years ago
smatz
ec78a39f9e
(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults
16 years ago
rubidium
a963f5c91d
(svn r16138) -Codechange: move GetClosestWaterDistance to map*
16 years ago
rubidium
00ed8c6f27
(svn r16138) -Codechange: move GetClosestWaterDistance to map*
16 years ago
frosch
25b70e8c0d
(svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it.
16 years ago
frosch
d452a0a0ec
(svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it.
16 years ago