1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00
Commit Graph

94 Commits

Author SHA1 Message Date
Linus Unnebäck
29243780c8 add limits.h include for CHAR_BIT 2015-10-28 07:33:56 +01:00
Daniël Heres
9752d197e6 Fix assignment 2015-10-24 21:02:08 +02:00
Daniël Heres
3ebd576d78 Cache width of line 2015-10-24 18:25:11 +02:00
Daniël Heres
29976790cb Low level optimizations
* Just memcpy if we don't have to use a pallete and zoom_amount == 1
* Replace some divide operations by right-shifts
* Optimize / simplify sub_68B3FB
2015-10-24 12:32:56 +02:00
Michał Janiszewski
06b13794ea Use const for parameters
In profiling, gfx_rle_sprite_to_buffer turns out to be a hot spot. Use
const pointers, so compiler can make more assumptions regarding them and
perhaps optimize more heavily.
2015-10-22 10:15:45 +02:00
Michał Janiszewski
8e45cccb7a Minor fixes
Includes (mostly) type fixes, dead code removal, signed vs unsigned
comparison fixes, memory leaks removal.
2015-10-21 08:47:09 +02:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Daniël Heres
4f4f434c5a Bit shifting 2015-10-19 22:55:16 +02:00
Daniël Heres
328c42d5d5 Use same naming convention 2015-10-19 20:50:52 +02:00
Daniël Heres
7730665023 Cache expression in gfx_rle_sprite_to_buffer 2015-10-19 20:45:04 +02:00
Michał Janiszewski
74d0b033df Name RCT2_ADDRESS_PALETTE 2015-10-09 20:20:05 +02:00
Michał Janiszewski
4ce0e3a8b2 Linux platform file
Add bulk of the platform file for linux, change the compilation target
from shared library to executable for linux, provide necessary changes
to make it compile & load the stub of a process.

Make sure functions are marked as stubs where needed, and implementation
is expected.
2015-09-20 23:19:08 +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
Gymnasiast
6bd003c67f Fix more warnings 2015-09-11 15:13:54 +02:00
Ted John
2a0366721e Merge pull request #1896 from janisozaur/some_fixes
assorted fixes
2015-09-07 20:11:29 +01:00
Michał Janiszewski
52252f82b3 assorted fixes 2015-09-07 20:51:21 +02:00
Gymnasiast
3ddddec21c Fix some warnings 2015-09-07 14:57:39 +02:00
IntelOrca
bea74ee261 make all file IO utf8 compatible, fixes #1847 2015-08-29 13:13:23 +01:00
IntelOrca
094cc19411 allow joining of servers in server list window 2015-08-16 16:37:08 +01:00
zsilencer
d772f8b5fb measure and display ping 2015-08-14 09:13:39 -06:00
zsilencer
df7f576e05 map loading over network 2015-08-14 09:13:29 -06:00
IntelOrca
4f77cc8df3 implement gfx_draw_sprite_raw_masked 2015-08-06 01:00:03 +01:00
IntelOrca
cac0f2ab52 upgrade to VS2015 compiler 2015-08-03 23:16:30 +01:00
IntelOrca
3c1190e11f implement utf8, part 26 (bug fixes) 2015-08-03 18:06:54 +01:00
IntelOrca
7bcb12503a implement utf8, part 24 (bug fixes) 2015-08-02 11:25:26 +01:00
IntelOrca
d228d13918 implement utf8, part 23 (bug fixes) 2015-08-01 16:40:15 +01:00
IntelOrca
de7088cb25 implement utf8, part 22 (bug fixes) 2015-08-01 10:21:02 +01:00
IntelOrca
7fe54661b9 implement utf8, part 21 (more font specific customisation and bug fixes) 2015-08-01 10:21:01 +01:00
IntelOrca
4d003ad00a implement utf8, part 20 (improve font sizes and offsets) 2015-08-01 10:21:01 +01:00
IntelOrca
52d5732826 implement utf8, part 19 2015-08-01 10:21:00 +01:00
IntelOrca
6bf474bd52 implement utf8, part 16 2015-08-01 10:20:58 +01:00
IntelOrca
31eb758ba1 implement utf8, part 15 2015-08-01 10:20:57 +01:00
IntelOrca
fa87d8e999 implement utf8, part 14 2015-08-01 10:20:57 +01:00
IntelOrca
617880e8d2 implement utf8, part 13 2015-08-01 10:20:56 +01:00
IntelOrca
a9e6f8c3db implement utf8, part 12 2015-08-01 10:20:55 +01:00
IntelOrca
99c7c93764 implement utf8, part 9 2015-08-01 10:20:53 +01:00
IntelOrca
c6815b6eec implement utf8, part 8 2015-08-01 10:20:53 +01:00
IntelOrca
d6a7025a3a implement utf8, part 6 2015-08-01 10:20:51 +01:00
IntelOrca
795c01cab5 implement utf8, part 5 2015-08-01 10:20:50 +01:00
IntelOrca
1682eae048 implement utf8, part 4 2015-08-01 10:20:50 +01:00
IntelOrca
2bb0c6c53f implement utf8, part 3 2015-08-01 10:20:49 +01:00
IntelOrca
e21bea62ce implement utf8, part 2 2015-08-01 10:20:48 +01:00
IntelOrca
c4b355f648 implement utf8, part 1 2015-08-01 10:20:48 +01:00
zsilencer
af68e9d9ea fix #1590 2015-07-12 20:23:58 -06:00
zsilencer
e8d8f7c684 fix invalidation issue with picked up staff 2015-07-10 21:01:58 -06:00
zsilencer
a58458bbb3 fix issue with negative dirty blocks 2015-07-10 20:50:49 -06:00
IntelOrca
0def7c0883 refactor invalidation of map tiles and viewports 2015-07-06 18:57:36 +01:00
zsilencer
520d7840c0 fix bugs introduced in last commit 2015-07-05 09:50:03 -06:00
zsilencer
9eb4958dde fix #1002 2015-07-05 08:57:01 -06:00
IntelOrca
cc54171443 remove / isolate several CALLPROCs 2015-06-30 17:13:34 +01:00