1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Ted John
4ec6b85ff7 Integrate user strings 2016-09-10 23:56:50 +01:00
Michał Janiszewski
0ece63a7f6 Wrap RCT2's addresses in RCT2_ADDRESS macro 2016-08-06 21:38:46 +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
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
1b3f46f960 integrate game command error string variables
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
IntelOrca
1daa657657 fix #3091: Korean words corrupted if over byte limit 2016-03-10 18:48:00 +00:00
Michał Janiszewski
3bf1e0e06d Rename safe_strncpy to safe_strcpy 2016-01-18 20:49:52 +01: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
17e635b8af In C++11 use actual pointer types instead of C's defines
This is mostly `NULL` -> `nullptr` in cpp files, but I only noticed
because `LanguagePack::GetObjectOverride` and
`LanguagePack::GetScenarioOverride` were returning false instead of real
pointer.

Also fixes some whitespaces, you can `w=1` to github's URL to make it
skip these.
2015-09-10 08:22:36 +02:00
Gymnasiast
eeeb7927eb Reset ride names to their defaults when using reset_user_strings 2015-08-16 17:16:16 +02:00
Gymnasiast
7449deeffe Add console option to reset all user strings 2015-08-16 15:31:59 +02:00
IntelOrca
799cb53ec7 implement utf8, part 18 2015-08-01 10:20:59 +01:00
IntelOrca
1556a168e4 fix #1380 2015-06-17 23:01:14 +01:00
IntelOrca
22212df32a fix user error 2015-05-21 01:51:48 +01:00
IntelOrca
c0079919b4 implement user_string_allocate 2015-05-21 01:35:24 +01:00
IntelOrca
1c18f80f07 implement game_command_set_ride_name 2015-01-27 02:05:54 +00:00
IntelOrca
73a6b1acea implement editor_read_s6, partial fix for #433 2014-11-24 02:58:48 +00:00