1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
IntelOrca
ce924b4b1b add new custom title sequence to celebrate 0.0.2 release 2015-06-14 21:01:48 +01:00
Duncan Frost
adea7cb9ad Fix incorrect string text colour.
With the change in how text box colouring is done during the first drawing of any window it would default to the wrong colour due to not calling invalidate before setting the window colour global variables.
2015-06-14 09:10:56 +01:00
IntelOrca
26abb73b8e implement update_cursor_position 2015-06-12 23:29:26 +01:00
IntelOrca
b2e9559d31 fix window issues, fixes #1306 2015-06-11 13:04:55 +01:00
IntelOrca
0dd749baac refactor window event calls 2015-06-09 18:29:02 +01:00
IntelOrca
f4a4df1cb5 implement window_create_auto_pos 2015-06-07 18:14:33 +01:00
Robert Jordan
9f9143a5c6 textbox widget 2015-06-06 17:04:53 -04:00
Duncan Frost
c9543005de Fix small issues with scrolling.
I've found the cause of the cursors not correctly changing. It would appear ebx is popped to its previous value as the call function returns. This causes the cursor value to never change. This can be solved when all windows are complete. Fixes points i, ii, iii, iv of #1127 (Fixed by reseting scroll positions when the height is 0. And actually passing the scroll index to the calling function)
2015-06-03 20:54:28 +01:00
Duncan Frost
3bd3fccb57 Fix rotation disapearing sprites
This was caused by the sprite quadrant assignment not being reset when a new rotation was assigned
2015-05-30 10:15:29 +01:00
IntelOrca
6f1cd77f3c implement textinput_cancel and refactor textinput event calls 2015-05-28 01:15:58 +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
Gymnasiast
36ccfe77e0 Add GUI option for switching to the RCT1 colour scheme, along with proper invalidation of the affected windows 2015-05-21 12:28:51 +02:00
Robert Jordan
dc38087f07 Fixed tooltip issue #1053
Tooltips should now behave more like RCT2.
2015-05-20 12:53:02 -04:00
Robert Jordan
a8ec43f065 Select size strings now use args 2015-05-13 11:38:44 -04:00
Ted John
e08e4b7f61 Merge pull request #988 from Garogolun/footpath-stuff
Added two footpath functions
2015-04-12 23:15:20 +01:00
Timmy Weerwag
930a9d61dd Fixes for a couple of warnings 2015-04-12 23:26:15 +02:00
Timmy Weerwag
5f55bd97be Decompiled sub_688972 2015-04-04 14:39:46 +02:00
Timmy Weerwag
b20efdada8 Refactored common code into viewport_coord_to_map_coord 2015-04-03 21:11:03 +02:00
IntelOrca
851b0819b9 clean up many CALL_PROCs and implement a few functions 2015-03-31 02:21:30 +01:00
IntelOrca
63561f396a fix window update event call for old window code 2015-03-25 18:01:03 +00:00
IntelOrca
c6c796ab06 fix invalid park stats information when paused, fixes #957 2015-03-25 11:14:59 +00:00
Adrian Wielgosik
3a6fcf790c Iterate over windows backwards to close last window; fixes #932 2015-03-19 22:35:33 +01:00
Duncan Frost
3fa3f6b4b1 Added in HACK comments for future reference 2015-02-28 15:52:47 +00:00
Duncan Frost
daf0b4e1b1 Fix formating of input.c. Added bring to front on scroll to mask #784 2015-02-28 13:53:30 +00:00
Timmy Weerwag
454e7dbd23 Move title_options button after resizing screen 2015-02-20 02:31:17 +01:00
IntelOrca
524ae55052 fix initial directory issue on loadsave and sort items 2015-02-15 15:35:30 +00:00
IntelOrca
e2ee120483 make scenery window usable, partially fixes #408 2015-02-15 13:54:11 +00:00
IntelOrca
66c302eb3d use new create_window_centred function 2015-02-14 18:26:59 +00:00
IntelOrca
ac4cd56b63 add new load / save window, closes #580 2015-02-14 02:16:03 +00:00
IntelOrca
a66b29076b move osinterface code to shared or windows 2015-02-12 20:51:40 +00:00
IntelOrca
483e983639 allow mouse wheel zooming on viewports, fixes #774 2015-02-11 22:42:54 +00:00
IntelOrca
0db1c88f2b refactor window hold down widgets (var_020) 2015-02-10 20:40:33 +00:00
Duncan Frost
0f6dd51736 Added load_palette. Labelled offset for paused and palette effect frame. Fixed fast moving water. 2015-02-07 17:40:20 +00:00
Duncan Frost
e7a0b31884 Ride locate now uses standard scroll_to_viewport.Fix #705 2015-01-19 17:24:39 +00:00
Duncan Frost
7e2da48717 Fix #691. Relocate windows on a resize of the window 2015-01-17 09:55:27 +00:00
Duncan Frost
974ecd904c Finish game command 20 change surface style 2015-01-12 18:39:53 +00:00
Duncan Frost
a96bf872bf Added more of demolish. Fixed bug in window_close 2014-12-20 11:14:26 +00:00
IntelOrca
44efbd95ac implement more footpath construction and window 2014-12-17 20:45:27 +00:00
IntelOrca
d00001fed2 remove unnecessary header includes 2014-11-30 20:27:14 +00:00
IntelOrca
adb5f84f55 implement editor_convert_save_to_scenario 2014-11-23 23:03:59 +00:00
IntelOrca
0e0e9c9840 merge qcz editor early to help finish other editor parts 2014-11-23 16:28:23 +00:00
zsilencer
2dcd3b4935 use mixer for ride music 2014-11-13 19:51:02 -07:00
zsilencer
c3086a5b9f finish ride music decompile 2014-11-12 18:32:33 -07:00
IntelOrca
2be36b1621 fixes #564 - ebp not restored on mouse down event call 2014-11-12 22:59:50 +00:00
IntelOrca
5a4b940fc2 fix and refactor window event calls 2014-11-11 20:51:25 +00:00
IntelOrca
0cef1c9517 refactor input widgets and keyboard_shortcut screen flags 2014-11-11 16:06:51 +00:00
IntelOrca
53c8a20e0b refactor input window position and resize 2014-11-11 00:20:06 +00:00
IntelOrca
798efef6e7 use standard integer constants 2014-11-10 02:30:55 +00:00
IntelOrca
13b56f68d3 add window snapping 2014-11-09 17:18:51 +00:00
IntelOrca
19d3852f9c refactor update ride more 2014-11-02 14:03:28 +00:00