2021-11-30 21:29:18 -06:00
|
|
|
#ifndef STATIC_ACTOR_H
|
|
|
|
#define STATIC_ACTOR_H
|
|
|
|
|
|
|
|
#include "gameobject.h"
|
|
|
|
#include "model.h"
|
|
|
|
#include "shader.h"
|
|
|
|
|
|
|
|
struct mStaticActor {
|
2022-11-19 17:13:57 -06:00
|
|
|
struct gameobject obj;
|
|
|
|
struct model *model;
|
2021-11-30 21:29:18 -06:00
|
|
|
char *modelPath;
|
|
|
|
char currentModelPath[MAXPATH];
|
|
|
|
bool castShadows;
|
|
|
|
};
|
|
|
|
|
2022-11-19 17:13:57 -06:00
|
|
|
void staticactor_draw_dbg_color_pick(struct shader *s);
|
|
|
|
void staticactor_draw_models(struct shader *s);
|
|
|
|
void staticactor_draw_shadowcasters(struct shader *s);
|
2021-11-30 21:29:18 -06:00
|
|
|
struct mStaticActor *MakeStaticActor();
|
2022-08-12 14:03:56 -05:00
|
|
|
void staticactor_gui(struct mStaticActor *sa);
|
2021-11-30 21:29:18 -06:00
|
|
|
|
|
|
|
extern struct mStaticActor *curActor;
|
|
|
|
|
|
|
|
#endif
|