Peter Nelson
|
2fd9096070
|
Change: Decouple and remove landscape-dependent cargo types. (#11719)
Cargo types of default engines, industries and houses are now specified in terms of label.
|
5 months ago |
Peter Nelson
|
60dcf3b5e2
|
Codechange: Rename TownEffect to TownAcceptanceEffect.
This makes it clearer that TownEffect only affects acceptance behaviour.
|
5 months ago |
SamuXarick
|
fddcaef74a
|
Codechange: Use town zone constants instead of magic numbers
|
6 months ago |
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.
|
8 months ago |
frosch
|
b6c8f301be
|
Codechange: Silence warnings about intentionally unused parameters.
|
9 months ago |
Tyler Trahan
|
fca2b37726
|
Codechange: Move Ticks into their own class
|
10 months ago |
Patric Stout
|
07730584d7
|
Codechange: make explicit when a TileIndex is cast to its basetype (#11190)
This prevents people accidentially assigning a TileIndex to a Date
or any other type they shouldn't.
|
11 months ago |
Patric Stout
|
299570b2c1
|
Codechange: make TimerGameCalendar Date and Year types strongly typed (#10761)
|
11 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
|
11 months ago |
Peter Nelson
|
e6740046ee
|
Codechange: Use range-for iteration.
|
1 year ago |
Rubidium
|
19ec4e8beb
|
Codechange: replace ClampToI32/U16 with ClampTo<int32_t/uint16_t>
|
1 year ago |
rubidium42
|
55a11710a6
|
Codechange: convert printf DEBUG statements to fmt Debug statements
|
3 years ago |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
5 years ago |
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
5 years ago |
Pavel Stupnikov
|
fef8b831a9
|
Change: Switch town growth rate and counter to actual game ticks (#6763)
|
6 years ago |
frosch
|
d9d669dcf8
|
(svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent.
|
6 years ago |
rubidium
|
0463dbdc9e
|
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
10 years ago |
frosch
|
49852e3dac
|
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
|
11 years ago |
frosch
|
db894b0b3f
|
(svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL.
|
11 years ago |
alberth
|
33ff55a8f1
|
(svn r24693) -Doc: Add some doxymentation into the newgrf code.
|
12 years ago |
alberth
|
4c9bea2a71
|
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
|
12 years ago |
alberth
|
b985c4c0f8
|
(svn r24679) -Codechange: Add resolver classes for towns.
|
12 years ago |
rubidium
|
41e5c839e0
|
(svn r24179) -Codechange: move some variables of Town to TownCache
|
12 years ago |
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
13 years ago |
truebrain
|
afcf07ac8a
|
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
|
13 years ago |
truebrain
|
229e572663
|
(svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
13 years ago |
michi_cc
|
6548ec6e9e
|
(svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct.
|
13 years ago |
frosch
|
1ad7239247
|
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
|
13 years ago |
yexo
|
40d5419cd2
|
(svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary
|
13 years ago |
terkhen
|
8ddb3941f7
|
(svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI.
|
13 years ago |
terkhen
|
a619ad3789
|
(svn r22569) -Feature: [NewGRF] Persistent storage for towns.
|
13 years ago |
terkhen
|
dd8a436cbb
|
(svn r22562) -Codechange: Remove constness from TownGetVariable.
|
13 years ago |
rubidium
|
a6a2fbd937
|
(svn r21198) -Fix: don't call variables properties in debug messages
|
14 years ago |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
smatz
|
a50ba1b8c1
|
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
|
15 years ago |
peter1138
|
fd6a480004
|
(svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent.
|
16 years ago |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
rubidium
|
923e21129c
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
16 years ago |
rubidium
|
4625695653
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
16 years ago |
rubidium
|
d03994098b
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
16 years ago |
rubidium
|
9d3a08523a
|
(svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns.
|
16 years ago |
skidd13
|
a887b79f90
|
(svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
|
17 years ago |
frosch
|
93b3a66678
|
(svn r12247) -Fix (r9315): Town variables 0x9E to 0xAD (company ratings) returned wrong values.
|
17 years ago |
smatz
|
ca46154068
|
(svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value
|
17 years ago |
rubidium
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
429521a7d1
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
peter1138
|
e9c38a97b0
|
(svn r10430) -Fix: Too many town rating entry lookups (KUDr)
|
17 years ago |
maedhros
|
ac0c371d5a
|
(svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index.
|
17 years ago |