aboutsummaryrefslogtreecommitdiff
path: root/Source/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate Make-based build system in favor of CMakeXavier Del Campo Romero2021-01-031-208/+0
|
* Remove unneeded Makefile definitionsXavier Del Campo Romero2021-01-011-4/+0
|
* Makefile: mkdir -p to all foldersXavier Del Campo Romero2020-06-031-4/+20
|
* Removed SIO interrupt (it caused VBlank ISR not to be triggered).Xavier ASUS2018-11-301-1/+1
| | | | | | | 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-2/+2
|
* Blue background dimensions are now limited to drawing enviroment's.Xavier ASUS2018-11-291-1/+1
| | | | Fixed X position for "Remaining aircraft" and "Next aircraft" messages in GameGui.c
* Some important bugfixes.Xavier ASUS2018-11-291-0/+4
| | | | | Added BUILDING_ATC_LOC. Added more levels.
* Bugfix: minutes were not being retrieved from PLT files.Xavier ASUS2018-11-251-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-3/+3
| | | | * When assigning a parking slot, busy parking slots cannot be selected. Some work TODO yet, though.
* Temporarily removed CDDA tracksXavier ASUS2018-11-241-3/+3
|
* New LEVEL3.Xavier ASUS2018-11-241-1/+9
| | | | Improvements.
* Minor improvementsXavier ASUS2018-11-231-1/+0
|
* Optimization flag changed from -Os to -O3 (seems to perform better FPS-wise).Xavier ASUS2018-11-231-2/+2
| | | | Improved const-correctness and scope for some variables.
* Added "const" qualifier to some functions.Xavier ASUS2018-11-181-3/+5
| | | | | "cdrom:\ and ;1" are automatically inserted into file name, in order to save memory space. Some minor optimizations.
* * Game can now compile without PSXSDK_DEBUG flag.XaviDCR922018-03-261-6/+4
| | | | * RCNT2 ISR is now disabled as soon as SystemLoadFileIntoBuffer() is called. Hopefully that will avoid problems with real HW.
* * System.c: Root counters are finally working, YAY!XaviDCR922018-03-171-14/+13
| | | | | * Sfx.c: SfxStopMusic() was relying on global timer to be increased under ISR, but this is not true anymore! * Other minor changes on EndAnimation.c.
* + Added Message module, used for tutorials.XaviDCR922018-02-251-2/+2
| | | | | | | + 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.
* * I think GameGraphics() can be executed as long as GPU has received all DMA ↵XaviDCR922018-02-071-1/+1
| | | | blocks. Remove if something goes wrong.
* * Aircraft.c: files were being loaded each time level was selected.XaviDCR922018-02-031-1/+1
| | | | | * 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-1/+2
| | | | | | | | 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().
* * Aircraft.c: taxiing speed has been doubled.XaviDCR922018-01-021-1/+1
| | | | | | | * 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.
* * New LEVEL2.LVL was not being displayed correctly as I forgot to include ↵XaviDCR922017-12-291-1/+1
| | | | | | | 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-261-0/+2
| | | | | | | against != false. + Added a provisional background during gameplay (still WIP). * Map editor now allows creating a map.
* * Removed now unneeded dprintf calls on Game.c.XaviDCR922017-09-261-4/+1
| | | | | * Imported MenuStar sprite into Menu.c. * Minor changes on Makefile (clean_music target removed).
* Bugfix: ptrPlayer->SelectedAircraft was being substracted when == 0 and ↵XaviDCR922017-09-231-13/+12
| | | | caused a game crash. Bugfix: aircraft did not stop when DIR_SOUTH.
* Renamed BMP/WAV data to uppercase (Linux case-sensitivity).XaviDCR922017-09-161-1/+4
|
* + Added BIN/CUE image for non-CDDA mode.XaviDCR922017-09-161-1/+2
|
* * Removed unneeded -g flag from Makefile.XaviDCR922017-09-161-1/+1
| | | | | | | * 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-45/+60
| | | | * 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-55/+60
| | | | | | well as .bin/.cue). * Removed useless macro MAIN_MENU_FILES.
* * Minor changes (spaces between "if"/"for"... instructions).XaviDCR922017-08-301-2/+3
| | | | + Added output ELF file with debugging symbols for nocash.
* * (Bugfix): padx_last_key_single_pressed was being checked AFTER checking ↵XaviDCR922017-08-191-1/+1
| | | | pads connected, so it was never calculated if, for example, pad 2 was disconnected. This was only reproducible under real hardware.
* * Added more comments.XaviDCR922017-08-181-24/+54
| | | | | * Radio chatter sounds. * Created aircraft state STATE_STOPPED, to be used when L1 is pressed on aircraft selection mode.
* * IMASK is now accessed as volatile variable.XaviDCR922017-08-111-0/+1
| | | | * Other minor changes.
* + System timer functions now moved to a separate source file, Timer.c/Timer.h.XaviDCR922017-08-101-2/+2
| | | | | * Added some more comments on Game.c. * On GamePathToTile(), duplicate checks for existing tile have been replaced by calls to GameWaypointCheckExisting().
* * Added some comments on Game.c.XaviDCR922017-08-091-18/+17
| | | | | | * 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.
* * Include directives are now moved to .c instead of .h, as it should really ↵XaviDCR922017-08-061-16/+23
| | | | | | | | | 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.
* + Added support for SIO (Serial Input Output).XaviDCR922017-07-201-1/+2
| | | | * On SystemLoadFileToBuffer(), files can be now uploaded to PSX using QPSXSerial.
* * Added font spacing parameter.XaviDCR922017-06-281-0/+1
| | | | | | * 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-271-9/+10
| | | | | | * Modified rendering functions to keep up with this size reduction. * Sprites in TIM have been reordered inside VRAM. * Other minor changes.
* * (Bugfix) MemCard: MEMCARD_MAXIMUM_SECTOR changed from 512 (8 << ↵XaviDCR922017-06-081-1/+1
| | | | | | | 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.
* * More passengers by correct sequence are unboarded.XaviDCR922017-06-031-1/+2
| | | | | | | * Aircraft should not be removed on State == STATE_APPROACH. * Initial implementation for finished game. * Added some comments on System.c. * GameGuiPrepareNotificationString() deprecated.
* * Aircraft 0 was incorrectly being removed because indexes 0 to ↵XaviDCR922017-05-311-1/+2
| | | | | | | | | | 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-1/+2
| | | | | | * Available TILE_PARKING and TILE_HOLDING_RWY are showed in green. * Fixed lock/unlock target logic. * Added TILE_PARKING_2.
* * 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-041-0/+0
|
* Initial commitXavier Del Campo2017-02-041-0/+119