Commits

mcc  committed 277398b

Seed random

  • Participants
  • Parent commits 523133b

Comments (0)

Files changed (2)

File PolycodeTemplate/PolycodeTemplateApp.mm

 #define CALC_ASPECT (1280.0/800)
 
 PolycodeTemplateApp::PolycodeTemplateApp(PolycodeView *view) {
+	{
+		time_t rawtime;
+		time ( &rawtime );
+		srandom(rawtime);
+	}
+	
 	CoreServices::getInstance()->getScreenInfo(&fullscreen_width, &fullscreen_height, NULL);
 #if FULLSCREEN
 	surface_width = fullscreen_width;

File media/title.svg

Old
Old image
New
New image