mirror of
https://github.com/CTurt/dsgmLib.git
synced 2025-06-19 07:05:37 -04:00
main in projectHelper
This commit is contained in:
parent
7f48920dcf
commit
2ee16158a9
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -18,6 +18,20 @@ void DSGM_Init(void) {
|
|||||||
DSGM_SetupRooms(DSGM_ALL_ROOMS);
|
DSGM_SetupRooms(DSGM_ALL_ROOMS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
DSGM_Init();
|
||||||
|
|
||||||
|
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
||||||
|
|
||||||
|
while(1) {
|
||||||
|
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
||||||
|
|
||||||
|
DSGM_Update();
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#define DSGM_GetGroup(objectInstance) DSGM_GetObjectGroupFull(&DSGM_Rooms[DSGM_currentRoom], objectInstance->screen, objectInstance->object)
|
#define DSGM_GetGroup(objectInstance) DSGM_GetObjectGroupFull(&DSGM_Rooms[DSGM_currentRoom], objectInstance->screen, objectInstance->object)
|
||||||
|
|
||||||
#define DSGM_GetObjectGroup(screen, object) DSGM_GetObjectGroupFull(&DSGM_Rooms[DSGM_currentRoom], screen, object)
|
#define DSGM_GetObjectGroup(screen, object) DSGM_GetObjectGroupFull(&DSGM_Rooms[DSGM_currentRoom], screen, object)
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
#include "DSGM.h"
|
|
||||||
|
|
||||||
void DSGM_Init(void);
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
DSGM_Init();
|
|
||||||
|
|
||||||
DSGM_LoadRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
while(1) {
|
|
||||||
DSGM_LoopRoom(&DSGM_Rooms[DSGM_currentRoom]);
|
|
||||||
|
|
||||||
DSGM_Update();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user