aboutsummaryrefslogtreecommitdiff
path: root/Source/GameStructures.h
Commit message (Collapse)AuthorAgeFilesLines
* * Tried to get some work done in MapEditor with no success so far.XaviDCR922017-06-111-1/+0
| | | | | | * Timers with no repeat flag were being set to NULL, but this is not actually desired! * Reenabled transparency for aircraft shadow. * Deprecated NotificationRequest flags, and replaced by system timer handling.
* * Implemented aircraft collision. But it would not detect collision in some ↵XaviDCR922017-06-061-0/+19
| | | | | | | | cases. * Remove unneeded whitespace character on pointer variables (unary operators should not have any whitespaces). * SelectedAircraft index now increases or decreases automatically on aircraft added/removed. * Started writing Plt generation routines. Still a lot of work TODO.
* * Bugfix: index for selectedAircraft is recalculated when a new aircraft is ↵XaviDCR922017-06-041-0/+1
| | | | | | | spawned. * Initial implementation for minimum spawn time in parkings. * GfxIsGPUBusy() check added for MemCard.
* * Aircraft 0 was incorrectly being removed because indexes 0 to ↵XaviDCR922017-05-311-0/+1
| | | | | | | | | | GAME_MAX_AIRCRAFT were being read instead of 0 to ptrPlayer->ActiveAircraft. * Solved issues with linked list overflow. A detection mechanism has also been added. * New state STATE_ENTERING_RWY. * GameGuiActiveAircraftList has been moved from GameGui to Game module. * Active aircraft list for each player is now updated each time that a new flight either appears or disappears. * Other minor fixes.
* * Takeoff procedure implemented almost completely. TODO: "Holding" message.XaviDCR922017-05-281-0/+2
| | | | * Initial implementation to show passengers left when entering correct sequence.
* * Takeoff barely implemented. Stil a lot of work to do.XaviDCR922017-05-281-0/+3
| | | | | * Added new runway holding point tiles. * Bugfixes in last key single pressed.
* * Added more aircraft on LEVEL1.PLT.XaviDCR922017-05-271-0/+3
| | | | | | * Unboarding state now totally implemented. * (Bugfix): Incorrect aircraft was selected on ShowAircraftData. * Gfx1HzFlash() and Gfx2HzFlash() were incorrectly implemented, causing multiple ticks on a single cycle.
* * Implemented remaining time for flights.XaviDCR922017-05-251-0/+10
| | | | | * Initial STATE_UNBOARDING implementation. Still some work to do. * Added score logic.
* * Aircraft state was not being transferred ciclically from Game to Aircraft ↵XaviDCR922017-05-241-4/+8
| | | | | | | | | | module. * Improved detection of target reaching for Aircraft.c. * Cursor is now displayed correctly on both 1-player and 2-player mode. * Fixed behaviour for locking/unlocking aircraft. * Fixed menus for 2-player mode. * Minor fixes and improvements.
* * Adjusted coordinates for aircraft list in 2 player mode.XaviDCR922017-05-071-0/+2
| | | | * Added new "Id" parameter in TYPE_PLAYER structure. Not ideal, but needed nevertheless.
* * Split screen is now working. Yay!!XaviDCR922017-05-051-0/+1
| | | | * New prototypes for Gfx. Still preliminar, but make split screen work.
* * Added some comments on System.XaviDCR922017-05-011-0/+1
| | | | | | | * New routine PadOneKeySinglePress() and PadTwoKeySinglePress(). * Temp waypoints now turn red when colliding with an aircraft or with a previously existing waypoint. * When loading files, GPU operation is finishedbefore calling fopen. Also, I_MASK is disabled just in case. * For PLT files, actual tile needs to be set instead of parking number.
* * Updated.XaviDCR922017-02-041-0/+0
|
* Initial commitXavier Del Campo2017-02-041-0/+206