Files
OpenRCT2-Web/src
Michał Janiszewski 2a2a188a8b Improvements to sprite_paint_setup
This includes following changes:
* Reorder exit conditions by frequency they're hit at, this makes the
  function exit earlier in many cases without having to do expensive
  accesses to global memory.
* The code in C tested (eax > 0x2000) || (ecx > 0x2000) while I believe
  it was meant to check for >= instead (`cmp ax,2000h; jnb`)
* The check mentioned above was changed to be expressed more concisely:
  `((eax | ecx) & 0xe000)`, which generates a single `test` instead of
  two.

It improves performance by 1-2fps in parks that rely heavily on this
function, like the mega-micro park from
https://github.com/OpenRCT2/OpenRCT2/issues/2589
2016-02-23 14:18:53 +01:00
..
2016-02-14 21:06:44 +01:00
2016-02-20 00:23:58 +00:00
2016-02-20 16:37:09 +00:00
2015-12-14 22:52:27 +01:00
2016-01-14 20:21:10 +00:00
2016-02-17 17:39:33 +01:00
2016-02-17 17:39:33 +01:00
2015-09-22 22:58:34 +02:00
2016-02-03 18:23:45 +00:00
2015-12-20 22:03:37 -06:00
2015-12-20 22:03:37 -06:00
2015-09-20 23:19:08 +02:00
2016-01-18 20:49:52 +01:00
2016-01-09 00:25:30 +00:00
2016-02-19 18:23:13 +01:00
2016-02-02 14:08:59 -07:00
2016-01-22 16:44:08 -07:00
2015-12-20 22:03:37 -06:00
2016-01-27 07:54:28 +01:00
2015-10-20 20:48:51 +02:00
2015-10-20 20:48:51 +02:00
2016-02-18 20:58:22 +00:00
2015-12-16 14:48:27 -06:00
2016-02-16 20:23:32 +00:00
2016-02-16 20:23:32 +00:00
2014-11-16 15:37:41 +00:00
2016-02-19 18:23:13 +01:00
2016-01-18 20:49:52 +01:00
2016-01-02 21:05:33 +00: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.