diff Magoroku.cc @ 119:f2e2460b4011

draw_title
author e085768
date Sun, 19 Jun 2011 02:16:20 +0900
parents 9e4100c5d7ec
children 5219bf3d5e71
line wrap: on
line diff
--- a/Magoroku.cc	Fri Jun 17 10:31:39 2011 +0900
+++ b/Magoroku.cc	Sun Jun 19 02:16:20 2011 +0900
@@ -9,55 +9,28 @@
 #include "sjoy.h"
 //magoroku 関係ココまで
 
-#include "SgoexCerium.h"
 #include <ctype.h>
 #include <math.h>
 #include <time.h>
 #include <SDL.h>
 #include "SDL_opengl.h"
 
-//#include "tree_controll.h"
 #include "xml.h"
 #include "profile.h"
 //#include "syokika.h"
-//#include "sankaku.h"
 
 #include "sound.h"
-//#include "bom.h"
-//#include "count2.h"
-//#include "tokuten.h"
-//#include "tama.h"
-//#include "debug.h"
-//#include "trace.h"
 #include "LoadSprite.h"
 #include <SDL_mixer.h>
 #include "error.h"
 #include "matrix_calc.h"
 
-//#include "Character.h"
-//#include "Character_state.h"
-
 #include "Light.h"
 
 
-//static SDL_Surface *screen;
-// static Uint32 background;
-// static char *pad_trace_file;
 
-
-// tree_Dandy の schedule3.c 
-//extern void schedule();
-
-
-//extern void tokuten();
 extern bool padCheck(SDL_Joystick *joy);
 extern bool keybord(void);
-//static int gamesyokika(int gamef);
-//static int game_pause(int);
-//static char *pad_trace_file;
-
-
-
 
 
 /**
@@ -130,7 +103,7 @@
 HTaskPtr 
 Magoroku::application_task(HTaskPtr next, Viewer* viewer){
 
-  // magoroku_racing                                                                                                        
+  // magoroku_racing
   game_main();
 
   /*
@@ -173,7 +146,6 @@
       }
     }
   }
-
   task_init();
   task_initialize();
   manager->set_TMend(TMend);
@@ -194,8 +166,11 @@
 //static int light_num = 4;
 
 
+
+static int light_sysswitch = 0;
+static int light_num = 4;
+
 // ceriumuで同じ変数名があるから _2 って付け足しました
-/*
 static void 
 LightSysSwitch_2(Viewer *sgroot) {
   if (light_sysswitch == 1) {
@@ -211,4 +186,4 @@
     sgroot->OffLightSysSwitch();
   }
 }
-*/
+