Commit 22043487 authored by Dino Bollinger's avatar Dino Bollinger Committed by Dino Bollinger
Browse files

Mapster32: Expose 8 additional clipboard variables as READONLY to M32 CON

These variables include:
* `tempxpanning`
* `tempypanning`
* `tempxvel`
* `tempyvel`
* `tempzvel`
* `tempstatnum`
* `tempblend`
* `tempsectnum`
parent e28d400a
...@@ -605,6 +605,14 @@ static void Gv_AddSystemVars(void) ...@@ -605,6 +605,14 @@ static void Gv_AddSystemVars(void)
Gv_NewVar("tempvis",(intptr_t)&tempvis, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY); Gv_NewVar("tempvis",(intptr_t)&tempvis, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempxrepeat",(intptr_t)&tempxrepeat, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY); Gv_NewVar("tempxrepeat",(intptr_t)&tempxrepeat, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempyrepeat",(intptr_t)&tempyrepeat, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY); Gv_NewVar("tempyrepeat",(intptr_t)&tempyrepeat, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempxpanning",(intptr_t)&tempxpanning, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempypanning",(intptr_t)&tempypanning, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempxvel",(intptr_t)&tempxvel, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempyvel",(intptr_t)&tempyvel, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempzvel",(intptr_t)&tempzvel, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempstatnum",(intptr_t)&tempstatnum, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempblend",(intptr_t)&tempblend, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
Gv_NewVar("tempsectornum",(intptr_t)&tempsectornum, GAMEVAR_INTPTR|GAMEVAR_SYSTEM|GAMEVAR_READONLY);
// starting position // starting position
Gv_NewVar("startposx",(intptr_t)&startpos.x, GAMEVAR_READONLY | GAMEVAR_INTPTR | GAMEVAR_SYSTEM); Gv_NewVar("startposx",(intptr_t)&startpos.x, GAMEVAR_READONLY | GAMEVAR_INTPTR | GAMEVAR_SYSTEM);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment