aboutsummaryrefslogtreecommitdiff
path: root/cdimg
Commit message (Collapse)AuthorAgeFilesLines
* Remove intermediate filesXavier Del Campo Romero2021-01-0150-140/+0
|
* Removed SIO interrupt (it caused VBlank ISR not to be triggered).Xavier ASUS2018-11-301-0/+0
| | | | | | | Added Gfx wait on LoadMenuEnd(). Otherwise, some levels would not start after loading all required files. Also, added GPU wait on Menu.c before entering the main loop. An invalid index inside sound table was being accessed when creating an arrival flight. This made the game crash only under real hardware. Other minor changes and fixes.
* Set SERIAL_INTERFACE compile flagXavier ASUS2018-11-291-0/+0
|
* Blue background dimensions are now limited to drawing enviroment's.Xavier ASUS2018-11-291-0/+0
| | | | Fixed X position for "Remaining aircraft" and "Next aircraft" messages in GameGui.c
* Added new levels into cdimg subfolder.Xavier ASUS2018-11-297-0/+35
| | | | | Added EXE file. Added final BIN image file.
* TILE_TAXIWAY_CORNER_GRASS_3 added to accepted tiles list.Xavier ASUS2018-11-272-0/+0
| | | | | Building edition is now supported on MapEditor! LEVEL2.LVL now has some buildings laying around.
* Removed city background.Xavier ASUS2018-11-252-0/+0
| | | | Fixed some serious issues regarding building and tile data.
* Bugfix: minutes were not being retrieved from PLT files.Xavier ASUS2018-11-254-1/+1
| | | | | | Game.c: parking slots cannot be selected if an aircraft in STATE_PARKED state is on it. Other fixes and improvements. Added some tiles from TILESET2.TIM
* * LEVEL3.PLT was incorrectly using Windows CRLF end of line.XaviDCR922018-11-251-9/+9
| | | | * When assigning a parking slot, busy parking slots cannot be selected. Some work TODO yet, though.
* New LEVEL3.Xavier ASUS2018-11-243-0/+17
| | | | Improvements.
* * Increased number of events on SYSTEM.CNF.XaviDCR922018-03-221-1/+1
| | | | Minor changes?
* + Added tutorial level.XaviDCR922018-03-181-0/+13
|
* * Aircraft.c: files were being loaded each time level was selected.XaviDCR922018-02-037-0/+36
| | | | | * Game.c: score bonus is now added depending on flight remaining time. + Added second level.
* * Aircraft.c: since "rotate" member != 0 would render ArrowSpr incorrectly, ↵XaviDCR922018-01-031-0/+0
| | | | | | | | 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().
* * RWY_DIR and AIRCRAFT_DIRECTION have been joint into a single enum.XaviDCR922017-12-291-0/+0
| | | | | | * Game.c: new prototypes GameGetParkingDirection() and GameGetRunwayDirection(). * Slight optimizations into GameRenderLevel(). * Added some comment headers into Gfx.c.
* * New LEVEL2.LVL was not being displayed correctly as I forgot to include ↵XaviDCR922017-12-291-0/+0
| | | | | | | the new tiles on Game.c. * Some work done on runway exit detection, but still TODO. * Minor change in LoadMenu.c.
* * Slight optimization: all comparations against true are now compared ↵XaviDCR922017-12-262-27/+24
| | | | | | | against != false. + Added a provisional background during gameplay (still WIP). * Map editor now allows creating a map.
* Bugfix: ptrPlayer->SelectedAircraft was being substracted when == 0 and ↵XaviDCR922017-09-231-25/+27
| | | | caused a game crash. Bugfix: aircraft did not stop when DIR_SOUTH.
* Renamed BMP/WAV data to uppercase (Linux case-sensitivity).XaviDCR922017-09-1613-0/+0
|
* + Added BIN/CUE image for non-CDDA mode.XaviDCR922017-09-161-23/+23
|
* * Removed unneeded -g flag from Makefile.XaviDCR922017-09-161-23/+25
| | | | | | | * 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.
* * Trimmed ending whitespaces.XaviDCR922017-09-161-0/+0
| | | | * Makefile now generates output TIM files automatically, using 'cat whatever.flags' files as flags for bmp2tim.
* * Corrected dependencies for Makefile (.elf was being rebuilt every time, as ↵XaviDCR922017-09-151-22/+22
| | | | | | well as .bin/.cue). * Removed useless macro MAIN_MENU_FILES.
* * Minor changes (spaces between "if"/"for"... instructions).XaviDCR922017-08-301-23/+23
| | | | + Added output ELF file with debugging symbols for nocash.
* * Added some comments on Game.c.XaviDCR922017-08-092-3/+13
| | | | | | * Some performance optimizations on Game.c (removed unneeded "for" loops). * Timer 2 is now handler (ISR still not working). * SYSTEM.CNF: EVENT parameter increased to 7.
* * Added comments on System.XaviDCR922017-07-271-18/+9
| | | | | | | * 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.
* * GameRenderBuildingAircraft() done.XaviDCR922017-06-301-0/+0
| | | | | * (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.
* * Reduced tileset sprite size from 64x64 to 64x48.XaviDCR922017-06-2710-0/+0
| | | | | | * Modified rendering functions to keep up with this size reduction. * Sprites in TIM have been reordered inside VRAM. * Other minor changes.
* * Some more work on Plt file generator.XaviDCR922017-06-061-10/+10
|
* * Implemented aircraft collision. But it would not detect collision in some ↵XaviDCR922017-06-061-10/+10
| | | | | | | | 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-15/+22
| | | | | | | spawned. * Initial implementation for minimum spawn time in parkings. * GfxIsGPUBusy() check added for MemCard.
* * More passengers by correct sequence are unboarded.XaviDCR922017-06-031-12/+14
| | | | | | | * 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-311-1/+1
| | | | TODO: Free runway on state == STATE_READY_TAKEOFF or STATE_ENTERING_RWY.
* * Aircraft 0 was incorrectly being removed because indexes 0 to ↵XaviDCR922017-05-311-1/+9
| | | | | | | | | | 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-301-0/+0
| | | | | | * 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-281-4/+5
| | | | * Initial implementation to show passengers left when entering correct sequence.
* * Takeoff barely implemented. Stil a lot of work to do.XaviDCR922017-05-282-0/+0
| | | | | * Added new runway holding point tiles. * Bugfixes in last key single pressed.
* * Added more aircraft on LEVEL1.PLT.XaviDCR922017-05-271-0/+2
| | | | | | * 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-4/+4
| | | | | * Initial STATE_UNBOARDING implementation. Still some work to do. * Added score logic.
* * Added some comments on System.XaviDCR922017-05-011-1/+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-044-0/+0
|
* Initial commitXavier Del Campo2017-02-0426-0/+17