aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
AgeCommit message (Collapse)Author
2023-07-11Multiple stagesJuan J. Martinez
2023-07-10Draw entities in orderJuan J. Martinez
This makes a difference on the less powerful machines and helps avoiding flickering.
2023-07-10Don't allow interrupts to prevent flickeringJuan J. Martinez
2023-07-08Avoid drawing the whole screen on each frameJuan J. Martinez
This allows supporting 386DX "just about" (there will be flickering).
2023-07-05Fix time bonus calculationJuan J. Martinez
It was overflowing and showint 255 as time.
2023-07-04Stage complete sequenceJuan J. Martinez
2023-07-04Set the direction as it must be 0Juan J. Martinez
2023-07-04Add time monsterJuan J. Martinez
2023-07-03Sound queueJuan J. Martinez
This is to queue sounds and play them when we update the screen, so the sounds are synced with the action. It is required because the MikMod_Update function updates on the clock int, and is not synced with the VGA's vsync.
2023-07-02Don't play sound if is game over alreadyJuan J. Martinez
This may happen id there's a pending time hud update.
2023-07-02Add sound supportJuan J. Martinez
2023-06-29Move wait_time to vgaJuan J. Martinez
2023-06-29Add pause / resumeJuan J. Martinez
2023-06-29Add "Ready?" text to the start of stageJuan J. Martinez
2023-06-29Add pickaxe pickupJuan J. Martinez
2023-06-27Add pikcupsJuan J. Martinez
WIP: only time and bonuses for now.
2023-06-25Add entity system, add new enemy (snake)Juan J. Martinez
2023-06-22Center the time in the HUDJuan J. Martinez
2023-06-22Game over screenJuan J. Martinez
Also move private defines to the game module.
2023-06-22Player damage, invulnerability, death sequence and respawnJuan J. Martinez
2023-06-22Import entities from the map and spawn themJuan J. Martinez
2023-06-21Add hiscore to the menu screenJuan J. Martinez
2023-06-21Make the score "gold"Juan J. Martinez
2023-06-21Add color textJuan J. Martinez
2023-06-20Erase the screen before rendering the mapJuan J. Martinez
2023-06-20Add menu screen (WIP)Juan J. Martinez
2023-06-20Add gold supportJuan J. Martinez
- added gold layer to the map - the player can collect gold - updates the score - TODO: end of stage
2023-06-18Enter the player!Juan J. Martinez
2023-06-17Stage is zero basedJuan J. Martinez
Also missing include.
2023-06-15Adjust right marginJuan J. Martinez
2023-06-15Tweak the HUDJuan J. Martinez
2023-06-15Implement a countdown clock in the timerJuan J. Martinez
Updated the HUD to show the time.
2023-06-15Started with the gameJuan J. Martinez
Added hud (WIP)