Commit Graph

20395 Commits

Author SHA1 Message Date
IntelOrca 00dcb2941e finish scenario start and add park size calculate 2014-05-01 19:35:47 +01:00
atmaxinger f305a518b2 Changed screenshot format from BMP to PNG (using LodePNG)
NOTE: The little popup window ("Screenshot saved to disk as") still
displays a BMP filename, but it saves a PNG file to disk.
2014-05-01 19:10:07 +02:00
IntelOrca 90d38bf744 Merge branch 'master' into path-window 2014-05-01 17:02:37 +01:00
IntelOrca efa7e8fc2b add game flag for development only below tree height 2014-05-01 17:02:00 +01:00
IntelOrca 7de26e9931 rename current day to current month ticks 2014-05-01 16:55:42 +01:00
IntelOrca 89edc7693c fix case and add author to source code header 2014-05-01 16:55:01 +01:00
IntelOrca ae637f6291 fix case and add author to source code header 2014-05-01 14:17:00 +01:00
ZedThree a5c85f0cbe Fix comments 2014-05-01 14:17:00 +01:00
ZedThree 63df868422 Add rct_car sprite and tidy up news locator
Also add (x,y,z) coordinate variables for rct_peep
2014-05-01 14:16:59 +01:00
ZedThree 6c550cbdd6 Change peep news item enum names 2014-05-01 14:16:59 +01:00
ZedThree d5ff2f2781 Fix finding peep on ride news items
Peep's current_* variables were offset by 1. Also fixed comparison
between 32-bit and 16-bit ints.
2014-05-01 14:16:58 +01:00
ZedThree 8c28dbaaef Name peep variables for current train and car 2014-05-01 14:16:58 +01:00
ZedThree b1fef8db57 Fix comments 2014-05-01 14:12:30 +02:00
ZedThree 7d38432796 Add rct_car sprite and tidy up news locator
Also add (x,y,z) coordinate variables for rct_peep
2014-05-01 14:02:28 +02:00
ZedThree 1e9d9c1887 Change peep news item enum names 2014-05-01 13:23:18 +02:00
ZedThree ecc51e2f4b Fix finding peep on ride news items
Peep's current_* variables were offset by 1. Also fixed comparison
between 32-bit and 16-bit ints.
2014-05-01 13:16:41 +02:00
ZedThree 1255d24be6 Name peep variables for current train and car 2014-05-01 13:03:43 +02:00
Matthias Lanzinger c7db7c6013 Merge remote-tracking branch 'upstream/master' 2014-05-01 11:50:09 +02:00
IntelOrca b41ea1c141 add path removal 2014-04-30 19:35:37 +01:00
Kevin Burke 59c8090de5 Add game flag for development only below tree height. 2014-04-30 21:51:29 +05:30
IntelOrca 46308abfe3 add cancel and set tool along with path refactor 2014-04-30 16:57:27 +01:00
IntelOrca 7e63aaaef6 Merge branch 'master' 2014-04-30 14:32:12 +01:00
IntelOrca f236c077bf draw OpenRCT2 text and version on title screen 2014-04-30 14:31:52 +01:00
IntelOrca 46472c35ae improve footpath code 2014-04-30 13:38:27 +01:00
IntelOrca 6dd861a815 fix construct path bridge or tunnel button 2014-04-30 02:25:54 +01:00
IntelOrca 8632b76271 add provisional and placement of paths 2014-04-30 01:59:11 +01:00
IntelOrca d981ead0f3 Merge branch 'master' into path-window 2014-04-29 23:46:55 +01:00
IntelOrca d50e1f1bb9 Merge branch 'title-logo-paint' of https://github.com/benpye/OpenRCT2 into benpye-title-logo-paint 2014-04-29 22:29:45 +01:00
IntelOrca c20d209b69 add path dropdowns and disabled widgets 2014-04-29 22:25:37 +01:00
Ben Pye 0d8f2e43cf Use colour defines over magic numbers 2014-04-29 22:12:04 +01:00
Matthias Lanzinger 9f321fa339 Identified peep.staff_type and days_in_month table. 2014-04-29 22:51:51 +02:00
Ben Pye 7c387f5ace Implement exit button paint and mouseup 2014-04-29 21:12:39 +01:00
Ben Pye 066bd67141 Fix comment relating to prefix for expansion 2014-04-29 21:03:22 +01:00
Ben Pye 7c79d25c97 Add the logo window paint function and move some constants to addresses 2014-04-29 20:34:53 +01:00
Peter Hill 2d69f50444 Define named constant for null sprite locations 2014-04-29 18:40:06 +02:00
IntelOrca 9cf658356f Merge branch 'master' into path-window 2014-04-29 12:40:14 +01:00
IntelOrca 073057dbbe add author credit to source code header 2014-04-29 12:39:18 +01:00
IntelOrca a325bcc856 define next climate variables, all refs rewritten 2014-04-29 12:35:37 +01:00
IntelOrca 1dcfdbe355 refactor climate 2014-04-29 12:18:50 +01:00
Matthias Lanzinger 702674f13e Merge remote-tracking branch 'upstream/master' into update_climate 2014-04-29 12:42:49 +02:00
IntelOrca e617b16e33 add left over footpath window events 2014-04-29 03:12:52 +01:00
Matthias Lanzinger bda09d93d5 Move include inside guard block. 2014-04-28 23:19:18 +02:00
Matthias Lanzinger b5bb145f03 Move all the transition tables to our code. 2014-04-28 23:12:08 +02:00
IntelOrca 6f11cc90ff credit author in source code header 2014-04-28 22:03:52 +02:00
Alexander Overvoorde 4201ff06d2 Add separate key buffer for shortcuts to fix misbehaving panning with keyboard 2014-04-28 22:03:52 +02:00
IntelOrca eba38c7bb9 add about window 2014-04-28 22:03:52 +02:00
IntelOrca 6dff411f2d fix bugs in game_handle_input_mouse 2014-04-28 22:03:51 +02:00
ZedThree 6f756bb458 Replace variable addresses with named constants
Done automatically with sed/unix
2014-04-28 22:00:54 +02:00
Matthias Lanzinger b7ae1c7266 Slight climate refactoring 2014-04-28 20:39:10 +02:00
Matthias Lanzinger 22bcc5d201 Removed redundance in climate_reset 2014-04-28 20:14:50 +02:00
Matthias Lanzinger 573929fee9 Identified full weather data table.
Restructured weather data properly and made window_game_bottom_toolbar use
our table.
Used determine_future_weather in climate_reset.
2014-04-28 19:59:40 +02:00
IntelOrca 3d6bdd67ad add path window invalidate and paint 2014-04-28 18:37:38 +01:00
IntelOrca 1246a14fe3 add footpath window 2014-04-28 17:35:12 +01:00
Matthias Lanzinger 80c1507fd4 Merge remote-tracking branch 'upstream/master' into update_climate 2014-04-28 17:17:52 +02:00
Matthias Lanzinger 039241cde4 Moved the weather table into our code.
Introduced the weather table struct used for future weather calculation.
Added a bit more explanation on how future weather is calculated.
2014-04-28 17:07:13 +02:00
IntelOrca 999429071e credit author in source code header 2014-04-28 15:29:54 +01:00
Alexander Overvoorde aeb5e2a0e4 Add separate key buffer for shortcuts to fix misbehaving panning with keyboard 2014-04-28 16:06:07 +02:00
IntelOrca 8b7a940aa4 add about window 2014-04-28 02:35:37 +01:00
IntelOrca 077d3b9d90 fix bugs in game_handle_input_mouse 2014-04-28 02:35:23 +01:00
Matthias Lanzinger b3c279d9b5 Implement determining future weather. 2014-04-28 02:24:57 +02:00
Matthias Lanzinger b557f5bf1c Identified more climate related values. 2014-04-28 01:05:00 +02:00
Matthias Lanzinger 035fa16fc3 Crude start of a decompiled update_climate() 2014-04-27 23:46:18 +02:00
IntelOrca b8f5385050 add additional authors in source code headers 2014-04-27 20:21:55 +01:00
IntelOrca cdd65dbcee Merge branch 'master' of https://github.com/ZedThree/OpenRCT2 into ZedThree-master 2014-04-27 20:09:35 +01:00
Peter Hill 746000f0cd Replace call by address with function name
Call news_item_get_subject_location by name rather than its address.
Also add short description of function
2014-04-27 20:27:12 +02:00
IntelOrca edba77dd9d change to conform to consistent code style 2014-04-27 15:47:52 +01:00
Matthias Lanzinger 0760dab657 decompile get_system_info() 2014-04-27 13:04:45 +02:00
Matthias Lanzinger d9f0225ee7 Fix RCT2_CALLFUNC 2014-04-27 04:22:50 +02:00
IntelOrca 781d0fdf26 add title options and block tutorial 2014-04-26 16:53:21 +01:00
IntelOrca b9ea3b1143 decompile window mouse wheel input 2014-04-26 15:50:01 +01:00
IntelOrca b8a0365475 fix park window viewport bug 2014-04-26 15:49:44 +01:00
IntelOrca 218cd32c7d add bitmap screenshot saving 2014-04-26 03:17:32 +01:00
IntelOrca 9f91798514 implement keyboard shortcuts 2014-04-26 01:16:32 +01:00
IntelOrca cd14e4b33f Merge branch 'master' of https://github.com/IntelOrca/OpenRCT2.git 2014-04-25 18:25:46 +01:00
IntelOrca 2afb4e12eb add screenshot and error window base functions 2014-04-25 18:25:34 +01:00
RollingStar 9f60a085e0 Comment explaining GAME_PATH. 2014-04-25 12:35:40 -04:00
IntelOrca e63b027683 Merge branch 'master' of https://github.com/IntelOrca/OpenRCT2.git 2014-04-25 03:02:55 +01:00
IntelOrca 5ddaf0359e increase land tool limit to 64 with nice number 2014-04-25 03:02:24 +01:00
IntelOrca be81e69f56 add more input logic 2014-04-25 03:02:06 +01:00
RollingStar f5f3926d51 Corrected typo in comment. 2014-04-24 18:19:58 -04:00
IntelOrca 66e4898217 add config save 2014-04-24 21:29:57 +01:00
IntelOrca eaec44e896 refactor window flags 2014-04-24 20:26:05 +01:00
IntelOrca ea4ea99212 add more input logic and tooltip window 2014-04-24 18:53:42 +01:00
IntelOrca 14dc250fcb space out track definition table correctly 2014-04-23 17:44:46 +01:00
IntelOrca f51a119388 Merge branch 'track-defs' of https://github.com/kevinburke/OpenRCT2 into kevinburke-track-defs 2014-04-23 17:33:57 +01:00
IntelOrca c28c1eae47 add sorting and click to ride list window 2014-04-23 17:29:16 +01:00
Kevin Burke f4352d3205 update some elements that had duplicate keys 2014-04-23 11:39:05 +05:30
Kevin Burke cf5cf6a108 add remaining track defs 2014-04-23 11:33:45 +05:30
IntelOrca 4fa79e29f6 Merge branch 'master' of https://github.com/IntelOrca/OpenRCT2.git 2014-04-23 01:50:54 +01:00
IntelOrca 75dc8243c4 add track definitions 2014-04-23 01:50:40 +01:00
Kevin Burke f82c2582c0 add address for ride properties 2014-04-22 23:13:53 +05:30
Kevin Burke 41358c734a Replace address references with named constant 2014-04-21 15:00:18 +05:30
Kevin Burke e5a925e26c Add newlines to the end of every file (sed/unix do this) 2014-04-21 14:57:48 +05:30
IntelOrca 27d9fccfcf add ride list window 2014-04-20 03:31:54 +01:00
IntelOrca 6b0ba5c6d0 add ride list window 2014-04-19 03:16:20 +01:00
IntelOrca 131673ab0d add graph drawing to park window 2014-04-18 22:47:25 +01:00
IntelOrca cfd9467e30 add clear scenery window 2014-04-18 19:51:18 +01:00
IntelOrca 3002c5dbe2 add land and image dropdown window 2014-04-18 19:00:27 +01:00
IntelOrca 8aed834665 add random title script 2014-04-18 16:26:45 +01:00
IntelOrca d339df5784 improve input 2014-04-18 03:04:46 +01:00
IntelOrca d5da8c41c0 fix viewport bug 2014-04-18 00:07:06 +01:00
IntelOrca b366594a9c allow resizable park window with price added 2014-04-17 19:33:31 +01:00
IntelOrca 7ea9866efb get park window buttons working 2014-04-17 15:12:41 +01:00
IntelOrca 7bab1b34a2 discover text input and other events 2014-04-17 03:19:30 +01:00
IntelOrca eba4b6da9d add other pages to park window 2014-04-16 02:05:49 +01:00
IntelOrca 03db7f5bc0 anchor bottom toolbar to window width 2014-04-15 02:36:58 +01:00
IntelOrca 98aab20369 add cheat window and compile manual 2014-04-15 00:50:20 +01:00
IntelOrca 3f59b7ad9e add park objective window 2014-04-14 21:25:20 +01:00
IntelOrca b4b885a706 add right click viewport input 2014-04-14 20:26:29 +01:00
IntelOrca c8f3c0ac2e add viewport drag 2014-04-14 14:32:05 +01:00
IntelOrca b5b23cb91b add water and input logic 2014-04-14 03:09:51 +01:00
IntelOrca b98ca0e45b add land window 2014-04-13 22:23:56 +01:00
IntelOrca f2f1f46880 add news item subject locating 2014-04-12 02:14:31 +01:00
IntelOrca 71ea2cc072 add news item location finding 2014-04-11 20:02:20 +01:00
IntelOrca 8cbe0e7aa1 add more drawing of bottom toolbar 2014-04-11 17:38:15 +01:00
IntelOrca 5cb1600417 add bottom toolbar 2014-04-11 03:58:17 +01:00
IntelOrca ceb8f8113a add top toolbar and ride types 2014-04-11 02:42:39 +01:00
IntelOrca ee2b89a1b4 optimise drawing 2014-04-10 18:41:35 +01:00
IntelOrca 32dec4ab52 add some object loading 2014-04-10 17:08:41 +01:00
IntelOrca b23c12d435 add scenario loading and title script 2014-04-10 15:14:47 +01:00
IntelOrca 9e9daaedfa add more map definitions 2014-04-10 04:02:06 +01:00
IntelOrca ea83736d5a improve scenario structures 2014-04-10 03:23:12 +01:00
IntelOrca 3ae8971340 add scenario / saved game decoding 2014-04-10 00:22:57 +01:00
IntelOrca 5f74540a0f add drawing of some widgets 2014-04-09 22:35:29 +01:00
IntelOrca d86799e8fc finish scenario select 2014-04-09 18:38:04 +01:00
IntelOrca 481b8e23c0 add editor loading 2014-04-09 17:06:47 +01:00
IntelOrca 0402ffe6fc add title menu and dropdown 2014-04-09 14:43:27 +01:00
IntelOrca c8d2b0bf1e add climate and date 2014-04-09 11:16:35 +01:00
IntelOrca 535e62f3aa add map initialisation 2014-04-09 03:09:30 +01:00
IntelOrca f5917e71f5 add ride initialisation 2014-04-09 02:39:28 +01:00
IntelOrca 902bfc786e add draw window 2014-04-08 19:49:04 +01:00
IntelOrca 286b43355a start work on window drawing 2014-04-08 17:52:39 +01:00
IntelOrca 1b92d895a2 add some park functions 2014-04-08 00:41:35 +01:00
IntelOrca 880e741341 add config load 2014-04-08 00:05:05 +01:00
IntelOrca 882c3fa9ae add scenario list loading 2014-04-06 17:45:09 +01:00
IntelOrca 5909a17dbc add some news item functions 2014-04-04 21:46:26 +01:00
IntelOrca 88f517f907 add loading of g1.dat 2014-04-04 19:59:32 +01:00
IntelOrca 7a83a8b1a8 fix window problems and add scenario select 2014-04-03 19:49:00 +01:00
IntelOrca d4c6993121 fixed source code errors and added play panned wrap 2014-04-03 17:52:25 +01:00
IntelOrca 3a6a55147f add window functions and title screen windows 2014-04-03 03:08:06 +01:00
IntelOrca 0a12f15a25 add peep updating 2014-04-03 00:22:33 +01:00
IntelOrca ffcbb5b26d add non-commited files and improve window resize 2014-04-02 21:50:16 +01:00
IntelOrca 182db27ab3 add intro screen code 2014-04-02 16:46:58 +01:00
IntelOrca bfd3ad8b28 add window definitions and update all subroutine 2014-04-02 04:56:26 +01:00
IntelOrca 643db7ae01 initial commit
Working game in SDL2 window but with various bugs and incomplete input
logic.
2014-04-02 00:31:55 +01:00