Jonathan G Rennison
|
97e6f3062e
|
Adding of _t to (u)int types, and WChar to char32_t
See: eaae0bb5e
|
9 months ago |
Jonathan G Rennison
|
55d78a23be
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/3rdparty/squirrel/include/squirrel.h
# src/blitter/32bpp_sse_func.hpp
# src/bridge_map.h
# src/clear_map.h
# src/company_manager_face.h
# src/console_func.h
# src/core/bitmath_func.hpp
# src/core/endian_func.hpp
# src/core/random_func.hpp
# src/depot_map.h
# src/elrail_func.h
# src/fontcache.h
# src/industry_map.h
# src/map_func.h
# src/newgrf_spritegroup.h
# src/object_map.h
# src/rail.h
# src/rail_map.h
# src/road_func.h
# src/road_map.h
# src/saveload/saveload.h
# src/saveload/saveload_error.hpp
# src/settings_gui.cpp
# src/sl/oldloader.h
# src/sprite.h
# src/spritecache.h
# src/station_func.h
# src/station_map.h
# src/story_base.h
# src/strings_func.h
# src/tile_cmd.h
# src/tile_map.h
# src/tile_type.h
# src/town.h
# src/town_map.h
# src/tree_map.h
# src/tunnel_map.h
# src/tunnelbridge_map.h
# src/vehicle_func.h
# src/viewport_func.h
# src/void_map.h
# src/water.h
# src/water_map.h
# src/widget_type.h
|
9 months ago |
Rubidium
|
3a676a5af0
|
Codechange: replace static inline with static for non-class functions
|
9 months ago |
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
|
1 year ago |
Rubidium
|
580d0a6343
|
Codechange: make use of Tile in for all direct map accesses
|
2 years ago |
Jonathan G Rennison
|
29a1e49c28
|
Change various asserts to not be included in release builds
|
2 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
|
9e1e074c2b
|
Update existing assertions to log tile information where suitable
|
6 years ago |
rubidium
|
f3b79480ed
|
(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable
|
10 years ago |
rubidium
|
982f5a6aa2
|
(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable
|
10 years ago |
planetmaker
|
5c3891fe3c
|
(svn r26457) -Codechange: Remove unused parameter from SetIndustryCompleted
|
11 years ago |
planetmaker
|
2aa545a842
|
(svn r26457) -Codechange: Remove unused parameter from SetIndustryCompleted
|
11 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
|
c462611488
|
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
|
14 years ago |
rubidium
|
08a41c6ee5
|
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
|
14 years ago |
rubidium
|
5a7d6249af
|
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
|
14 years ago |
rubidium
|
4efa2efdbb
|
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
|
14 years ago |
rubidium
|
1d8b95b235
|
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
|
14 years ago |
rubidium
|
7f86dcca90
|
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
|
14 years ago |
rubidium
|
f09a74a996
|
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
|
15 years ago |
rubidium
|
398418b8fa
|
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
|
15 years ago |
rubidium
|
9467b7c6d6
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
rubidium
|
af8b516bff
|
(svn r18563) -Document: some industry related functions
|
15 years ago |
rubidium
|
6803672c88
|
(svn r18563) -Document: some industry related functions
|
15 years ago |
rubidium
|
310465da07
|
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
|
15 years ago |
rubidium
|
e8ddf001c8
|
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
|
15 years ago |
smatz
|
09e1ecc8ac
|
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
|
15 years ago |
smatz
|
ee685c8287
|
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
|
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 |
smatz
|
d495dc5dbc
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
16 years ago |
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
16 years ago |
smatz
|
e57699d8c0
|
(svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits
|
16 years ago |
smatz
|
e124aa8fd6
|
(svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits
|
16 years ago |
peter1138
|
a5913396f0
|
(svn r13982) -Fix (r13981): And then not enough was cleared...
|
16 years ago |
peter1138
|
1f4b89ff4b
|
(svn r13982) -Fix (r13981): And then not enough was cleared...
|
16 years ago |
peter1138
|
70e195126b
|
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
|
16 years ago |
peter1138
|
e434323d38
|
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
|
16 years ago |
frosch
|
6684bc12d5
|
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
|
16 years ago |
frosch
|
16c80d031c
|
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
|
16 years ago |
rubidium
|
3074bca136
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
17 years ago |
rubidium
|
6a9e77e079
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
17 years ago |
rubidium
|
8ebdfb258f
|
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
|
17 years ago |
rubidium
|
01e20c9140
|
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
|
17 years ago |
rubidium
|
be923601bf
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
17 years ago |
rubidium
|
5b49e75453
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
17 years ago |
skidd13
|
c0a2c0c23e
|
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
|
17 years ago |