1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00
Commit Graph

278 Commits

Author SHA1 Message Date
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
Michael Steenbeek
bb483b0c5f Replace direct access to large scenery colour with helper functions 2017-11-17 22:54:54 +01:00
Enrico Paganin
95e75c4575 Refactor colour.h flags 2017-11-17 17:03:57 +01:00
Michael Steenbeek
3bd68947b9 Create functions for getting large scenery type and sequence 2017-11-17 12:56:08 +01:00
Michael Steenbeek
3cf8da184d Create tile_element_get_ride_index() 2017-11-17 12:54:47 +01:00
Michael Steenbeek
f448d16707 Add methods for getting and setting track element type 2017-11-17 12:54:47 +01:00
Michael Steenbeek
ab3f42f1f9 Add getters and setters for ride index and maze entry 2017-11-17 12:54:47 +01:00
Aaron van Geffen
13f99e495e Reduce console verbosity for TTF loading. 2017-11-17 10:31:26 +01:00
Ted John
f36cffc98a Fix running headless instances
colours_init_maps was not blocked when running in headless mode.
2017-11-16 21:53:34 +00:00
Ted John
b5137b0e37 Merge pull request #6574 from IntelOrca/protect-g1-access
Refactor g1 access
2017-11-16 18:51:32 +00:00
Marijn van der Werf
bd0bd9e038 Move top toolbar to UI module 2017-11-11 23:57:19 +01:00
Marijn van der Werf
c247bbcb82 Move ride construction window to UI module 2017-11-11 23:57:19 +01:00
Robert Jordan
4c3065619e Fix #996, #2254, #2589, #2875: Viewport scrolling getting stuck or shaking
Shaking while at the edge of the map has been completely eliminated. In
order to do this, comparison with tile height was also removed which
fixed a few outlier cases.

The main cause was viewport axis were only being set if it's respective
isometric axis was at the boundary, instead of either isometric axis.
Viewport no longer gets stuck which was related to the shaking in the
end. (#2875)

Refactored viewport_update_position. I moved
viewport_set_underground_flag above the bounds checking function since
it had no relation to it. (#996, #2589)

Scrolling on the map edge with arrow keys or mouse edge will now go the
same speed in both directions. (#2254)

Added changelog entry.
2017-11-08 17:43:50 +01:00