- Timestamp:
- May 24, 2018, 3:54:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc
r11985 r11996 97 97 int trafficVelocities[]= {200,1400,500, 300}; 98 98 int velocityVariation[] = {40,80,100,20}; 99 int numObjects[] = { 60,40,30,40}; // default, spaceship, sattellite, asteroid per track99 int numObjects[] = {30,30,30,30}; // default, spaceship, satellite, asteroid per track 100 100 int streetSize[] = {3 , 1, 2, 4}; 101 101 int trackWidth = 700; … … 114 114 cubeList.push_back(cube); 115 115 int templateType = rand()%2; 116 116 117 switch(type) 117 118 { … … 137 138 }else { 138 139 cube->addTemplate("satellite");//satellite 139 } 140 } 140 141 141 142 … … 208 209 { 209 210 int type = rand() % 4; 210 orxout(user_info) << "Random : "<<type<< endl;211 //orxout(user_info) << "Random : "<<type<< endl; 211 212 212 213 roadWidth = generateStreet(type,player);//Generate street to specific type type = 0 default, type = 1 space ship type = 2 statellite/cubes, type = 3 asteroids
Note: See TracChangeset
for help on using the changeset viewer.