summaryrefslogtreecommitdiff
path: root/src/effects.h
blob: ceda53fa20b503e2a60eea62ddcbc317bc1407eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __EFFECTS_H
#define __EFFECTS_H

#include <common.h>
#include <game.h>

/*
S16Vec* tRot = &(S16Vec){ 0, 0, 0};
Vec* tScale = &(Vec){0.0, 0.0, 0.0};
*/

bool CreateEffect(dEn_c* enemy, int effect_num);
bool CreateEffect(Vec* pos, S16Vec* rot, Vec* scale, int effect_num);
bool CreateEffect(Vec* pos, S16Vec* rot, Vec* scale, int effect_num);
bool CreateEffect(int effect_num, Vec* pos, S16Vec* rot = 0, Vec* scale = 0);

// Actually will return an EGG::Effect instance
//void* CustomEffectSpawn(const char* name);

#endif