| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
Fixed X position for "Remaining aircraft" and "Next aircraft" messages in GameGui.c
|
| |
|
|
|
| |
Added BUILDING_ATC_LOC.
Added more levels.
|
| |
|
|
|
| |
Minor fixes and improvements.
Path is shown when selecting a moving aircraft.
|
| | |
|
| |
|
|
| |
Improved const-correctness and scope for some variables.
|
| |
|
|
|
| |
"cdrom:\ and ;1" are automatically inserted into file name, in order to save memory space.
Some minor optimizations.
|
| | |
|
| |
|
|
| |
* GameGui.c: status shown on aircraft list is now summarized on a table.
|
| |
|
|
| |
* Minor: added whitespace to "sizeof" operand.
|
| |
|
|
|
|
|
|
| |
I have created two separate sprites: LeftRightArrowSpr and UpDownArrowSpr. Still, H_FLIP isn't working properly.
* GameGui.c: new function GameGuiCalculateNextAircraftTime(), which calculates remaining time for next aircraft on the list.
* GameStructures.h: new parameter NextAircraftTime for TYPE_PLAYER structures.
* Game.c: added call to new function GameGuiCalculateNextAircraftTime().
|
| |
|
|
|
|
|
| |
* Game.c: GameRenderLevel() renamed to GameRenderTerrain().
* Game.c: GameRenderTerrainPrecalculations() has been created to perform some calculations which are stored in tables to be then looked up by GameRenderTerrain(). This should save us some calculation time during rendering process.
* Camera.c: added new CameraApplyCoordinatesToCartesianPos() prototype.
* GameGui.c: AircraftDataGPoly4 RGB data is now only calculated on startup.
|
| |
|
|
|
|
| |
* Game.c: new prototypes GameGetParkingDirection() and GameGetRunwayDirection().
* Slight optimizations into GameRenderLevel().
* Added some comment headers into Gfx.c.
|
| | |
|
| |
|
|
|
|
|
| |
against != false.
+ Added a provisional background during gameplay (still WIP).
* Map editor now allows creating a map.
|
| |
|
|
| |
caused a game crash. Bugfix: aircraft did not stop when DIR_SOUTH.
|
| |
|
|
|
|
|
| |
* Aircraft now prevents collision against other aircraft if state == STATE_TAXIING.
* Game: new event handlers for new Aircraft collision prevention algorithm.
* Font: although not compulsory, _blend_effect_lum should be volatile.
* Other minor changes.
|
| |
|
|
| |
* Makefile now generates output TIM files automatically, using 'cat whatever.flags' files as flags for bmp2tim.
|
| |
|
|
| |
+ Added output ELF file with debugging symbols for nocash.
|
| |
|
|
|
|
|
|
|
| |
new aircraft appeared.
* (Bugfix): PltParser was casting remaining time to uint8_t instead of uint16_t.
* Reduced file buffer size to original value.
* GfxDrawButton(): L1/R1/L2/R2 text is now printed on top of Lx/Rx button.
* Other minor changes.
|
| |
|
|
|
| |
* Radio chatter sounds.
* Created aircraft state STATE_STOPPED, to be used when L1 is pressed on aircraft selection mode.
|
| |
|
|
|
|
|
|
| |
* Sine-like effect used for runways now moved to SystemCalculateSine().
* Bugfix: ptrPlayer->FlightDataPage is now decreased if there aren't enough active aircraft.
* On main menu, 2 players option is now disabled if pad 2 is disconnected.
* More work on FPS measurement (not working yet).
* Number of used SPU voices is now returned on SfxUploadSound().
|
| |
|
|
|
| |
* Added some more comments on Game.c.
* On GamePathToTile(), duplicate checks for existing tile have been replaced by calls to GameWaypointCheckExisting().
|
| |
|
|
|
|
|
|
|
| |
be...
* Makefile now rebuilds needed targets on modified header files.
* Some more work on GameEmergencyMode().
* Initial work on PSX mouse auto detection.
* Prototypes for RCNT2 I_MASK bit handling.
|
| |
|
|
|
|
|
| |
* 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.
|
| |
|
|
| |
* On SystemLoadFileToBuffer(), files can be now uploaded to PSX using QPSXSerial.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
* (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.
|
| |
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* Modified rendering functions to keep up with this size reduction.
* Sprites in TIM have been reordered inside VRAM.
* Other minor changes.
|
| |
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
spawned.
* Initial implementation for minimum spawn time in parkings.
* GfxIsGPUBusy() check added for MemCard.
|
| |
|
|
|
|
|
| |
* Aircraft should not be removed on State == STATE_APPROACH.
* Initial implementation for finished game.
* Added some comments on System.c.
* GameGuiPrepareNotificationString() deprecated.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* Available TILE_PARKING and TILE_HOLDING_RWY are showed in green.
* Fixed lock/unlock target logic.
* Added TILE_PARKING_2.
|
| |
|
|
| |
* Initial implementation to show passengers left when entering correct sequence.
|
| |
|
|
|
| |
* Added new runway holding point tiles.
* Bugfixes in last key single pressed.
|
| |
|
|
|
|
| |
* 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.
|
| |
|
|
|
| |
* Initial STATE_UNBOARDING implementation. Still some work to do.
* Added score logic.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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!
|
| |
|
|
| |
* Added new "Id" parameter in TYPE_PLAYER structure. Not ideal, but needed nevertheless.
|
| |
|
|
| |
* New prototypes for Gfx. Still preliminar, but make split screen work.
|
| |
|
|
|
|
|
| |
* 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.
|
| | |
|
| |
|