1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00
Commit Graph

64 Commits

Author SHA1 Message Date
Michał Janiszewski
00fd18809c Move extern "C" {} blocks to headers (#6282) 2017-09-18 17:05:28 +02:00
Gymnasiast
dba7d6053e Clarify elevated permissions warning, insert line break in data files message, fixes #6215 2017-08-31 10:55:33 +02:00
Michał Janiszewski
6ee9bf6799 Free listen_address when releasing config 2017-08-02 23:16:00 +02:00
Ted John
354a26a9d2 Use std::string for player name
Removes memory leak.
2017-07-22 09:48:34 +01:00
Keatzee
ea87e87750 Fix #4301: Remove leading/trailing space from playername 2017-07-22 09:43:24 +01:00
Ted John
f08db17d94 Merge pull request #5713 from rwjuk/fix5707
Fix #5707: Usernames aren't detected for multiplayer
2017-06-27 13:27:21 +01:00
Richard Jenkins
1893326b62 Check for file existence before releasing config in config_open() (#5712) 2017-06-27 13:23:16 +01:00
rwjuk
c904fa9fe2 Duplicate string literal for assignment to utf8* var 2017-06-26 20:58:36 +01:00
rwjuk
3162b9c221 Use String::IsNullOrEmpty() 2017-06-26 19:10:55 +01:00
rwjuk
3236701d51 Fix #5707: Usernames aren't detected for multiplayer 2017-06-26 18:59:01 +01:00
Ted John
f275e5ba9b Remove all platform.h includes from header files
System headers, particularly windows.h polute the namespace too much with macros and unwanted definitions. Do not use them in header files.
2017-06-25 18:59:56 +01:00
Marijn van der Werf
8766ec37a1 Add Android project 2017-06-15 14:22:15 +02:00
Richard Jenkins
4c67ef1d6a Implement persistent 'real names of guests' setting 2017-06-12 14:05:19 +02:00
Ted John
dfa1b47a4f Move keyboard shortcut code to libopenrct2ui. 2017-06-11 16:52:15 +01:00
Ted John
a52190ae44 Create C version of FULLSCREEN_MODE enum 2017-06-10 17:14:07 +01:00
delebota
f69e7ac89e Setup server action logging for server admins in multiplayer
Squash commit containing:
- 398d978 Setup server action logging for server admins in multiplayer
- 13330ae Added server action logging for using cheats in multiplayer
- b619019 Added server action logging for demolishing rides in multiplayer
- 93de752 Added server action logging for editing ride properties in multiplayer
- 8a3d932 Added server action logging for editing park properties in multiplayer
- c78b6e7 Moved duplicate chat and server logging code into new network methods
- c8f66bf Changed logging variable types to avoid deprecated conversion errors in CI builds
- 454e527 Added improved server action logging for using cheats in multiplayer
- 1194305 Moved server action logging code in game.c into a separate method to reduce clutter
- d59cd42 Added server action logging for add/edit/remove scenery in multiplayer
- c41ae0e Added server action logging for clients in multiplayer
- c383341 Removed unused variable to fix CI build error
- 2d1d8e3 Added server action logging for ride creation in multiplayer
2017-06-06 23:07:54 +02:00
Sam Olsen
b9e9b8320f Add enhancement to show money effect when peeps make purchases 2017-06-05 21:02:05 +01:00
Leurak
c002df1abf Keep address parameter in BeginServer 2017-06-04 00:42:13 +01:00
Leurak
7914484ea0 Fix indentation 2017-06-04 00:42:13 +01:00
Leurak
14c46a659c Add config option for socket listen address 2017-06-04 00:42:13 +01:00
Ted John
f47d7f27a5 Suppress hotkey.cfg error if not found
Running the game without hotkeys.cfg existing used to show a warning message. This is unnecessary as it will not exist on first install.
2017-06-03 22:17:52 +01:00
Ted John
af91b9f4b4 Fix #5521: Infinite loop on first run if neither Zenity nor kdialog are installed (#5526) 2017-06-03 22:13:20 +01:00
Michał Janiszewski
79d76759bb Fix #5516: Update copyrights for 2017
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Ted John
3ca1b48384 Open the game window on the last remembered display 2017-05-29 22:39:17 +02:00
Ted John
3fcd42fe2b Move more window code to UiContext 2017-05-29 22:38:43 +02:00
CraigCraig
26287f5a3e More readability, grammar, spelling fixes 2017-05-15 09:28:43 +02:00
Pulkit
89baa54633 Fixed the whitespaces 2017-04-30 17:33:26 +01:00
Pulkit
f7d01e3983 Modified the Mute button Like the Cheat
I implemented the Mute button but for some reason I am unable to enable
the checkbox. Could someone kindly look into it
2017-04-30 17:33:26 +01:00
CraigCraig
e0b875398b Tons of spelling fixes (#5413)
[ci skip]
2017-04-30 06:39:24 +02:00
duncanspumpkin
8dcf6b43f1 Fix #5371. Custom currency now correctly saves to config.
Mistake made during refactoring. Failed to account for the custom currency when saving the current currency.
2017-04-16 13:09:40 +01:00
Marco Costa
f1a1639c8c Auto-detect locale on first run 2017-04-08 22:39:19 -04:00
David CARLIER
d50a1592fa Prevent double allocations of string allocated config values
Prevent double allocations of string allocated config values since they can be set by default and then set again by reading the config file.
2017-03-28 10:32:22 +02:00
duncanspumpkin
76c154a567 Fix #5285. Config file not read correctly.
When the hashing function finds a collision such as on play_intro and auto_staff_placement it has to do a string compare to find out if two map entries are different. Due to a mistype this comparison would always return true. This meant that the auto_staff_placement value would overwrite the play_intro value. Mistake caused when fixing previous bug
2017-03-08 20:32:21 +00:00
LRFLEW
8e55b6ef22 Make the INI keys case insensitive 2017-03-06 09:22:44 -06:00
Joël Troch
8167ff9678 Fix #1730: Add keyboard shortcuts for track construction (#5200) 2017-03-03 09:35:42 +01:00
Michał Janiszewski
3b3f0b2e6b Return actual instead of default value in IniReader::GetString 2017-02-24 23:39:01 +01:00
Michał Janiszewski
58da1cde84 Make IniReader not throw while parsing invalid values 2017-02-24 20:26:49 +01:00
Michał Janiszewski
1784543e14 Set default first section to true 2017-02-23 23:26:39 +01:00
Michał Janiszewski
9c32cb3a62 Don't break on too short INI streams 2017-02-23 23:26:39 +01:00
Ted John
9ba51f221b Add summary comments 2017-02-22 18:00:19 +00:00
Ted John
40eb2c55fd Reduce duplicated code in IniReader 2017-02-22 17:58:50 +00:00
Ted John
d72ced4ea9 Remove final from struct 2017-02-22 17:54:37 +00:00
Ted John
4dc792bc1d Use IStream for IniReader and IniWriter 2017-02-22 17:52:33 +00:00
Ted John
6e9d22e99d Use hpp for header files
...as they contain C++ implementation code.
2017-02-22 17:46:10 +00:00
Ted John
a9ffe5bf6d Convert tabs to spaces in KeyboardShortcuts.cpp 2017-02-21 12:11:19 +00:00
Ted John
80c4e4309d Remove duplicate entries and in wrong enum 2017-02-20 20:04:05 +00:00
Ted John
a473740efd Fix build errors 2017-02-19 21:41:36 +00:00
Ted John
87be032adc Space out sections when writing config.ini 2017-02-19 21:37:06 +00:00
Ted John
fb2c835d52 Include new config header 2017-02-18 15:45:10 +00:00
Ted John
4457749b35 Move keyboard shortcut loading to C++ 2017-02-18 15:30:54 +00:00