Martin Černáč
3bdc06dc25
Refactor hard-coded strings to use string_ids.h constants (and couple sprites too) ( #3658 )
2016-05-18 21:51:37 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Ted John
b9944dd33a
integrate land tool variables
2016-04-24 17:28:12 +01:00
duncanspumpkin
ba314c6fc8
Fix dropdown default highlight regression
2016-01-25 17:11:56 +00:00
Michał Janiszewski
8a5d066efe
Fix strict aliasing violations
...
Compiler only guarantees proper accesses to variables when using
variable's native type or `char` (i.e. single byte type) [1].
This commit fixes violations of this rule. In most cases changing code
to a simple cast was enough, some required a bit deeper modifications.
This fixes #2596 .
[1] http://blog.qt.io/blog/2011/06/10/type-punning-and-strict-aliasing/
2015-12-31 13:27:26 +01:00
Michał Janiszewski
bcfdbbd25b
Minor fixes for mapgen
2015-12-29 12:03:38 +01:00
duncanspumpkin
5bd3b8d6af
Implement util_rand due to rand having a poor range on some platforms
2015-11-20 21:40:36 +00:00
Gymnasiast
61444c8518
Display the visible/practical map size instead of the technical size, fixes #2133
2015-10-26 10:21:04 +01:00
Michał Janiszewski
7d0ce00bab
Strip all whitespace
2015-10-20 20:48:51 +02:00
IntelOrca
3855d70d1a
fix dropdown 64 item support and remove old RCT2 addresses
2015-10-14 21:01:04 +01:00
IntelOrca
f906391c9d
remove registers from window events and changed to typed signatures
2015-07-10 01:39:16 +01:00
danidoedel
bcbc05e9a2
fix mapgen background bug
2015-06-04 17:39:07 +02:00
Thomas
857e104153
Add new map generation icons and make description wider
2015-06-02 16:52:00 +02:00
Robert Jordan
765bf976ee
Renamed Colour Schemes to Themes
...
Themes window now opens to settings/presets tab so it's less confusing
for others.
Can no longer change default presets, you get a warning when you try.
now stores themes in themes folder.
Now clips theme names.
2015-06-01 11:02:09 -04:00
Robert Jordan
3fae3c2017
Resolved more conflicts
2015-05-30 16:03:39 -04:00
rd3k
3bd079a9f4
Add handy input windows to mapgen first tab
2015-05-30 20:10:10 +01:00
Robert Jordan
dc1e38180e
Starting work on colour schemes config settings
2015-05-29 12:04:53 -04:00
IntelOrca
d1e4fe8060
implement scenery_set_default_placement_configuration
2015-03-29 02:29:07 +01:00
Thomas
b5d0c3466b
Resolve string conflict
...
Simplex noise and autosave used the same string constants
2015-02-22 15:49:23 +01:00
Nicholas Brochu
14d919819b
Added a 3rd tab to Map Generation (Simplex)
...
Complete with sensible defaults.
2015-02-16 01:18:08 -05:00
IntelOrca
66c302eb3d
use new create_window_centred function
2015-02-14 18:26:59 +00:00
IntelOrca
0db1c88f2b
refactor window hold down widgets (var_020)
2015-02-10 20:40:33 +00:00
IntelOrca
f6c09b44b6
merge in random map generator
2015-02-10 20:11:59 +00:00
IntelOrca
5b3c1b6764
finalise placing of trees
2015-02-10 19:52:24 +00:00
IntelOrca
9d2abf1925
add map generation window
2015-02-09 18:32:58 +00:00