1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Files
OpenRCT2/src/openrct2
Jim Armstrong 9c976daa51 Refactor #9474: Refactor jumping fountain code (#9475)
* Refactor jumping_fountain_update to Update

* Refactor jumping_fountain_get_type to GetType

* Refactor jumping_fountain_continue to Continue

Fix typos and misc refactoring

* Refactor begin and create functions into static member functions

Move jumping_fountain_begin and jumping_fountain_create into the rct_jumping_fountain struct and make them static

* Refactor remaining fountain functionality into member functions

* Rename JumpingFountain struct and move to proper header file

JumpingFountain code was refactored to conform to variable naming conventions and moved into the Fountain.h file.

rct_sprite_generic struct was moved to SpriteBase.h - this was done to get around a circular header dependency between Fountain.h and Sprite.h

* Set access modifier for private functions

* Change JumpingFountain variable names to TitleCase

* Refactor #9474: Clarify where auto is being used with pointers

* Refactor #9474: Change function names for clarity

* Refactor #9474: Fix incorrect function names
2019-07-11 20:38:30 +01:00
..
2019-06-11 18:43:23 +01:00
2019-07-10 22:52:26 +02:00
2019-06-09 11:55:41 +02:00
2019-05-12 11:32:33 +02:00
2019-06-20 19:34:02 +01:00
2019-05-04 15:28:38 +02:00
2019-05-04 15:28:38 +02:00
2019-05-11 21:31:34 +02:00
2019-06-20 19:34:02 +01:00
2019-06-20 19:34:02 +01:00
2019-05-11 21:31:34 +02:00
2019-07-10 22:52:26 +02:00

Source directory structure

  • audio

    Contains files for mixing and playing music and sound.

  • drawing

    Low level drawing logic and palette tables.

  • interface

    Window and widget logic, includes high level drawing and input.

  • localisation

    String IDs, currency and date logic.

  • network

    Network and multiplayer logic, includes management of network games and downloading / uploading of content.

  • management

    Park management logic such as finance, marketing and research.

  • peep

    Guest and staff definitions and logic such as action management and pathfinding.

  • platform

    Compiler and operating system specific code such as type definitions, message handling and file input / output.

  • ride

    Data and logic for rides, vehicles and track.

  • util

    Utility and helper functions.

  • windows

    Definitions and logic for all the windows in the game.

  • world

    World objects and mechanics such as the climate, landscape, sprites and park.