aboutsummaryrefslogtreecommitdiff
path: root/src/entities.c
AgeCommit message (Collapse)Author
2023-07-27Properly count entities and sure we support enoughJuan J. Martinez
This accounts: - entities on the map - entities that will be spawn to unlock doors - the time monster
2023-07-20Erase collected goldJuan J. Martinez
Although the erase code of the player is likely to clean the gold after being picked up, there could be some left overs in some corner cases, so we let the map erase the gold to ensure it is 100% clean.
2023-07-11Better orderJuan J. Martinez
2023-07-11Use insertion sortJuan J. Martinez
2023-07-11Actually, use qsort properlyJuan 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-09Height can be a parameter tooJuan J. Martinez
2023-07-09Assembler optimised blit copy hardcoded to 16x16Juan 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-04Warp all the entities outJuan J. Martinez
Used by the stage clear code.
2023-06-25Add entity system, add new enemy (snake)Juan J. Martinez