Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
levelhead
levelhead-1.0-abuild.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File levelhead-1.0-abuild.patch of Package levelhead
diff -rupN levelhead/src/levelhead.cpp levelhead_mod/src/levelhead.cpp --- levelhead/src/levelhead.cpp 2009-09-21 22:30:04.000000000 +0200 +++ levelhead_mod/src/levelhead.cpp 2010-04-11 11:13:51.295544514 +0200 @@ -620,6 +620,7 @@ bool getHitObjectBbox(osg::Geode *trigge return 1; } } + return 0; } /* return a geode based on string <name>. this is important as is used to @@ -730,6 +731,7 @@ osg::Vec3 getRayIntersect(osg::Group *sc else { printf("we didn't hit anything\n"); + return osg::Vec3(); } } @@ -811,6 +813,7 @@ bool matchOrByName(const char *name, osg { return 1; } + return 0; } /* make a list of geodes that contain the triggerable objects. these are cycled through in the detection of trigger events. @@ -1198,7 +1201,7 @@ class RoomManager } RoomData *createRoom(std::string name) { - roomMap[name]=new RoomData(name); + return roomMap[name] = new RoomData(name); } void printRooms() { @@ -1856,7 +1859,7 @@ int main(int argc, char* argv[]) //int setup = 0; int firstRun = 1; int control = 0; // is the cube in the right orientation to allow navigation? - double t1, t2, t3 = 0.0; // times for restart + double t1 = 0.0, t2 = 0.0, t3 = 0.0; // times for restart int exited = 0; int lastClosestMarker = 0; int closestLvl1 = 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor