aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/love/love.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-24 11:42:09 +1000
committerDavid Walter Seikel2014-05-24 11:42:09 +1000
commitb7d9306c8689bdd7f37ce31ed63ce4e65fa396e2 (patch)
treeb2016c16ec01ce1ab40decb7533ef6849fa69956 /src/love/love.h
parentPretend to login, and some commenting out so it all compiles. Fix it up later. (diff)
downloadSledjHamr-b7d9306c8689bdd7f37ce31ed63ce4e65fa396e2.zip
SledjHamr-b7d9306c8689bdd7f37ce31ed63ce4e65fa396e2.tar.gz
SledjHamr-b7d9306c8689bdd7f37ce31ed63ce4e65fa396e2.tar.bz2
SledjHamr-b7d9306c8689bdd7f37ce31ed63ce4e65fa396e2.tar.xz
Big include and libraries clean up.
Diffstat (limited to '')
-rw-r--r--src/libraries/love.h (renamed from src/love/love.h)36
1 files changed, 31 insertions, 5 deletions
diff --git a/src/love/love.h b/src/libraries/love.h
index 925ad0e..5964cde 100644
--- a/src/love/love.h
+++ b/src/libraries/love.h
@@ -78,7 +78,33 @@ love needs
78 calling card 78 calling card
79*/ 79*/
80 80
81#include <Eina.h> 81#include "evas_macros.h"
82#include "evas_3d_utils.h" // TODO - Hopefully I can convince the authors to make this public.
83
84#include "Runnr.h"
85
86
87typedef struct _vec4
88{
89 float x;
90 float y;
91 float z;
92 float w;
93} vec4;
94
95typedef struct _vec3
96{
97 float x;
98 float y;
99 float z;
100} vec3;
101
102typedef struct _vec2
103{
104 float x;
105 float y;
106} vec2;
107
82 108
83typedef struct _material 109typedef struct _material
84{ 110{
@@ -94,8 +120,8 @@ typedef struct _mesh
94{ 120{
95 char fileName[PATH_MAX]; 121 char fileName[PATH_MAX];
96 //type 122 //type
97// Evas_Vec3 pos; 123 vec3 pos;
98// Evas_Vec4 rot; 124 vec4 rot;
99 Eina_Inarray materials; // Material 125 Eina_Inarray materials; // Material
100 Eina_Inarray parts; // Mesh 126 Eina_Inarray parts; // Mesh
101} Mesh; 127} Mesh;
@@ -107,7 +133,7 @@ typedef struct _stuffs
107 union 133 union
108 { 134 {
109 Mesh *mesh; 135 Mesh *mesh;
110// script *script; 136 script *scrip; // Not a typo, C++ is fussy about reusing names like this.
111 void *other; 137 void *other;
112 } details; 138 } details;
113} Stuffs; 139} Stuffs;
@@ -123,7 +149,7 @@ typedef struct _extantzStuffs
123{ 149{
124 Stuffs stuffs; 150 Stuffs stuffs;
125// Evas_3D_Mesh *mesh; 151// Evas_3D_Mesh *mesh;
126// Evas_3D_Node *mesh_node; 152// Evas_3D_Node *mesh_node; // Multiple Evas_3D_Mesh's can be in one Evas_3D_Node
127 Eina_Inarray *materials; // Evas_3D_Material 153 Eina_Inarray *materials; // Evas_3D_Material
128 Eina_Inarray *textures; // Evas_3D_Texture 154 Eina_Inarray *textures; // Evas_3D_Texture
129} ExtantzStuffs; 155} ExtantzStuffs;