mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-03 00:33:55 +03:00
Added spawner mod as an option on developer
This commit is contained in:
parent
f59fa4a7cd
commit
c1fa820bfc
@ -78,7 +78,7 @@
|
|||||||
* D-Pad DOWN to freeze/unfreeze the ship speed.
|
* D-Pad DOWN to freeze/unfreeze the ship speed.
|
||||||
* WARNING: Spawning an object that's not loaded in memory will likely result in a crash.
|
* WARNING: Spawning an object that's not loaded in memory will likely result in a crash.
|
||||||
*/
|
*/
|
||||||
#define MODS_SPAWNER 0
|
#define MODS_SPAWNER 1
|
||||||
|
|
||||||
/* ************************* */
|
/* ************************* */
|
||||||
|
|
||||||
|
@ -627,9 +627,9 @@ void Game_Update(void) {
|
|||||||
#if MODS_FPS_COUNTER == 1
|
#if MODS_FPS_COUNTER == 1
|
||||||
Play_RenderFps();
|
Play_RenderFps();
|
||||||
#endif
|
#endif
|
||||||
#if MODS_SPAWNER == 1
|
if(CVarGetInteger("gSpawnerMod", 0) == 1){
|
||||||
Spawner();
|
Spawner();
|
||||||
#endif
|
}
|
||||||
}
|
}
|
||||||
RCP_SetupDL(&gMasterDisp, SETUPDL_83);
|
RCP_SetupDL(&gMasterDisp, SETUPDL_83);
|
||||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
|
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
|
||||||
|
@ -493,6 +493,19 @@ void DrawDebugMenu() {
|
|||||||
.tooltip = "Allows you to play sound effects from the game"
|
.tooltip = "Allows you to play sound effects from the game"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
UIWidgets::CVarCheckbox("Spawner Mod", "gSpawnerMod", {
|
||||||
|
.tooltip = "Spawn Scenery, Actors, Bosses, Sprites, Items, Effects and even Event Actors.\n"
|
||||||
|
"\n"
|
||||||
|
"Controls:\n"
|
||||||
|
"D-Pad left and right to set the object Id.\n"
|
||||||
|
"C-Right to change between spawn modes.\n"
|
||||||
|
"Analog stick sets the spawn position.\n"
|
||||||
|
"L-Trigger to spawn the object.\n"
|
||||||
|
"D-Pad UP to kill all objects.\n"
|
||||||
|
"D-Pad DOWN to freeze/unfreeze the ship speed.\n"
|
||||||
|
"WARNING: Spawning an object that's not loaded in memory will likely result in a crash."
|
||||||
|
});
|
||||||
|
|
||||||
UIWidgets::CVarCheckbox("Disable stars interpolation", "gDisableStarsInterpolation", {
|
UIWidgets::CVarCheckbox("Disable stars interpolation", "gDisableStarsInterpolation", {
|
||||||
.tooltip = "Disable starfield interpolation for performance"
|
.tooltip = "Disable starfield interpolation for performance"
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user