rename
This commit is contained in:
parent
472e21e389
commit
2d6ed53abc
56 changed files with 746 additions and 746 deletions
|
|
@ -3,6 +3,6 @@ project(af_client)
|
|||
file(GLOB af_client_SRC *.c)
|
||||
|
||||
add_executable(af_client ${af_client_SRC})
|
||||
target_link_libraries(af_client PRIVATE GearBox Mw)
|
||||
target_link_libraries(af_client PRIVATE GearSrc Mw)
|
||||
|
||||
install_target(af_client)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#define MW_OPENGL_NO_INCLUDE
|
||||
#define _MILSKO
|
||||
|
||||
#include <GearBox/Foundation.h>
|
||||
#include <GearSrc/Foundation.h>
|
||||
|
||||
#include <Mw/Milsko.h>
|
||||
#include <Mw/Widget/OpenGL.h>
|
||||
|
|
@ -38,20 +38,20 @@ static void tick(void){
|
|||
}
|
||||
|
||||
int main(int argc, char** argv){
|
||||
GBEngineParam param;
|
||||
GBEngine engine;
|
||||
GSEngineParam param;
|
||||
GSEngine engine;
|
||||
|
||||
GBEngineParamInit(¶m);
|
||||
GSEngineParamInit(¶m);
|
||||
param.ready = ready;
|
||||
param.tick = tick;
|
||||
param.get_tick = MwTimeGetTick;
|
||||
param.sleep = MwTimeSleep;
|
||||
param.gl_swapbuffer = gl_swapbuffer;
|
||||
|
||||
GBInit();
|
||||
GSInit();
|
||||
|
||||
if((engine = GBEngineCreate(¶m)) != NULL){
|
||||
GBEngineLoop(engine);
|
||||
GBEngineDestroy(engine);
|
||||
if((engine = GSEngineCreate(¶m)) != NULL){
|
||||
GSEngineLoop(engine);
|
||||
GSEngineDestroy(engine);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue