1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00
Files
OpenRCT2/src/openrct2
Duncan a268350615 Fix #15439: Ride viewport is partially grey
The ride viewport does not work the same as other viewports due to the selection of views that it has. After refactoring the focus system to use a more streamlined approach the ride viewport lost its invalidation on resizing. If the ride window was to use the same viewport update code as say the guest window then the viewport focus still ends up incorrect due to it no longer centring the focus. Therefore the best approach was to lose the focus on resize and force a recalculation of it.

Also renamed Focus2 to Focus as Focus2 was meant to just be fill in whilst removing the original focus structs.
2021-09-21 11:06:04 +02:00
..
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-18 20:31:23 +00:00
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-16 18:31:12 +02:00
2021-09-19 22:38:25 +02:00
2021-08-21 09:43:26 +02:00
2021-08-21 09:43:26 +02:00
2021-09-16 18:31:12 +02:00
2021-08-21 12:55:28 +02:00
2021-08-21 09:43:26 +02:00
2021-08-21 09:43:26 +02:00
2021-09-18 20:31:23 +00:00
2021-09-13 09:29:46 +02:00
2021-07-25 20:16:08 +01:00

Source directory structure

  • actions

    Handles player actions and queues pending actions.

  • audio

    Contains files for mixing and playing music and sound.

  • cmdline

    Code specific to command line (arguments).

  • config

    Code concerning game configuration.

  • core

    Provides core functionality such as string operations, encryption, and compression.

  • 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.

  • management

    Park management logic such as finance, marketing and research.

  • network

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

  • object

    Code relating to objects (rides, shops, scenery, etc).

  • paint

    Prepares objects' sprites to be drawn.

  • 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.

  • rct1

    Code specific only to RCT1 (vanilla).

  • rct2

    Code specific only to RCT2 (vanilla).

  • rct12

    Code specific to vanilla RCT, either RCT 1 or RCT 2.

  • ride

    Data and logic for rides, vehicles and track.

  • scenario

    Code relating to game scenarios.

  • title

    Code for loading and updating title screen sequence.

  • 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.