1 /* Molten Metal - Tech demo for the COM32 DOS protected mode system
2 * Copyright (C) 2023 John Tsiombikas <nuclear@mutantstargoat.com>
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
42 struct mcapsule *caps;
43 int num_balls, num_caps;
49 void (*swstate)(struct mobject *mobj, int newst);
50 void (*update)(struct mobject *mobj, float tsec);
51 void (*upd_ball)(struct mobject *mobj, struct mball *ball, float tsec, float t);
52 void (*upd_caps)(struct mobject *mobj, struct mcapsule *caps, float tsec, float t);
53 float (*eval)(struct mobject *mobj, cgm_vec3 *pos);
56 struct mobject *metaobj_sflake(void);
57 struct mobject *metaobj_sgi(void);
59 #endif /* METAOBJ_H_ */