Commit Graph

56 Commits

Author SHA1 Message Date
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
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
IntelOrca 63698761fd remove some small callprocs 2015-06-28 01:57:50 +01:00
Duncan Frost 9958ffc0f7 Started refactor of viewport drawing
Renabled banner paint setup
2015-06-21 16:23:16 +01:00
IntelOrca 542eb057d9 set font when drawing checkboxes, extracted draw string left centred to new method 2015-06-17 16:21:50 +01:00
IntelOrca 133c0de23d refactor cheats and improve checkbox drawing 2015-06-16 23:24:48 +01:00
IntelOrca 72de8ad103 implement draw_string_centred_raw 2015-06-09 15:42:25 +01:00
IntelOrca 101fed0dd9 refactor g1Elements pointer and implement sub_68371D 2015-05-28 00:17:22 +01:00