Commit graph

8788 commits

Author SHA1 Message Date
Sijmen Schoon
d8bc890d0a Exit scenery selection mode when done saving 2016-07-11 19:13:30 +02:00
Sijmen Schoon
79a85cd659 Save track designs as td6 file 2016-07-11 19:13:30 +02:00
Sijmen Schoon
9d1ae9b576 Fix track save system dialog crash 2016-07-11 19:13:30 +02:00
Sijmen Schoon
a194c91997 Use OpenRCT2 dialog for saving tracks 2016-07-11 19:13:30 +02:00
Ted John
f5391a366f Merge pull request #4048 from Goddesen/fix_4037_utf8_cursor
Use UTF-8 to measure cursor size in text input.
2016-07-11 18:00:17 +01:00
Ted John
7ae7c4f498 Merge pull request #4020 from duncanspumpkin/rate_input
Allow rate input by text box
2016-07-11 17:58:38 +01:00
Ted John
8851e43367 CI: Always add build symbols to artefacts 2016-07-11 13:00:25 +01:00
Josue Acevedo
cc2d91a642 Fix #4042: Park name isn't shown in objective selection 2016-07-11 09:54:37 +01:00
Josue Acevedo
c17a89707c Fix #4031: Costs of land rights not displayed when hovering a tile 2016-07-11 09:31:42 +01:00
OpenRCT2 git bot
a5a0e0fc0e Merge Localisation/master into OpenRCT2/develop. 2016-07-11 04:00:20 +00:00
Goddesen
555eb227a8 Remove uint32 cast - size_t can be safely compared to size_t. 2016-07-11 02:15:15 +02:00
Goddesen
23e4fe63d0 Use utf8 to measure cursor size in text input. 2016-07-11 02:15:15 +02:00
Daniel Trujillo Viedma
1e3504cd36 Fix #1432: Sandbox mode reducing map size causes game to freeze
Shift correctly direction bits when calling game_do_command.

game_command_remove_large_scenery() expects the direction bits
to be shifted 8 times to the left, so the call to game_do_command
has been modified to match this requirement.
2016-07-10 23:11:04 +01:00
Ted John
0a5ce82632 log warnings and information as verbose 2016-07-10 16:34:54 +01:00
Michał Janiszewski
59c3656352 Init drawing engine for screenshot subcommand. Fix #4029 (#4030) 2016-07-10 12:14:31 +02:00
duncanspumpkin
50c2e52b57 Use better text descriptions. Holding down rate buttons now increase/decrease 2016-07-10 09:26:23 +01:00
Duncan
133ba62fa1 Merge pull request #4017 from gDanix/refactor-sub_6DAB4C_chunk_2
Refactor sub_6DAB4C_chunk_2 [WIP]
2016-07-10 08:25:53 +01:00
OpenRCT2 git bot
b09e678fa9 Merge Localisation/master into OpenRCT2/develop. 2016-07-10 04:00:20 +00:00
Ted John
853e002b4f disable checksum validation 2016-07-10 00:29:32 +01:00
Ted John
66eee6d89d fix reading of large scenery objects 2016-07-10 00:15:27 +01:00
Ted John
324d690eaf fix unloading of null objects 2016-07-10 00:00:23 +01:00
Ted John
f7757c7991 fix wall price check 2016-07-09 23:03:30 +01:00
Daniel Trujillo
8eeb6056a1 Fix grammar issues. 2016-07-10 00:01:55 +02:00
Daniel Trujillo
13f6959ae3 Rector block_brake_closed parameter from apply_block_brakes
To remark that is a variable, rather than a constant (closed)
2016-07-09 23:43:04 +02:00
Daniel Trujillo
3e782d9295 Deep splitting and rewriting of the sub_6D... code 2016-07-09 23:43:04 +02:00
Daniel Trujillo
a3661e5842 Swapped if/else at line 5402
Applied De Morgan's laws to simplify condition
2016-07-09 23:43:04 +02:00
Daniel Trujillo
453b33a7b7 Move "apply_block_section_stop_site" on top of "check_and_apply...()"
To make it callable from "check_and_apply...()"
2016-07-09 23:43:04 +02:00
Daniel Trujillo
3e0754f14d Rename sub_6DAB4C_chunk_2 2016-07-09 23:43:04 +02:00
Daniel Trujillo
013266c6ae Add needed calls to the new function 2016-07-09 23:43:04 +02:00
Daniel Trujillo
ed73a9dfe0 Break vehicle-handling code into another function 2016-07-09 23:43:04 +02:00
Daniel Trujillo
efb720326d Add an implicit "else"
After "vehicle->velocity = 0", the sentence:
"vehicle->velocity -= vehicle->velocity >> 3" doesn't have any
effect, so insert an "else" can clarify the code
2016-07-09 23:43:04 +02:00
Daniel Trujillo
95e727d376 Add comments to the code 2016-07-09 23:43:04 +02:00
Daniel Trujillo
92b5e661fb Break an "else" into pieces 2016-07-09 23:43:04 +02:00
Daniel Trujillo
f56f7065ac Make more obvious the last "else" previously made with a "return" 2016-07-09 23:43:04 +02:00
Daniel Trujillo
cb4fe669a9 Name constant (1 << 5) -> MAP_ELEMENT_FLAG_BLOCK_BREAK_CLOSED 2016-07-09 23:43:04 +02:00
LRFLEW
50f3ba001e Update Xcode Project for #4024 2016-07-09 22:42:22 +01:00
Ted John
8fd81c3b75 initialise legacy object list on startup 2016-07-09 22:37:22 +01:00
Michał Janiszewski
b10b57e9dc add language 8 as a multibyte language 2016-07-09 21:15:02 +01:00
Ted John
3d824142ee clean up init_scenery a bit 2016-07-09 21:06:54 +01:00
Ted John
7b17b603f3 set scenery tab IDs 2016-07-09 20:42:22 +01:00
Ted John
440c021951 create base scenery object for scenery objects 2016-07-09 19:16:38 +01:00
Ted John
234471c3fc cope with same loaded object for multiple slots 2016-07-09 15:57:59 +01:00
Ted John
4de1f2912a remove unnecessary functions 2016-07-09 15:36:48 +01:00
Ted John
ce878723d7 add helper methods for object entry names 2016-07-09 15:29:04 +01:00
Ted John
3c64010fe1 Make Console::Error::WriteLine formattable 2016-07-09 15:02:05 +01:00
Ted John
8c2393f5c5 don't export invalid objects 2016-07-09 14:52:56 +01:00
Ted John
a25d7aa535 check for LoadObjects failure 2016-07-09 14:13:46 +01:00
Ted John
7d21e10ee8 Merge pull request #4021 from janisozaur/wundef
warn on undefined macros
2016-07-09 12:17:08 +01:00
Michał Janiszewski
abda262b13 Add missing override specifier 2016-07-09 12:14:46 +01:00
Michał Janiszewski
f2eb63847f Fix missing define checks 2016-07-09 10:24:26 +02:00