1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-05-28 23:41:32 +00:00

c64: fixed presets

This commit is contained in:
Steven Hugg 2023-02-07 14:26:35 -05:00
parent 3972da4a13
commit a3d7cc7dca

24
presets/c64/multisprite.h Normal file
View File

@ -0,0 +1,24 @@
#include "common.h"
#define MAX_MSPRITES 28
extern byte msprite_order[MAX_MSPRITES];
extern byte msprite_x_lo[MAX_MSPRITES];
extern byte msprite_x_hi[MAX_MSPRITES];
extern byte msprite_y[MAX_MSPRITES];
extern byte msprite_color[MAX_MSPRITES];
extern byte msprite_shape[MAX_MSPRITES];
//extern byte msprite_flags[MAX_MSPRITES];
extern byte msprite_xvel_lo[MAX_MSPRITES];
extern byte msprite_xvel_hi[MAX_MSPRITES];
extern byte msprite_yvel_lo[MAX_MSPRITES];
extern byte msprite_yvel_hi[MAX_MSPRITES];
extern byte msprite_last_y;
void __fastcall__ msprite_render_init();
void __fastcall__ msprite_render_section();
void __fastcall__ msprite_sort();
void __fastcall__ msprite_add_velocity(byte numsprites);