153f078ec2* Added comments on System. * Files needed for Game are now only loaded once, except from LEVEL1.PLT. * Added DevMenu to get debug info. * ISR_LoadMenuVBlank() does not stop when accessing SIO. * On fopen() and SERIAL_INTERFACE defined, "#" is prepended and "@" is appended to filename string.
XaviDCR92
2017-07-27 07:41:25 +0200
cb1c0345c7+ Added support for SIO (Serial Input Output). * On SystemLoadFileToBuffer(), files can be now uploaded to PSX using QPSXSerial.
XaviDCR92
2017-07-20 22:36:19 +0200
98d3232ef4* Bugfix: busy runway was not being cleared when aircraft was resting on a 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.
XaviDCR92
2017-07-06 13:15:16 +0200
521efcfe54+ New sprites.
XaviDCR92
2017-06-30 13:04:28 +0200
f7e3421f56* GameRenderBuildingAircraft() done. * (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.
XaviDCR92
2017-06-30 13:03:43 +0200
bd23878d45* Added font spacing parameter. * 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.
XaviDCR92
2017-06-28 16:19:36 +0200
f9f9924566* Reduced tileset sprite size from 64x64 to 64x48. * Modified rendering functions to keep up with this size reduction. * Sprites in TIM have been reordered inside VRAM. * Other minor changes.
XaviDCR92
2017-06-27 00:58:12 +0200
d1f55e8b45* Tried to get some work done in MapEditor with no success so far. * 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.
XaviDCR92
2017-06-11 13:58:33 +0200
022c72fe36* (Bugfix) MemCard: MEMCARD_MAXIMUM_SECTOR changed from 512 (8 << 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.
XaviDCR92
2017-06-08 07:23:25 +0200
faf3197555* Some more work on Plt file generator.
XaviDCR92
2017-06-06 07:13:16 +0200
1244505327* Implemented aircraft collision. But it would not detect collision in some 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.
XaviDCR92
2017-06-06 06:52:46 +0200
c43347edb7* Bugfix: index for selectedAircraft is recalculated when a new aircraft is spawned. * Initial implementation for minimum spawn time in parkings. * GfxIsGPUBusy() check added for MemCard.
XaviDCR92
2017-06-04 14:00:56 +0200
219d958538* More passengers by correct sequence are unboarded. * Aircraft should not be removed on State == STATE_APPROACH. * Initial implementation for finished game. * Added some comments on System.c. * GameGuiPrepareNotificationString() deprecated.
XaviDCR92
2017-06-03 01:37:55 +0200
92c65ff3b2* Used runway is now freed if state == STATE_APPROACH. TODO: Free runway on state == STATE_READY_TAKEOFF or STATE_ENTERING_RWY.
XaviDCR92
2017-05-31 07:24:00 +0200
f5d1b4415c* Aircraft 0 was incorrectly being removed because indexes 0 to 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.
XaviDCR92
2017-05-31 06:57:06 +0200
30b18fd262* Departure flights are not created if parking is busy. * Available TILE_PARKING and TILE_HOLDING_RWY are showed in green. * Fixed lock/unlock target logic. * Added TILE_PARKING_2.
XaviDCR92
2017-05-30 07:00:36 +0200
12247026c5* Takeoff procedure implemented almost completely. TODO: "Holding" message. * Initial implementation to show passengers left when entering correct sequence.
XaviDCR92
2017-05-28 22:57:01 +0200
5286033a40* Takeoff barely implemented. Stil a lot of work to do. * Added new runway holding point tiles. * Bugfixes in last key single pressed.
XaviDCR92
2017-05-28 04:22:03 +0200
5430bd3090* Added more aircraft on LEVEL1.PLT. * 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.
XaviDCR92
2017-05-27 17:10:15 +0200
656eec576e* Implemented remaining time for flights. * Initial STATE_UNBOARDING implementation. Still some work to do. * Added score logic.
XaviDCR92
2017-05-25 07:38:58 +0200
8d2e08d744* Aircraft state was not being transferred ciclically from Game to Aircraft 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.
XaviDCR92
2017-05-24 07:15:38 +0200
aefe5f8c1c* Split screen from now on is only calling GsDrawList() once. The reason for 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!
XaviDCR92
2017-05-22 07:06:17 +0200
3a8f914661* Adjusted coordinates for aircraft list in 2 player mode. * Added new "Id" parameter in TYPE_PLAYER structure. Not ideal, but needed nevertheless.
XaviDCR92
2017-05-07 22:18:34 +0200
6a90ed354f* Split screen is now working. Yay!! * New prototypes for Gfx. Still preliminar, but make split screen work.
XaviDCR92
2017-05-05 23:55:15 +0200
83b4684d7c* Added some comments on System. * 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.
XaviDCR92
2017-05-01 23:05:51 +0200