Michał Janiszewski
1ae2ca54f7
Sort includes
2016-12-01 16:03:16 +01:00
Michał Janiszewski
54e622659d
Extract common parts from rct2.h to common.h
2016-12-01 16:03:16 +01:00
Marijn van der Werf
ec6724b4d4
Name font flags
2016-11-16 13:24:39 +00:00
Marijn van der Werf
022b481d66
Use constant for black strings
2016-11-13 17:20:30 +00:00
Marijn van der Werf
0496cf6bd8
Merge colour maps
2016-11-11 08:46:14 +00:00
Michał Janiszewski
fe3b15c2f1
Mask translucent bit out from colour
...
Fixes #4765
2016-11-06 20:51:38 +01:00
Michał Janiszewski
f1cbb7935d
Fix left shifts that may overflow
2016-10-13 19:48:42 +01:00
LRFLEW
e5ff7412e4
Refactor/Improve String and Path Handling
2016-10-09 15:29:58 -05:00
duncanspumpkin
9840a73cc1
Refactor naming of paint global vars
...
Removed EDF81C from none viewport files this previously was used to pass image flags to the sprite renderer.
gUnkF1A4CC replaced with address reference to paint struct array to allow for non rct builds
Renamed _paint_structs to _paint_struct_quadrants. This array is used for working out which paint struct is at which quadrant and is not the main paint struct array
2016-09-20 18:08:45 +01:00
Ted John
e4cb01e04b
Integrate gUnkEDF81C
2016-09-14 18:29:56 +01:00
Duncan
00e2d44264
Refactor sprite functions
2016-09-14 18:22:37 +01:00
Ted John
5db4f4f2ee
Remove references to 0x009C383D
2016-09-10 23:48:29 +01:00
Michał Janiszewski
163e314379
Remove unused or set-but-not-read variables
2016-09-07 13:39:29 +01:00
Ted John
6a665330c2
Integrate gCommonStringFormatBuffer
2016-09-04 15:55:37 +01:00
Ted John
8cf7e87b5c
Fix many warnings for x64
2016-08-27 23:32:15 +01:00
Marijn van der Werf
198ebd0cb1
Use constants for colours
2016-08-07 12:57:12 +02:00
Michał Janiszewski
0ece63a7f6
Wrap RCT2's addresses in RCT2_ADDRESS macro
2016-08-06 21:38:46 +01:00
Ted John
252a00c35f
Integrate gCurrentWindowColours
2016-08-06 01:32:40 +01:00
Michał Janiszewski
a6d0e6916e
Fix function definitions to match their declarations
...
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Marijn van der Werf
5204fb0ce9
Clean up string and sprite ID's ( #3977 )
2016-07-14 14:07:49 +02:00
Ted John
ad1b9265dc
integrate variables for various drawing pointers
2016-06-16 11:36:15 +02:00
Ted John
f796ef5122
fix drawing of text
2016-06-11 23:14:22 +01:00
Hielke Morsink
8c1395bd46
declaring local variables where needed instead of at the top ( #3599 )
2016-05-15 10:25:24 +01:00
janisozaur
ca430e1b23
Drop unused variables ( #3586 )
2016-05-13 18:21:58 +01:00
janisozaur
658e877955
Name all the typdef-ed structs ( #3581 )
2016-05-12 22:57:40 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Ted John
7be699adbb
fix mistake, wrong enum
2016-04-25 23:20:54 +01:00
Ted John
489ea66cc9
add global macro for gCurrentFontSpriteBase and gCurrentFontFlags
2016-04-25 23:00:58 +01:00
IntelOrca
2cd7f2d507
fix warning
2016-03-04 23:12:52 +00:00
Chanwoong Kim
4596285ec2
Make 'draw_string_centered_raw' to support UTF8 strings.
2016-03-02 07:48:58 +09:00
Michał Janiszewski
6b514d1e3a
Fix possible issues highlighted at higher warn levels
...
Mostly possibly uninitialized values and signedness
2016-02-26 12:54:00 +01:00
Michał Janiszewski
f352fb7d47
Better options window design for scaling
2016-02-01 21:23:20 +01:00
LRFLEW
a842e3a650
Improved Rendering of Disabled Scenario Names
2016-01-24 17:06:05 -07:00
IntelOrca
d81fd0c4ea
fix #2786 : use gfx_draw_string_centred_wrapped which centres line by line
2016-01-23 00:24:02 +00:00
Michał Janiszewski
3bf1e0e06d
Rename safe_strncpy to safe_strcpy
2016-01-18 20:49:52 +01:00
Michał Janiszewski
2d82bf344e
shadows for fonts
2016-01-07 15:48:52 +01:00
IntelOrca
9b833e5f93
shorten path for scenario select debug
2016-01-02 23:14:41 +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
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
IntelOrca
7ea0e2d6a3
improve language load fail behaviour
...
improve currencies
fix bug in supported glyph check
2015-11-26 18:28:52 +00:00
IntelOrca
48e3d70e57
refactor colour maps
2015-11-08 18:55:32 +00: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
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
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
094cc19411
allow joining of servers in server list window
2015-08-16 16:37:08 +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