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