Cyprian Klimaszewski
add6521abd
Doc: Update information for receiving a copy of GPL. ( #14869 )
2025-12-08 22:26:18 +05:00
Peter Nelson
2608ff2bac
Change: Scale towns/industries by amount of land tiles. ( #10063 )
2025-12-08 20:00:07 +05:00
dP
8404c2a7cc
Merge remote-tracking branch 'upstream/master'
2025-09-28 02:33:49 +05:00
dP
f0f93c68ca
Merge remote-tracking branch 'upstream/master'
2025-06-14 17:01:17 +05:00
dP
df3a6e321f
Merge remote-tracking branch 'upstream/master'
2025-05-14 18:41:13 +05:00
frosch
ff2da0fc73
Codechange: Remove CircularTileSearch.
2025-04-20 12:50:45 +02:00
frosch
0dada5a750
Codechange: Add SpiralTileSequence to iterate over a tile area the same ways as CircularTileSearch.
2025-04-20 12:50:45 +02:00
Rubidium
02f040b22a
Codechange: remove unused alloc_func.hpp includes
2025-02-24 20:00:19 +01:00
Jonathan G Rennison
d06b371254
Cleanup: Fix various spelling errors
2025-02-12 22:44:51 +01:00
Rubidium
3a7cfafe51
Codechange: use std::unique_ptr over CallocT for tiles
2025-01-13 23:13:53 +01:00
dP
a86fd7c621
Update to 15.0-beta1
2024-12-25 20:34:06 +05:00
SamuXarick
10e2d1ca36
Codechange: Use Map::Iterate() to iterate tiles
2024-12-06 10:33:11 +10:00
Rubidium
38c9eb76a0
Codechange: add and use TileOffsByAxis(...) over TileOffsByDir(DiagDirToAxis(...))
2024-10-23 18:19:17 +02:00
Rubidium
df461b0329
Codechange: simplify TileAdd by using simple asserts
2024-03-10 15:50:24 +01:00
dP
cdd69a496d
Fix compilation errors
2024-02-06 20:35:28 +05:30
dP
645bfaffbd
Merge remote-tracking branch 'upstream/master'
2024-02-04 22:50:08 +05:30
dP
33ef333b57
Update to 14.0-beta1
2024-02-04 02:18:17 +05:30
Kuhnovic
b38d3c2208
Change: simplified water region evaluation, removed savegame data ( #11750 )
2024-01-21 20:56:50 +00:00
Peter Nelson
da2d21f5b0
Fix: Left-over printf-style format passed to fmt. ( #11584 )
2023-12-14 19:35:35 +00:00
Peter Nelson
ab535c0a86
Codechange: Add base() method to StrongType to allow access to the base type without casting. ( #11445 )
...
This removes the ability to explicitly cast to the base type, but the requirement
to use .base() means the conversion is still explicit.
2023-11-06 20:29:35 +00:00
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
2023-07-19 19:30:14 +02:00
Rubidium
5e9a1eb790
Codechange: use fmt::format to construct error message
2023-06-07 08:02:58 +02:00
Rubidium
275ebf4509
Codechange: replace fprintf(<FILE*> with fmt::print(<FILE*>
2023-05-21 15:12:02 +02:00
Rubidium
f74e26ca7e
Codechange: replace error/usererror printf variant with fmt variant and rename
2023-04-25 17:55:09 +02:00
Rubidium
1eefe1c3a0
Codechange: hide Tile(Extended) into the Tile structure
2023-02-28 07:11:48 +01:00
Rubidium
7a1816a6cd
Codechange: rename Tile to TileBase to be able to introduce a new Tile class
2023-02-28 07:11:48 +01:00
Rubidium
7cdc23fd64
Codechange: hide the map's size related fields in the Map structure
2023-01-21 17:11:40 +01:00
Rubidium
de6bc8e692
Codechange: move TILE_MASK to Map::WrapToMap
2023-01-21 17:11:40 +01:00
Rubidium
fe2bcd2a58
Codechange: migrate size related functions to Map structure
2023-01-21 17:11:40 +01:00
Rubidium
d481f78b24
Codechange: add map size related functions to Map structure
2023-01-21 17:11:40 +01:00
Pavel Stupnikov
f3ecdf6f7f
Merge remote-tracking branch 'upstream/master' into 13.0
2022-11-26 22:16:25 +04:00
Pavel Stupnikov
be23283677
Update to 13.0-beta1
2022-11-23 14:30:36 +04:00
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.
2021-12-16 22:28:32 +01: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
rubidium42
55a11710a6
Codechange: convert printf DEBUG statements to fmt Debug statements
2021-06-13 12:45:45 +02: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
eaa4fb477f
Add cm_ prefix to all citymania source files
2020-07-31 16:23:39 +03:00
Pavel Stupnikov
20f19618cf
Rename citymania zoning to highlight
2020-02-07 01:49:43 +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
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
dP
43a21e96f4
Improve town zones outer highlight speed and visuals
2019-11-04 02:27:37 +03: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
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
Pavel Stupnikov
2bda8d4f34
Update to OpenTTD 1.9.0-beta2
...
--HG--
branch : openttd
2019-02-13 15:17:23 +03:00