From 83bb5286681c16a476ce428f8a6b3348e7070b8a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 30 Jul 2003 20:34:16 +0000 Subject: [PATCH] Add game and round seeds, meant for use with RandomGen. --- stepmania/src/GameState.cpp | 3 +++ stepmania/src/GameState.h | 4 ++++ stepmania/src/ScreenEvaluation.cpp | 1 + 3 files changed, 8 insertions(+) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 61f39f5faa..e081218a0d 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -77,6 +77,9 @@ void GameState::Reset() m_bAllow2ndExtraStage = true; m_bDifficultCourses = false; + m_iGameSeed = rand(); + m_iRoundSeed = rand(); + m_pCurSong = NULL; for( p=0; pm_iRoundSeed = rand(); if( PREFSMAN->m_bEventMode ) {