OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
insect.h
Go to the documentation of this file.
1#ifndef INSECT_H
2#define INSECT_H
3
4#include <snes.h>
5
7void insectinit(u16 xp, u16 yp, u16 type, u16 minx, u16 maxx);
9void insectupdate(u16 idx);
10
11#endif
unsigned short u16
16-bit unsigned integer (0 to 65535)
Definition types.h:53
void insectupdate(u16 idx)
The insect's per-frame update: patrol, animation, sprite position.
Definition insect.c:56
void insectinit(u16 xp, u16 yp, u16 type, u16 minx, u16 maxx)
Create a robot insect (object type 1) patrolling between minx and maxx.
Definition insect.c:29
OpenSNES common-case master header.