Commit Graph

31 Commits

Author SHA1 Message Date
Xavier Del Campo Romero 9c91d194cd Support CMake 2021-01-01 04:39:13 +01:00
Xavier ASUS 41df9924d4 Added new levels into cdimg subfolder.
Added EXE file.
Added final BIN image file.
2018-11-29 01:11:01 +01:00
Xavier ASUS 0b60fe23cd Added new levels 2018-11-29 00:01:18 +01:00
Xavier ASUS 3de2130b60 TILE_TAXIWAY_CORNER_GRASS_3 added to accepted tiles list.
Building edition is now supported on MapEditor!
LEVEL2.LVL now has some buildings laying around.
2018-11-27 00:26:41 +01:00
Xavier ASUS f8f976763b Removed city background.
Fixed some serious issues regarding building and tile data.
2018-11-25 21:07:28 +01:00
Xavier ASUS 64dbf5cdd5 Bugfix: minutes were not being retrieved from PLT files.
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
2018-11-25 18:02:18 +01:00
XaviDCR92 135a1e93cb * LEVEL3.PLT was incorrectly using Windows CRLF end of line.
* When assigning a parking slot, busy parking slots cannot be selected. Some work TODO yet, though.
2018-11-25 12:32:16 +01:00
Xavier ASUS 6c687dd30b New LEVEL3.
Improvements.
2018-11-24 13:03:52 +01:00
XaviDCR92 977ec481d8 + Added tutorial level. 2018-03-18 19:14:17 +01:00
XaviDCR92 baa647ad7c + Added Message module, used for tutorials.
+ Added first tutorial level.
* Font now inserts line feed automatically if the next word is too long to fit.
* Gfx.c: added primitive list double buffering in order to gain some performance.
* MapEditor: now airport can be defined inside the tool.
2018-02-25 05:25:33 +01:00
XaviDCR92 6364d64cbc * Aircraft.c: files were being loaded each time level was selected.
* Game.c: score bonus is now added depending on flight remaining time.
+ Added second level.
2018-02-03 16:05:37 +01:00
XaviDCR92 4eaa6c091f * Slight optimization: all comparations against true are now compared against != false.
+ Added a provisional background during gameplay (still WIP).
* Map editor now allows creating a map.
2017-12-26 22:18:37 +01:00
XaviDCR92 e6d41c59ff Bugfix: ptrPlayer->SelectedAircraft was being substracted when == 0 and caused a game crash. Bugfix: aircraft did not stop when DIR_SOUTH. 2017-09-23 01:32:26 +02:00
XaviDCR92 56ed60ff3a + Added BIN/CUE image for non-CDDA mode. 2017-09-16 03:35:52 +02:00
XaviDCR92 6629a61c3b * Removed unneeded -g flag from Makefile.
* 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.
2017-09-16 03:21:15 +02:00
XaviDCR92 7ba159f6e7 * Corrected dependencies for Makefile (.elf was being rebuilt every time, as well as .bin/.cue).
* Removed useless macro MAIN_MENU_FILES.
2017-09-15 23:04:25 +02:00
XaviDCR92 69027a04e3 * Minor changes (spaces between "if"/"for"... instructions).
+ Added output ELF file with debugging symbols for nocash.
2017-08-30 23:29:57 +02:00
XaviDCR92 b807ee7ca5 * Added some comments on Game.c.
* 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.
2017-08-09 22:51:15 +02:00
XaviDCR92 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.
2017-07-27 07:41:25 +02:00
XaviDCR92 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.
2017-06-30 13:03:43 +02:00
XaviDCR92 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.
2017-06-27 00:58:12 +02:00
XaviDCR92 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.
2017-06-04 14:00:56 +02:00
XaviDCR92 92c65ff3b2 * Used runway is now freed if state == STATE_APPROACH.
TODO: Free runway on state == STATE_READY_TAKEOFF or STATE_ENTERING_RWY.
2017-05-31 07:24:00 +02:00
XaviDCR92 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.
2017-05-31 06:57:06 +02:00
XaviDCR92 12247026c5 * Takeoff procedure implemented almost completely. TODO: "Holding" message.
* Initial implementation to show passengers left when entering correct sequence.
2017-05-28 22:57:01 +02:00
XaviDCR92 5286033a40 * Takeoff barely implemented. Stil a lot of work to do.
* Added new runway holding point tiles.
* Bugfixes in last key single pressed.
2017-05-28 04:22:03 +02:00
XaviDCR92 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.
2017-05-27 17:10:15 +02:00
XaviDCR92 656eec576e * Implemented remaining time for flights.
* Initial STATE_UNBOARDING implementation. Still some work to do.
* Added score logic.
2017-05-25 07:38:58 +02:00
XaviDCR92 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.
2017-05-01 23:05:51 +02:00
XaviDCR92 9ce310d847 * Updated. 2017-02-04 15:31:41 +01:00
Xavier Del Campo 189ecf754d Initial commit 2017-02-04 14:49:08 +01:00