1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
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