19 lines
612 B
NASM
19 lines
612 B
NASM
pub const game.direction_up = 0
|
|
pub const game.direction_right = 1
|
|
pub const game.direction_down = 2
|
|
pub const game.direction_left = 3
|
|
pub const game.direction_still = 4
|
|
|
|
/*
|
|
; 1_000_000_000 nano second = 0x0000_0000_3B9A_CA00
|
|
pub const game.tick_duration_0 = 0xCA00
|
|
pub const game.tick_duration_1 = 0x3B9A
|
|
pub const game.tick_duration_2 = 0x0000
|
|
pub const game.tick_duration_3 = 0x0000
|
|
*/
|
|
|
|
; 0.5 second = 500_000_000 nano second = 0x0000_0000_1DCD_6500
|
|
pub const game.tick_duration_0 = 0x6500
|
|
pub const game.tick_duration_1 = 0x1DCD
|
|
pub const game.tick_duration_2 = 0x0000
|
|
pub const game.tick_duration_3 = 0x0000 |