aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* + Added support for SIO (Serial Input Output).XaviDCR922017-07-2023-319/+498
| | | | * On SystemLoadFileToBuffer(), files can be now uploaded to PSX using QPSXSerial.
* * Bugfix: busy runway was not being cleared when aircraft was resting on a ↵XaviDCR922017-07-064-18/+71
| | | | | | | runway tile e.g.: STATE_READY_FOR_TAKEOFF or STATE_LANDED. * Reimplemented slow rendering on 2-player mode (provisionally though as long as I don't find any better solution). * Other minor fixes.
* + New sprites.XaviDCR922017-06-303-0/+0
|
* * GameRenderBuildingAircraft() done.XaviDCR922017-06-305-160/+292
| | | | | * (Bugfix): on AircraftGetTileFromFlightDataIndex(), a buffer overrun was caused when asking for index = AIRCRAFT_INVALID_IDX. * Added new parameters for some building types. Still some work pending.
* * Added font spacing parameter.XaviDCR922017-06-2813-296/+487
| | | | | | * Removed obsolete, unused functions. * Performance optimization: routines inside GameCalculations() were computating a big loop several times, so this has been modified so that loop is only performed once. * Initial implementation for GameGetAircraftTilemap(). Still some work TODO.
* * Reduced tileset sprite size from 64x64 to 64x48.XaviDCR922017-06-2731-52327/+370
| | | | | | * Modified rendering functions to keep up with this size reduction. * Sprites in TIM have been reordered inside VRAM. * Other minor changes.
* * Tried to get some work done in MapEditor with no success so far.XaviDCR922017-06-1117-135/+556
| | | | | | * 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.
* * (Bugfix) MemCard: MEMCARD_MAXIMUM_SECTOR changed from 512 (8 << ↵XaviDCR922017-06-084-8/+9
| | | | | | | MEMCARD_SECTORS_PER_BLOCK_BITSHIFT) to 1024 (16 << MEMCARD_SECTORS_PER_BLOCK_BITSHIFT). * DrawEnv and DispEnv buffers are no longer swapped using DMA commands, but GPIO. This ensures stability under real hw. TODO: how to fix in 2-player mode? * Provisionally removed semi-transparency for aircraft shadow sprite.
* * Some more work on Plt file generator.XaviDCR922017-06-063-13/+49
|
* * Implemented aircraft collision. But it would not detect collision in some ↵XaviDCR922017-06-0623-126/+368
| | | | | | | | 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-047-40/+154
| | | | | | | spawned. * Initial implementation for minimum spawn time in parkings. * GfxIsGPUBusy() check added for MemCard.
* * More passengers by correct sequence are unboarded.XaviDCR922017-06-0311-210/+399
| | | | | | | * Aircraft should not be removed on State == STATE_APPROACH. * Initial implementation for finished game. * Added some comments on System.c. * GameGuiPrepareNotificationString() deprecated.
* * Used runway is now freed if state == STATE_APPROACH.XaviDCR922017-05-317-31/+70
| | | | TODO: Free runway on state == STATE_READY_TAKEOFF or STATE_ENTERING_RWY.
* * Aircraft 0 was incorrectly being removed because indexes 0 to ↵XaviDCR922017-05-3111-78/+180
| | | | | | | | | | 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.
* * Departure flights are not created if parking is busy.XaviDCR922017-05-307-52/+160
| | | | | | * Available TILE_PARKING and TILE_HOLDING_RWY are showed in green. * Fixed lock/unlock target logic. * Added TILE_PARKING_2.
* * Takeoff procedure implemented almost completely. TODO: "Holding" message.XaviDCR922017-05-288-165/+400
| | | | * Initial implementation to show passengers left when entering correct sequence.
* - Obsolete pseudocode files removed.XaviDCR922017-05-281-41/+0
|
* * Takeoff barely implemented. Stil a lot of work to do.XaviDCR922017-05-2811-53/+210
| | | | | * Added new runway holding point tiles. * Bugfixes in last key single pressed.
* * Added more aircraft on LEVEL1.PLT.XaviDCR922017-05-2712-118/+204
| | | | | | * 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-2511-43/+297
| | | | | * 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-2413-315/+488
| | | | | | | | | | 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.
* * Split screen from now on is only calling GsDrawList() once. The reason for ↵XaviDCR922017-05-229-97/+176
| | | | | | | | | this is that now DMA is used instead of GPIO for drawenv/dispenv management. * (PSXSDK internals): incorrect bit shifting was being made on 0xE3 and 0xE4 GPU instructions (drawenv management). * (Bugfix): Timers were not being reset properly because pad1_cheat_timer and pad2_cheat_timer were being accidentally reset to NULL on calling memset() for cheatsArray. * Timers are now updated every 100 ms instead of every second. * Mouse sprite should be now drawn on X_SCREEN_RESOLUTION >> 2 in 2-player mode. TODO: check why this isn't working!
* * Adjusted coordinates for aircraft list in 2 player mode.XaviDCR922017-05-074-29/+35
| | | | * Added new "Id" parameter in TYPE_PLAYER structure. Not ideal, but needed nevertheless.
* * Split screen is now working. Yay!!XaviDCR922017-05-0511-101/+179
| | | | * New prototypes for Gfx. Still preliminar, but make split screen work.
* * Added some comments on System.XaviDCR922017-05-0116-137/+487
| | | | | | | * 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.
* Merge branch 'master' of https://github.com/XaviDCR92/AirportXaviDCR922017-02-040-0/+0
|\
| * Initial commitXaviDCR922017-02-041-0/+674
|
* * Updated.XaviDCR922017-02-04219-0/+0
|
* Added LICENSE fileXavier Del Campo2017-02-041-0/+674
|
* Initial commitXavier Del Campo2017-02-04242-0/+218552