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
Hielke Morsink
c648a60502
Add search box to track list window
...
This adds a vector of indices used for the track designs array, which is
used instead of the window list index.
Some other things I've edited that are not directly related to this
commit:
- Orders widgets in logical order like how they appear on screen
- Adds some comments to existing code
2017-11-26 13:44:45 +00:00
Ted John
84305af7ab
Merge pull request #6715 from Broxzier/screenshot_climate
...
Add optional screenshot argument to set weather
2017-11-25 23:32:35 +00:00
Marijn van der Werf
f19344aea6
Move tile inspector to UI module
2017-11-23 23:12:25 +01:00
Hielke Morsink
a5111d9feb
Small fixes
...
- Including C++ stdlib version and using std:: for its functions
- Added new line after printing the IOexception
- Properly clean up after quiting when weather has an invalid value
2017-11-22 00:46:29 +01:00
Hielke Morsink
34bce9892d
Turn weather setting into command line option
...
Inside the HandleScreenshot function, the argc will be reduced to the
number of arguments minus the options. This way the function doesn't
have to deal with extra optional arguments.
2017-11-21 18:18:42 +01:00
Hielke Morsink
9452457bf9
Add optional screenshot argument to set weather
2017-11-21 00:29:24 +01:00
Michael Steenbeek
dd8464f907
Refactor small, large and wall scenery
2017-11-20 14:40:56 +01:00
Michael Steenbeek
bf69b2e682
Make terminology use more consistent
2017-11-20 11:20:04 +01:00
Michael Steenbeek
e3ab7e723d
Fix #6701 : assertion on string ID -2 and name it
2017-11-19 22:22:04 +01:00
Michael Steenbeek
03299b9a64
Assert string number is not -2
2017-11-19 16:47:35 +01:00
Marijn van der Werf
67ebf40f83
Move main editor window to UI project
2017-11-18 21:07:21 +01:00
Marijn van der Werf
dceb403ca9
Move editor bottom toolbar to UI module
2017-11-18 21:07:21 +01:00
Marijn van der Werf
8b7322ad6e
Move bottom toolbar to UI module
2017-11-18 21:07:21 +01:00
Marijn van der Werf
3d7867791d
Move scenery window to UI module
2017-11-18 21:07:21 +01:00