1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00
Commit Graph

93 Commits

Author SHA1 Message Date
Michał Janiszewski
796021cfdc fix suspicious left shifts
See b5b1957f5
2015-12-02 08:32:15 +01:00
IntelOrca
c6056cbb6c Merge branch 'pre-release-0.0.3' into develop
Conflicts:
	src/audio/audio.c
2015-11-27 22:05:40 +00:00
duncanspumpkin
cba189c2de Fix #2326. Fixed research bugging out when going back to object selection 2015-11-23 18:25:43 +00:00
Dom Light
e9b7e41635 Refactor audio_sound_play_planned 2015-11-17 23:05:24 +00:00
Dom Light
3a8b25a0ee Sanitize audio.h 2015-11-17 01:05:14 +00:00
Gymnasiast
7a510f76e2 Only play message sound in normal playing mode, fixes #2125 2015-11-08 11:07:35 +01:00
Michał Janiszewski
a911ff09d0 Some more checks, make sure gVehicleHierarchies are counted properly 2015-11-02 22:58:15 +01:00
Ted John
51cdf5bc34 Merge pull request #1714 from janisozaur/news_item_fix
Play sound when message first appears, not later
2015-11-02 21:35:38 +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
Alexander Overvoorde
01793e11b7 Replace RCT2_GLOBAL magic numbers with address identifiers and string ids 2015-10-29 09:44:46 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Sam Horn
7250adaf71 Identify peep->var_C6 2015-10-19 18:36:45 +10:00
Rune Laenen
5d75fa4464 var_2A to outside_of_park 2015-10-02 13:41:13 +02:00
IntelOrca
4dd95c650b implement RideData4 data 2015-09-10 22:16:41 +01:00
IntelOrca
72b153115b fix #1909 2015-09-09 22:56:40 +01:00
Michał Janiszewski
52252f82b3 assorted fixes 2015-09-07 20:51:21 +02:00
Gymnasiast
8490a19328 Don't apply select by track type to research, fixes #1733 2015-08-31 20:20:36 +02:00
IntelOrca
99f2b87043 add chat feature 2015-08-14 09:13:29 -06:00
Gymnasiast
86bcbafc01 Rename finance_mark_loan_settings_as_legitimate() to finance_update_loan_hash() 2015-08-13 09:00:49 +02:00
Gymnasiast
e9637978a1 Fix cheat detection when using Scenario Options in-game, rename sub_69E869() 2015-08-12 16:12:34 +02:00
Maikel Stuivenberg
d12b75acc2 hide non-applicable marketing campaigns, closes #1516, closes #1454, fixes #1510 2015-08-05 21:18:56 +01:00
IntelOrca
6b72f9a555 refactor shop item strings 2015-08-05 19:17:37 +01:00
IntelOrca
cec486839c add 'no entrance' style and refactor a few things 2015-08-05 01:24:18 +01:00
IntelOrca
7bcb12503a implement utf8, part 24 (bug fixes) 2015-08-02 11:25:26 +01:00
IntelOrca
799cb53ec7 implement utf8, part 18 2015-08-01 10:20:59 +01:00
IntelOrca
1682eae048 implement utf8, part 4 2015-08-01 10:20:50 +01:00
Michał Janiszewski
8d80e12af2 Play sound when message first appears, not later 2015-07-31 22:37:28 +02:00
Gymnasiast
5ed8948e4f Remove Six Flags branding and limitations, mark the lifecycle flag as deprecated, rename previously unidentified flag 2015-07-27 21:47:55 +02:00
zsilencer
c4a8d27648 fix couple of bugs 2015-07-25 08:50:59 -06:00
Michał Janiszewski
6adb384a7e Refactoring in news_item
Now news_items are fetched only with exposed calls, which add a layer of
simple checks. I also switched few places to access a read-only version
of news_item.
2015-07-25 11:31:17 +02:00
IntelOrca
50187adc37 enable debug configuration and add optimisations to release configuration 2015-07-24 23:48:23 +01:00
IntelOrca
1662b18a7e fix #1662, consistent location sign 2015-07-23 18:38:43 +01:00
zsilencer
9eb4958dde fix #1002 2015-07-05 08:57:01 -06:00
IntelOrca
3d6988b0f7 isolate callprocs in rct1.c and add reset cash function 2015-07-02 18:39:32 +01:00
Gymnasiast
ca1b88fc53 Don't modify flags when in select_by_track_type mode; make it switchable in-game again. 2015-06-25 11:46:17 +02:00
Gymnasiast
a6225ebf06 Add option to select by track type (RCT1 style); correct misspellings of 'separate' 2015-06-24 12:41:19 +02:00
IntelOrca
d5bf01e22c refactor ride type flags 2015-06-21 15:32:28 +01:00
IntelOrca
8416596bf8 implement park_update_histories 2015-06-20 17:28:17 +01:00
Duncan Frost
895d4a81e4 finish implementing remove_selected_objects_from_research
Fixed bug due to freeing rct2 memory.
2015-06-19 21:34:42 +01:00
IntelOrca
705efbeee9 add last_crash_type to ride struct 2015-06-16 00:16:59 +01:00
Duncan Frost
4f03b0c997 Refactor of research.
Fix bug that would cause a crash on a scenario that had rides with same base type
2015-06-07 19:19:17 +01:00
Duncan Frost
9ad775625a Fix small bugs in the inventions window.
I think there might have been a case where the list could get corrupted that this may prevent.
2015-06-07 19:19:16 +01:00
Duncan Frost
97966ac707 Implemented scenery_set_setup for research.
I've also labelled ride_type->flags.
2015-06-07 19:19:16 +01:00
Duncan Frost
47e41b5d82 Fix bug introduced in previous bug fixing!
Accidently switched two functions. Small refactor as well.
2015-06-04 20:15:27 +01:00
IntelOrca
f6eec3725c Merge branch 'develop' of https://github.com/marcotc/OpenRCT2 into marcotc-develop
Conflicts:
	src/openrct2.c
2015-06-04 11:54:27 +01:00
IntelOrca
ab2e6a867f refactor ride names and show ride type/s on object selection window 2015-06-03 19:14:45 +01:00
Marco Costa
f05d851811 Create simple test framework
* Run all tests by passing "test" as a command line argument to
'openrct2'
* Using CuTest 1.5 as a test framework
2015-06-01 21:45:12 -04:00
IntelOrca
6426adb45d remove asm for set scroll size and add gCurrentAwards 2015-05-26 19:28:56 +01:00
IntelOrca
1ac93e44c9 add twitch integration, part 1 2015-05-25 20:36:40 +01:00
Robert Jordan
ab942236d7 Added in-game object selection
New console commands:
- open (opens a window)
- windows (lists windows usable with open)
- load_object (loads the specified obj with the given filename)
- object_count (lists the number of objects in the scenary)
Console commands now have a usage variable.

Use: "open object_selection" for the object selection window.
Once the object selection window is closed, all objects will
automatically be researched whether or not they were already in the base
scenario.
The object selection window will close any other windows when selecting
an object to prevent a crash.
2015-05-23 14:56:54 -04:00