Hi
I'm here for make my today's stupid question : :twisted:
Well, i have some work done in my "game" (more test than a game xD) and i want to organize a bit my code.
I'm using your tutorial "01 - Simple Project (5 - Projects)" as a beginning (i'm not a real programmer, just a hobbie) an trying to organize my files, but i'm having some troubles with it. My project compile and work. It show some credits (Esenthel logo and my logo xD) and later a simple menu.
When i choose new game i want to load a simple map, only that, and here come the error.
Code:
...
#include "../data/enum/_enums.h"
...
MEMX<GAME::STATIC> Static;
MEMX<GAME::ITEM > Item;
MEMX<GAME::CHR > Chr;
BOOL InitGame()
{
Phys.create();
GAME::World.init();
GAME::World.setType(Static,OBJ_STATIC)
.setType(Item ,OBJ_ITEM )
.setType(Chr ,OBJ_CHR );
GAME::World.New("wrld/test");
GAME::World.update(Cam.at);
return true;
}
In GAME::World.init(); my app crash "Can't load enum/obj_type.enum"
My data structure (as simply as i can for this example):
- /EsenthelEngineSDK
- /Data
- /...[/list:u]
- /enum/_ ................[/list:u]
- /...[/list:u]
[/list:u]
- /Tutorials
- /...[/list:u]
- / my files (.cpp .h ...)[/list:u]
- /game.exe[/list:u]
- /...[/list:u]
[/list:u]
- /...
[/list:u]
[/list:u]
I'm sure that it's an stupid thing, but i can't see the problem in 2 days T_T
Thanks for any advise :roll: