Commit Graph

5522 Commits

Author SHA1 Message Date
Hielke Morsink 2b7a88297f Moved some UI elements and changed default size. Updated changelog. 2016-01-01 21:29:05 +01:00
Hielke Morsink 05e807a9ca Displayng ride type for tracks 2016-01-01 21:29:04 +01:00
Hielke Morsink 389249abfd Better UI spacing. 2016-01-01 21:29:03 +01:00
Hielke Morsink 6f824c9c2e Resolved warnings. 2016-01-01 21:29:02 +01:00
Hielke Morsink 38867b7462 Fixed old typo in string ID name. 2016-01-01 21:29:00 +01:00
Hielke Morsink 64312957a0 Added column headers instead of labels, and added columns for the flags. 2016-01-01 21:28:59 +01:00
Hielke Morsink db270d85c2 automatically en/disabling buttons when needed. Selecting corrupt element when added. 2016-01-01 21:28:58 +01:00
Hielke Morsink 2a3aefdb4e fixed list issue after removing element. 2016-01-01 21:28:57 +01:00
Hielke Morsink d226012d94 Function to remove elements using the tile inspector. 2016-01-01 21:28:56 +01:00
Hielke Morsink d68ed36147 Recreated UI for tile inspector. Added swap functionality. 2016-01-01 21:28:55 +01:00
Hielke Morsink 35bf18bcb6 Added empty button that swaps the top two map elements 2016-01-01 21:28:54 +01:00
Hielke Morsink f04c97fbc1 Getting path scenery type and index using helper functions throughout the entire project. 2016-01-01 21:28:53 +01:00
Hielke Morsink 6f0d14b65f Using ghost helper funcitons for getting and setting the bit now. 2016-01-01 21:28:52 +01:00
Hielke Morsink b82504c5e4 Better consistensy with already existing helper functions 2016-01-01 21:28:51 +01:00
Hielke Morsink 370c08f796 Added comments to path info 2016-01-01 21:28:50 +01:00
Hielke Morsink 955bf7b26f Displaying more path info for queue. Added some helper functions. 2016-01-01 21:28:49 +01:00
Hielke Morsink 855e122b55 Printing path and addition names in tile inspector. 2016-01-01 21:28:48 +01:00
Ted John 928db1bf18 Merge Localisation/master into OpenRCT2/develop. 2016-01-01 04:00:18 +00:00
Ted John 8d3da0df36 Merge pull request #2604 from janisozaur/strict-aliasing
Strict aliasing
2015-12-31 12:41:50 +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 db95b3ada3 Enable strict aliasing and make sure it gets spotted 2015-12-31 09:15:16 +01:00
Ted John 47ca70b513 Merge Localisation/master into OpenRCT2/develop. 2015-12-31 04:00:17 +00:00
Ted John aa8bb19cbd Merge pull request #2603 from mzmiric5/xcode_shared_schema
make the main schema shared, allow for archive and export of Release …
2015-12-31 01:19:44 +00:00
Miso Zmiric (Mike Squinter) 267750adfe disable versioned documents debugging 2015-12-31 02:15:26 +01:00
Miso Zmiric (Mike Squinter) 5522eedac2 make the main schema shared, allow for archive and export of Release app on build servers 2015-12-31 00:26:22 +01:00
Ted John 087b03c5bb Merge pull request #2600 from LRFLEW/develop
Change SHA hashes for orctlibs-osx.zip
2015-12-30 22:11:56 +00:00
LRFLEW ccd5329d4e Change SHA hashes for orctlibs-osx.zip 2015-12-30 16:08:53 -06:00
Ted John f32e89a6db Merge pull request #2599 from LRFLEW/develop
Switched to libpng in the Xcode project
2015-12-30 20:41:36 +00:00
LRFLEW 97a1809fca Switched to libpng with Xcode 2015-12-30 14:23:27 -06:00
Ted John 067858e969 Merge pull request #2598 from LRFLEW/develop
Added image_io.c and image_io.h to Xcode Project
2015-12-30 19:57:37 +00:00
LRFLEW dd7b111391 Added image_io.c to Xcode 2015-12-30 13:38:36 -06:00
Duncan 9884ad416e Merge pull request #2593 from xiane/develop
Applied enum value to ride type flags.
2015-12-30 18:54:23 +00:00
Ted John 48afb33af6 Merge pull request #2597 from ecnepsnai/develop
Fix #2550 Program crashes when executing "exit" command from the console
2015-12-30 18:35:20 +00:00
Ian Spence ae7da3e830 Fix #2550 Program crashes when executing "exit" command from the console
- exit and quit commands are aliased to "hide"
 - value of the command was being set to a constant value and could not be freed
 - updated command value to use a freeable value
2015-12-30 08:57:43 -08:00
Ted John edaec24228 Merge pull request #2582 from OpenRCT2/use-libpng
Use libpng instead of lodepng
2015-12-30 13:39:34 +00:00
Michał Janiszewski 83a1b36088 Update mingw libs with libpng16 2015-12-30 13:36:16 +00:00
Michał Janiszewski 94a3ccdab5 Detect libpng>=1.6 and fall back to lodepng 2015-12-30 13:36:15 +00:00
IntelOrca 68a600f679 finish converting last lodepng calls to libpng 2015-12-30 13:36:14 +00:00
IntelOrca cabd0fdc3a use image_io_png_write in cmdline_sprite 2015-12-30 13:36:14 +00:00
IntelOrca 00e5c4418d refactor image IO to new source file 2015-12-30 13:36:09 +00:00
Michał Janiszewski 9321c53b87 Enable libpng on Linux builds
Lodepng is still available.
2015-12-30 13:34:51 +00:00
IntelOrca 8ae43fd0ff use libpng for screenshots 2015-12-30 13:34:51 +00:00
IntelOrca 652e9f6829 update VS project and filters 2015-12-30 13:20:28 +00:00
sangch.go fce5eab9d8 Refactored code. bugfix and more define. 2015-12-30 17:13:00 +09:00
sangch.go 94d5eb86c8 Applied enum value to ride type flags. 2015-12-30 13:56:56 +09:00
Ted John 604e516d5b Merge pull request #2584 from janisozaur/util-fix
Fix warnings
2015-12-29 15:16:58 +00:00
Michał Janiszewski 36de7a9027 Fix warnings
Some off-by-one errors, truncation warning fix, main() in posix.c no
longer a stub.
2015-12-29 16:09:36 +01:00
IntelOrca 64b589770a remove obsolete callprocs 2015-12-29 11:57:47 +00:00
IntelOrca c6b023df86 fix warnings 2015-12-29 11:39:06 +00:00
Ted John 69f0e9d55d Merge pull request #2398 from Broxzier/comments_and_optimizations
Refactored some util functions and some minor tweaks for saving tracks
2015-12-29 11:31:58 +00:00