Jonathan Haas
4d26e4c4a1
Refactor peep code
...
Name various fields and constants related to peeps. This includes:
- Flags for flashing peeps in map window
- Animation frames for picked up peeps
- Function checking if peep should start to fall
- Special sprite handling for slide boards and lawn mowers
- Created array for peep sprite entries, renamed some variables and constants
2015-12-31 13:57:06 +01:00
IntelOrca
00e5c4418d
refactor image IO to new source file
2015-12-30 13:36:09 +00:00
Aaron van Geffen
dd604afc89
Use FontConfig to find suitable TrueType fonts on Linux and OS X. Fixes #2537 .
2015-12-25 01:53:52 +09:00
Aaron van Geffen
a0de23758e
Specify font name on all TTF descriptors.
2015-12-25 01:53:52 +09:00
LRFLEW
e6f771ec90
Added newlines at end of files
2015-12-20 22:03:37 -06:00
IntelOrca
1ffc9a6355
fix problems with wooden_a_supports_paint_setup and refactor
2015-12-19 21:30:32 +00:00
IntelOrca
96b9a4ed18
implement wooden_a_supports_paint_setup
2015-12-19 20:11:04 +00:00
Michał Janiszewski
ea6fa2c82a
Let user specify the data dir as cmdline option.
...
This adds --openrct-data-dir=<str> option to command line letting user
select where he wants OpenRCT2-specific data to be. By default the
search locations are:
* <exePath>/data (on all platforms)
* /var/lib/openrct2 (on Linux)
* /usr/share/openrct2 (on Linux)
2015-12-19 00:06:41 +01:00
Kyle Kirby
caf07c2064
Clean up the comments a litte
...
• Make comment heads be /**
• Make rct2 addresses be double spaced indented
• Make there be a space afte rct2: and the address
• Make single-line rct2 addresses be full block comments
• Move description of method to top of comment
2015-12-11 16:19:46 -06:00
IntelOrca
7909ba1f3b
fix #2390 : Not fully implemented UTF-8 currencies in building/landscaping/etc.
2015-11-28 12:10:17 +00:00
Ted John
c63eef9a21
Merge pull request #2378 from IntelOrca/support-unicode-currencies
...
support unicode currencies with ascii fallback
2015-11-27 17:56:44 +00:00
Linus Unnebäck
30b6718532
start of OS X support
2015-11-27 17:43:12 +01:00
IntelOrca
7ea0e2d6a3
improve language load fail behaviour
...
improve currencies
fix bug in supported glyph check
2015-11-26 18:28:52 +00:00
IntelOrca
46924bc9eb
support unicode currencies with ascii fallback
2015-11-25 22:31:00 +00:00
IntelOrca
48e3d70e57
refactor colour maps
2015-11-08 18:55:32 +00:00
Michał Janiszewski
a911ff09d0
Some more checks, make sure gVehicleHierarchies are counted properly
2015-11-02 22:58:15 +01:00
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