Age | Commit message (Collapse) | Author |
|
|
|
|
|
The enum values still have the exact same numerical values, but the 10.12
SDK introduced more explicit names (e.g. like NSEventTypeApplicationDefined
instead of NSApplicationDefined) for several enum constants.
Use them when available.
|
|
|
|
the video buffer.
|
|
MainLoop() is used to bootstrap OSX, where later a callback is
done to GameLoop() to execute OpenTTD. All other video drivers
don't need that, so what is in GameLoop is in MainLoop for all
other drivers. This is rather confusing. So, instead, name
GameLoop MainLoopReal to be more in sync with the other drivers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mouse up.
|
|
|
|
|
|
|
|
|
|
|
|
This allows the drawing backend code to be independent
of any event or command handling.
|
|
|
|
|
|
|
|
|
|
This replicates the behaviour on e.g. Windows, which saves the original window size.
|
|
|
|
instead simply initialise the buffer on allocation.
|
|
drawing code and moving the window/event handling to a different file.
This is just a code move/rename, not a functionality change.
|