make the build script use 'include' statement instead of a hard-coded '.asm' file list
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
include ../consts/offsets
|
||||
include ../consts/map
|
||||
include ../consts/screen
|
||||
include ../consts/scene
|
||||
include ../consts/sprites
|
||||
include sprite_rotation
|
||||
|
||||
; /* Draw the whole (fill the screen memory with the values of the sprites based on the map)
|
||||
; /* Draw the whole map (fill the screen memory with the values of the sprites based on the map)
|
||||
|
||||
; Inputs:
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
; /* Return the tile address from the given map coordinate
|
||||
|
||||
; Inputs:
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
include ../consts/offsets
|
||||
include ../consts/map
|
||||
include ../consts/sprites
|
||||
|
||||
; /* Return the sprite id and rotation for the given map coordinates
|
||||
|
||||
; Inputs:
|
||||
|
||||
21
src/main.asm
21
src/main.asm
@@ -1,4 +1,10 @@
|
||||
include consts/arch
|
||||
include consts/game
|
||||
include consts/keyboard
|
||||
include consts/map
|
||||
include consts/scene
|
||||
include consts/screen
|
||||
include consts/sprites
|
||||
|
||||
include init
|
||||
|
||||
@@ -347,4 +353,19 @@ game_loop:
|
||||
|
||||
jmp game_loop
|
||||
|
||||
include lib/game
|
||||
include lib/drawing
|
||||
include lib/sprite_rotation
|
||||
|
||||
include dist/empty
|
||||
include dist/placeholder
|
||||
include dist/wall_end
|
||||
include dist/wall_straight
|
||||
include dist/wall_corner
|
||||
include dist/robot
|
||||
include dist/ghost
|
||||
include dist/coin
|
||||
|
||||
include dist/map
|
||||
|
||||
include reserved_space
|
||||
|
||||
Reference in New Issue
Block a user