mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 21:45:00 +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.
|
||||
* 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
|
||||
Play_RenderFps();
|
||||
#endif
|
||||
#if MODS_SPAWNER == 1
|
||||
Spawner();
|
||||
#endif
|
||||
if(CVarGetInteger("gSpawnerMod", 0) == 1){
|
||||
Spawner();
|
||||
}
|
||||
}
|
||||
RCP_SetupDL(&gMasterDisp, SETUPDL_83);
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
|
||||
|
@ -493,6 +493,19 @@ void DrawDebugMenu() {
|
||||
.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", {
|
||||
.tooltip = "Disable starfield interpolation for performance"
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user