Commit Graph

28 Commits (20b8cb30590de8c4861360130c5d8dc620d6020f)

Author SHA1 Message Date
Jonathan G Rennison 20b8cb3059 Add setting to use object land ground for purchased land
Default on
2 months ago
Jonathan G Rennison 7ce06e22b8 Split date types into calendar and economy dates
See: 735abfe1
4 months ago
Jonathan G Rennison 97e6f3062e Adding of _t to (u)int types, and WChar to char32_t
See: eaae0bb5e
5 months ago
Jonathan G Rennison 03e0ec8276 Strong typedef: Use strong typedefs for date, date tick, minutes types
Add delta types
Adjust/add type conversion functions
Add various utility methods on types
Remove the various minute macros
Fix some minute conversion inconsistencies
5 months ago
Jonathan G Rennison 1bfd96c7f2 Merge branch 'master' into jgrpp
# Conflicts:
#	src/3rdparty/fmt/core.h
#	src/command_type.h
#	src/console_cmds.cpp
#	src/core/overflowsafe_type.hpp
#	src/landscape.cpp
#	src/network/network.cpp
#	src/newgrf_object.h
#	src/object_cmd.cpp
#	src/order_gui.cpp
#	src/saveload/vehicle_sl.cpp
#	src/script/api/script_industrytype.cpp
#	src/script/api/script_object.hpp
#	src/script/api/script_town.cpp
#	src/table/object_land.h
#	src/timetable_cmd.cpp
#	src/tree_cmd.cpp
#	src/vehicle_gui.cpp
#	src/window.cpp
1 year ago
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.
1 year ago
Jonathan G Rennison d4f11eca42 Add NewGRF object properties to set viewport map mode/smallmap tile type 2 years ago
Jonathan G Rennison d9116106ca Add NewGRF object property for new edge foundation mode 3 years ago
Jonathan G Rennison 924ffb013f Add NewGRF object property/flag to use land as object ground sprite
This handles variable ground densities, snow/desert, etc.
3 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
rubidium 13e3ef53e3 (svn r27183) -Fix: GCC5 compilation 9 years ago
planetmaker 8033162bb8 (svn r25876) -Codechange: Unify object placement during map creation 11 years ago
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) 11 years ago
planetmaker 88286d33ab (svn r25873) -Codechange: Add property for the amount of generated objects upon map creation to default objects 11 years ago
planetmaker 6f62458e3b (svn r25872) -Codechange: Add climate property to default objects 11 years ago
planetmaker f5e408fa1c (svn r25868) -Fix (r25650): Initialization of default objects swapped costs and dates 11 years ago
rubidium 1e715bfbea (svn r25557) -Fix [FS#5524]: one could build bridges over owned land of another company 11 years ago
rubidium fdeab92dc7 (svn r21452) -Codechange: read object property 17 (number of views) 14 years ago
rubidium c862ab42c9 (svn r20671) -Add: feature F (not action F as written mistakenly in the previous message) support for the scenario editor 14 years ago
rubidium fba19a41d5 (svn r20665) -Codechange: make clearing object tiles behave (more) like TTDPatch 14 years ago
rubidium 6348aa7964 (svn r20650) -Codechange: add some variables to the object's spec 14 years ago
rubidium f9a9b0ed4a (svn r20649) -Codechange: implement classes for objects 14 years ago
rubidium 1ec1f1ef37 (svn r20648) -Codechange: implement the NewGRF override manager for objects 14 years ago
rubidium 34da98f2b1 (svn r20647) -Codechange: update some of the object spec information 14 years ago
rubidium 0d8091a7c3 (svn r20642) -Codechange: make the table in object_land easier expandable. 14 years ago
rubidium 5d835bd280 (svn r20641) -Codechange: remove the "require flat land" flag 14 years ago
rubidium 3e9e1b8e65 (svn r20638) -Codechange: split object.h 14 years ago
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. 14 years ago