diff options
Diffstat (limited to 'src/misc.h')
-rw-r--r-- | src/misc.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/misc.h b/src/misc.h index 638255c..5fa1b56 100644 --- a/src/misc.h +++ b/src/misc.h @@ -1,14 +1,36 @@ #ifndef BLACKSHADES_MISC_H #define BLACKSHADES_MISC_H +#include <stdbool.h> + #include <AL/al.h> #include <GL/gl.h> +struct JointData { + signed char label; + float x, y, z; + float length; + unsigned char model; + bool visible; + bool lower; + signed char parent; +}; + +struct MuscleData { + float length, initlen, minlen, maxlen; + bool flag; + bool visible; + signed char parent1; + signed char parent2; +}; + #ifdef __cplusplus extern "C" { #endif // __cplusplus ALuint loadSound(const char*); GLuint loadTexture(const char*); + void loadJoints(JointData*); + void loadMuscles(MuscleData*); void playSound(ALuint source, ALfloat x, ALfloat y, ALfloat z); #ifdef __cplusplus } // extern "C" |