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

59 Commits

Author SHA1 Message Date
Broxzier
6c29bdbf21 CppCheck fixes 2016-12-24 13:10:03 +01:00
Marijn van der Werf
1a8cb9fc57 Use more constants for text colours 2016-11-13 17:44:34 +00:00
Marijn van der Werf
022b481d66 Use constant for black strings 2016-11-13 17:20:30 +00:00
Marijn van der Werf
06b128bac7 Name more palettes 2016-11-13 01:51:27 +01:00
Marijn van der Werf
1ce2242bb3 Start cleaning up filters 2016-11-13 01:45:43 +01:00
Marijn van der Werf
80ea7f7de5 Name gfx_fill_rect_inset flags 2016-11-10 17:54:33 +00:00
Hielke Morsink
c19339edfe Minor improvements
- Paths are now properly rotated, including flat ones
- Banners can not be rotated
- The X and Y coordinates can be changed with spinners
- Highligint selected tile while now hovering over viewport
- Added helper function for enabling and disabling widgets more easily
2016-10-11 23:12:07 +02:00
Michał Janiszewski
b7497f6654 Reduce inclusions of addresses.h 2016-09-04 21:19:19 +02:00
Ted John
6a665330c2 Integrate gCommonStringFormatBuffer 2016-09-04 15:55:37 +01:00
Ted John
942c26959c Remove unused code in widget_caption_draw 2016-09-04 00:14:56 +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
Daniel Trujillo Viedma
4f074cc07f Fix #4013: Scroll bar can get tiny for extremely long lists (#4025) 2016-07-15 21:49:00 +02:00
Marijn van der Werf
5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Michał Janiszewski
644a36a310 Fixes to -Wall compilation
By default, not all warnings are enabled. This change makes sure that
the project compiles correctly with following options turned on:

    -Wall -Wno-unused-but-set-variable -Wno-missing-braces \
    -Wno-unknown-pragmas -Wno-unused-function
2016-06-20 13:46:27 +01:00
Ted John
8185a88e47 implement drawing solid coloured sprites 2016-06-11 18:28:03 +01:00
Ted John
1cc35dfe6e integrate common format args 2016-05-15 22:03:53 +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
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
489ea66cc9 add global macro for gCurrentFontSpriteBase and gCurrentFontFlags 2016-04-25 23:00:58 +01:00
Ted John
84edd049d9 integrate current tool variables:
- gCurrentToolId
- gCurrentToolWidget
2016-04-15 18:26:47 +01:00
IntelOrca
5c2c0c9c57 fix #3142: Localisation - Text out of borders 2016-03-16 18:17:24 +00:00
IntelOrca
1daa657657 fix #3091: Korean words corrupted if over byte limit 2016-03-10 18:48:00 +00:00
Gymnasiast
ddf3d7a03d Consistently use 'colour' rather than 'color' 2016-02-28 20:32:02 +01:00
Michał Janiszewski
3bf1e0e06d Rename safe_strncpy to safe_strcpy 2016-01-18 20:49:52 +01:00
IntelOrca
94ae72f228 integrate variable: gHoverWidget 2016-01-05 22:05:00 +00:00
IntelOrca
586e5ef9cd integrate variable: gPressedWidget 2016-01-05 21:46:38 +00:00
IntelOrca
f0adf90660 integrate variable: gInputFlags 2016-01-04 22:53:03 +00:00
IntelOrca
b5069d3809 integrate variable: gInputState 2016-01-04 22:45:51 +00:00
Aaron van Geffen
9232a9906f Inventarised instances of RCT2_ADDRESS_COMMON_FORMAT_ARGS 2015-12-26 18:24:36 +09:00
IntelOrca
db18fa8f14 finally fix #1619: Can't place any path
RCT2_ADDRESS_TOOL_WIDGETINDEX was being read as an int32 sometimes
2015-12-21 22:28:34 +00: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
48e3d70e57 refactor colour maps 2015-11-08 18:55:32 +00:00
IntelOrca
442cfef887 fix #2230, scroll bar colour issues 2015-11-08 17:31:46 +00:00
Michał Janiszewski
9284930d7e Add safe_strncpy function
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
IntelOrca
99c7c93764 implement utf8, part 9 2015-08-01 10:20:53 +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
c4b355f648 implement utf8, part 1 2015-08-01 10:20:48 +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
f316b423c4 fix scroll H&V issue 2015-06-12 20:10:27 +01:00
IntelOrca
2547d38807 fix #1307 2015-06-11 02:27:19 +01:00
Robert Jordan
029f7cf664 One colour off 2015-06-10 16:13:32 -04:00
Robert Jordan
35cce1a4df Fixed black caption bar being green 2015-06-10 15:55:15 -04:00
IntelOrca
0dd749baac refactor window event calls 2015-06-09 18:29:02 +01:00
Robert Jordan
02a9f1b535 Fixed #1247 font issues. 2015-06-06 21:18:20 -04:00