1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00
Commit Graph

304 Commits

Author SHA1 Message Date
Aaron van Geffen
c023f6a3f7 Moved console command, window invalidation, fix help. 2018-01-07 23:53:47 +01:00
Harrison Gentry
752d9bc89d Add cheat and console command to set game date.
Run "date" command on cmdline to set date.

Ex:
$ date 0004 06 13
sets date to June 13th, year 4
2018-01-07 23:53:47 +01:00
Michał Janiszewski
77c4fa00bc Use nullptr instead of NULL in C++ 2018-01-07 21:43:37 +01:00
Michał Janiszewski
2c8528798f Use explicit boolean values, compare with nullptr 2018-01-07 21:38:02 +01:00
Ted John
c3eab7ead6 Refactor window.c to C++ 2018-01-07 12:39:58 +01:00
Ted John
83d1b6eb8f Refactor widget.c to C++ 2018-01-07 12:39:58 +01:00
Ted John
f18595a1c1 Refactor viewport.c to C++ 2018-01-07 12:39:58 +01:00
Ted John
0b84c7bb43 Refactor viewport_interaction.c to C++ 2018-01-07 12:39:58 +01:00
Ted John
c974daf467 Refactor console.c to C++ 2018-01-07 12:39:58 +01:00
Ted John
630a5065db Refactor colour.c to C++ 2018-01-07 12:39:58 +01:00
Ted John
b781291b58 Refactor chat.c to C++ 2018-01-07 12:39:58 +01:00
TELK
d0ec5e95f8 Add park and company value to console 'get' command
This allows getting the park and company value in scenario that don't display them such as Bumbly Bazaar.
2018-01-06 22:00:28 +01:00
Michael Steenbeek
755add6c9a Compile localisation folder as C++ 2018-01-06 18:32:25 +01:00
Ted John
3dcbebcf68 Refactor drawing.c to C++ 2018-01-05 22:57:57 +01:00
Ted John
144dbf431c Refactor ttf.c to C++ 2018-01-05 22:57:55 +01:00
Ted John
559ec8a404 Refactor font.c to C++ 2018-01-05 22:57:54 +01:00
Ted John
02c58a6c5a Remove custom base Exception class 2018-01-05 18:11:47 +00:00
Michael Steenbeek
91589f57c6 Compile map.c as C++ 2018-01-03 20:40:51 +01:00
Ted John
49f5611bd1 Rename scenario.c|h to cpp 2018-01-03 15:07:17 +01:00
Hielke Morsink
eb4a8924d1 Refactor and clean up footpath-related code
This commit corrects some misused defines, and gave them clearer names.
For example, the slope mask was only useful for surface elements, so now
"SURFACE" is in its name. I also replaced any hard coded values that I
could find and knew their purpose off.
2018-01-03 10:57:37 +01:00
Michael Steenbeek
347ff702d0 Refactor objects 2018-01-03 10:16:51 +01:00
Michał Janiszewski
68881fbbc7 Call core_init() on paths that need it 2018-01-02 19:53:51 +01:00
Gymnasiast
1626f86acc Compile park.c as C++ 2018-01-01 01:18:12 +01:00
Gymnasiast
23d70a4ac9 Compile ride.c as C++ 2017-12-31 20:43:17 +01:00
Robert Jordan
298420fd1e Finalize follow sprite command
Added new smart follow variable to window to more intuitively follow
sprites that may not be directly followable at all times.
Follow sprite is now canceled when dragging the screen but not
scrolling. This is only relevant when testing title sequences in game.
Select sprite button is now disabled in the title menu.
Sprites are now identified based on their name. Excess identification
information is not given as it'd clutter up the screen and is not
necissary with the viewbox in the command editor.
2017-12-31 20:03:09 +01:00
Michał Janiszewski
b574c23172 Fix function declaration 2017-12-26 18:09:00 +01:00
Marijn van der Werf
a29c4f49a0 Add function description 2017-12-25 15:06:06 +01:00
Marijn van der Werf
6251577305 Refactor direct access to window list 2017-12-25 15:06:06 +01:00
Marijn van der Werf
0048ef091f Refactor direct access to window list 2017-12-25 15:06:06 +01:00
Hielke Morsink
628039dd8a Use range-based for loops in libopenrct2 2017-12-21 23:47:30 +01:00
Gymnasiast
44651defa7 Fix #6447: Rename friction to mass 2017-12-17 20:11:55 +01:00
Michael Steenbeek
c4f44e5e7a Compile files in paint folder as C++ 2017-12-17 17:24:36 +01:00
Marijn van der Werf
b660b42554 Move land tool 2017-12-16 15:47:38 +02:00
Marijn van der Werf
6b17a185d6 Move graph 2017-12-16 15:47:38 +02:00
Michael Steenbeek
1a9975d683 Compile util and cheats as C++ 2017-12-14 10:03:21 +01:00
Michael Steenbeek
9ea5302a2a Refactor access to some footpath stuff 2017-12-13 13:51:38 +01:00
Michael Steenbeek
6dc49d643a Compile files in base dir as C++ 2017-12-13 08:03:48 +01:00
Christian F. Coors
0aa515355a Add cursor scaling 2017-12-12 22:11:40 +01:00
Hielke Morsink
3f685b4213 Add more options for visual changes 2017-12-11 17:45:23 +00:00
Hielke Morsink
59df0a9941 Add no-peeps and no-sprites options 2017-12-11 17:45:23 +00:00
Hielke Morsink
9b874f8abe Refactor screenshot options 2017-12-11 17:45:23 +00:00
Hielke Morsink
79aa4a99cf Use range-based for loops 2017-12-08 11:06:43 +01:00
Michael Steenbeek
3868b100df Stop encrypting money
It serves no purpose any more. Of course, we still need the ENCRYPT_MONEY() and DECRYPT_MONEY() functions for importing and exporting S6 files.
2017-12-07 23:22:24 +01:00
Marijn van der Werf
2d776de772 Extract functions from EditorObjectSelection 2017-12-07 17:52:03 +01:00
Marijn van der Werf
862ab26cc1 Move object selection window to UI module 2017-12-07 17:52:03 +01:00
Michael Steenbeek
60d8865efb Compile game.c and game.h as C++ 2017-12-05 09:10:27 +01:00
Ted John
99d7aaa2d6 Remove RCT2 interop 2017-12-04 19:04:06 +00:00
Ted John
9b5b671673 Fix #6776: Screenshots do not get stored in screenshot folder 2017-12-04 17:46:56 +00:00
Ted John
47a68e9e90 Add constant for maximum zoom level 2017-11-30 21:21:38 +00:00
Hielke Morsink
59cfc3459d Add clear button 2017-11-26 13:44:45 +00:00