Rubidium
921980d5e2
Codechange: use explicit Year constructor call in data tables
2025-01-01 00:38:35 +01:00
Peter Nelson
d5671030b1
Codechange: Add NewGRFSpecsBase class to hold class/index information.
...
Standardises how the class index is stored in the spec, instead of relying ot the Spec structs having the same members.
This allows retrieving class_index and index without searching or using pointer arithmetic.
'cls_id' is renamed to 'class_index' to make it clearer that it is an index rather than the multichar label of the class.
2024-05-11 02:12:41 +01:00
Tyler Trahan
77173a6a10
Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes
2023-09-10 08:40:25 -04: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
Tyler Trahan
98d809c33b
Codechange: Don't use macros for DAYS_TILL and friends ( #10746 )
2023-05-07 05:25:24 -04:00
PeterN
2355882ec1
Codechange: Remove object enabled flag and shuffle members. ( #10358 )
...
`enabled` flag is replaced with IsEnabled() which checks if views is
non-zero.
ObjectSpec is shuffled to reduce its memory footprint.
2023-01-15 10:58:03 +00:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
rubidium
13e3ef53e3
(svn r27183) -Fix: GCC5 compilation
2015-03-13 19:42:49 +00:00
planetmaker
8033162bb8
(svn r25876) -Codechange: Unify object placement during map creation
2013-10-17 21:41:17 +00:00
planetmaker
547b1fba45
(svn r25874) -Add: [NewGRF] NewObject property 0x10, bit 13 indicating that object amount scales with water content of map border (e.g. used for lighthouses)
2013-10-17 21:31:53 +00:00
planetmaker
88286d33ab
(svn r25873) -Codechange: Add property for the amount of generated objects upon map creation to default objects
2013-10-17 21:27:08 +00:00
planetmaker
6f62458e3b
(svn r25872) -Codechange: Add climate property to default objects
2013-10-17 21:26:04 +00:00
planetmaker
f5e408fa1c
(svn r25868) -Fix (r25650): Initialization of default objects swapped costs and dates
2013-10-16 19:11:34 +00:00
rubidium
1e715bfbea
(svn r25557) -Fix [FS#5524]: one could build bridges over owned land of another company
2013-07-04 20:05:07 +00:00
rubidium
fdeab92dc7
(svn r21452) -Codechange: read object property 17 (number of views)
2010-12-10 21:30:26 +00:00
rubidium
c862ab42c9
(svn r20671) -Add: feature F (not action F as written mistakenly in the previous message) support for the scenario editor
2010-08-28 19:45:56 +00:00
rubidium
fba19a41d5
(svn r20665) -Codechange: make clearing object tiles behave (more) like TTDPatch
2010-08-28 18:56:07 +00:00
rubidium
6348aa7964
(svn r20650) -Codechange: add some variables to the object's spec
2010-08-28 17:35:00 +00:00
rubidium
f9a9b0ed4a
(svn r20649) -Codechange: implement classes for objects
2010-08-28 17:32:30 +00:00
rubidium
1ec1f1ef37
(svn r20648) -Codechange: implement the NewGRF override manager for objects
2010-08-28 17:30:55 +00:00
rubidium
34da98f2b1
(svn r20647) -Codechange: update some of the object spec information
2010-08-28 17:29:12 +00:00
rubidium
0d8091a7c3
(svn r20642) -Codechange: make the table in object_land easier expandable.
2010-08-27 22:46:11 +00:00
rubidium
5d835bd280
(svn r20641) -Codechange: remove the "require flat land" flag
2010-08-27 22:43:27 +00:00
rubidium
3e9e1b8e65
(svn r20638) -Codechange: split object.h
2010-08-27 22:21:23 +00:00
rubidium
3da3d131c6
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
2010-08-08 10:59:30 +00:00