1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
LRFLEW
58d258038f Improve security on OSX and Linux 2016-01-22 16:44:08 -07:00
IntelOrca
cdee534eb1 use SDL2's platform defines to normalise platform guards 2016-01-14 20:12:43 +00:00
Michał Janiszewski
133096cd64 Merge branch 'develop' into vehicle-update 2016-01-05 09:59:53 +01:00
Michał Janiszewski
2b1b0f76f3 Whitespace fixes.
This is just whitespace fixup for all files affected in vehcile-update
branch.
2016-01-03 00:59:10 +01: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
IntelOrca
a941e67df6 fix vehicle-update after merge with sub_6DAB4C 2015-12-14 23:31:00 +00:00
IntelOrca
4eee290947 use original hook code which works better for this branch 2015-12-14 15:18:32 +00:00
IntelOrca
9ad290463a prepare hook for sub_6DAB4C 2015-12-14 15:17:40 +00:00
Duncan
1456049dfb Fixed alignment of hook 2015-12-10 16:32:45 -06:00
duncanspumpkin
ce56b2c7f7 Aligned hook for better OS X support 2015-12-10 16:31:41 -06:00
Michał Janiszewski
df52bb5ca1 Add hooks for Linux 2015-10-01 18:49:13 +02:00
Michał Janiszewski
4df8761831 remove windows-only code
Step 1 on road towards Linux.

Remove windows-specific code, stub it out where needed and make sure we
can still compile it the way it is.

Take care of Travis' build matrix to include new build configuration.

Install new packages.
2015-09-18 16:01:38 +02:00
IntelOrca
31eb758ba1 implement utf8, part 15 2015-08-01 10:20:57 +01:00
zsilencer
40a495cabc fix bug in hook which caused it not to work on other OSes 2015-07-06 09:28:16 -06:00
zsilencer
33ae29b11f hook 2014-09-15 15:14:06 -06:00