update editor
parent
b8b1043aad
commit
036f0cce09
|
@ -16,14 +16,12 @@
|
|||
exit /b
|
||||
)
|
||||
|
||||
cl ..\editor2.c -I ..\..\tools -DCOOK_ON_DEMAND
|
||||
|
||||
pushd ..\.. && call make amalgamation && popd
|
||||
if not exist "*.zip" ..\..\..\tools\cook --cook-ini=..\..\cook.ini
|
||||
|
||||
taskkill /im "oscedit.exe" > nul 2> nul
|
||||
call ..\..\tools\tcc oscgame.c -I ..\.. -DFWK_IMPLEMENTATION -DCOOK_ON_DEMAND %*
|
||||
call ..\..\tools\tcc oscsend.c -I ..\.. -DFWK_IMPLEMENTATION -DCOOK_ON_DEMAND %*
|
||||
call ..\..\tools\tcc oscedit.c -I ..\.. -DFWK_IMPLEMENTATION -DCOOK_ON_DEMAND %* && start oscedit.exe
|
||||
call ..\..\..\tools\tcc oscgame.c -I ..\..\..\engine\joint -DFWK_IMPLEMENTATION -DCOOK_ON_DEMAND %*
|
||||
call ..\..\..\tools\tcc oscsend.c -I ..\..\..\engine\joint -DFWK_IMPLEMENTATION -DCOOK_ON_DEMAND %*
|
||||
call ..\..\..\tools\tcc oscedit.c -I ..\..\..\engine\joint -DFWK_IMPLEMENTATION -DCOOK_ON_DEMAND %* && start oscedit.exe
|
||||
|
||||
timeout 3
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ void osc_edit_sync(int server_fd, int client_fd, unsigned timeout_ms) {
|
|||
ui_window_end();
|
||||
}
|
||||
|
||||
ui_demo();
|
||||
ui_demo(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ typedef struct osc_message {
|
|||
const char *s[8]; // for blobs and strings
|
||||
float f[8]; // floating point interpretation of first 8 params
|
||||
#else
|
||||
union variant {
|
||||
union /*variant*/ {
|
||||
int64_t i;
|
||||
const char *s;
|
||||
double f;
|
||||
|
|
Loading…
Reference in New Issue