equal
deleted
inserted
replaced
10 #include "runqueue.h" |
10 #include "runqueue.h" |
11 |
11 |
12 extern "C" { |
12 extern "C" { |
13 RunEngine_t* flibRunEngine; |
13 RunEngine_t* flibRunEngine; |
14 GameTick_t* flibGameTick; |
14 GameTick_t* flibGameTick; |
|
15 ResizeWindow_t* flibResizeWindow; |
15 ipcToEngineRaw_t* flibIpcToEngineRaw; |
16 ipcToEngineRaw_t* flibIpcToEngineRaw; |
16 ipcSetEngineBarrier_t* flibIpcSetEngineBarrier; |
17 ipcSetEngineBarrier_t* flibIpcSetEngineBarrier; |
17 ipcRemoveBarrierFromEngineQueue_t* flibIpcRemoveBarrierFromEngineQueue; |
18 ipcRemoveBarrierFromEngineQueue_t* flibIpcRemoveBarrierFromEngineQueue; |
18 registerUIMessagesCallback_t* flibRegisterUIMessagesCallback; |
19 registerUIMessagesCallback_t* flibRegisterUIMessagesCallback; |
19 flibInit_t* flibInit; |
20 flibInit_t* flibInit; |
38 if (!hwlib.load()) |
39 if (!hwlib.load()) |
39 qWarning() << "Engine library not found" << hwlib.errorString(); |
40 qWarning() << "Engine library not found" << hwlib.errorString(); |
40 |
41 |
41 flibRunEngine = (RunEngine_t*)hwlib.resolve("RunEngine"); |
42 flibRunEngine = (RunEngine_t*)hwlib.resolve("RunEngine"); |
42 flibGameTick = (GameTick_t*)hwlib.resolve("GameTick"); |
43 flibGameTick = (GameTick_t*)hwlib.resolve("GameTick"); |
|
44 flibResizeWindow = (ResizeWindow_t*)hwlib.resolve("ResizeWindow"); |
43 flibIpcToEngineRaw = (ipcToEngineRaw_t*)hwlib.resolve("ipcToEngineRaw"); |
45 flibIpcToEngineRaw = (ipcToEngineRaw_t*)hwlib.resolve("ipcToEngineRaw"); |
44 flibIpcSetEngineBarrier = (ipcSetEngineBarrier_t*)hwlib.resolve("ipcSetEngineBarrier"); |
46 flibIpcSetEngineBarrier = (ipcSetEngineBarrier_t*)hwlib.resolve("ipcSetEngineBarrier"); |
45 flibIpcRemoveBarrierFromEngineQueue = (ipcRemoveBarrierFromEngineQueue_t*)hwlib.resolve("ipcRemoveBarrierFromEngineQueue"); |
47 flibIpcRemoveBarrierFromEngineQueue = (ipcRemoveBarrierFromEngineQueue_t*)hwlib.resolve("ipcRemoveBarrierFromEngineQueue"); |
46 flibRegisterUIMessagesCallback = (registerUIMessagesCallback_t*)hwlib.resolve("registerUIMessagesCallback"); |
48 flibRegisterUIMessagesCallback = (registerUIMessagesCallback_t*)hwlib.resolve("registerUIMessagesCallback"); |
47 flibInit = (flibInit_t*)hwlib.resolve("flibInit"); |
49 flibInit = (flibInit_t*)hwlib.resolve("flibInit"); |