works. done.
the limit can be set in HUDNavigation.h ' static const unsigned int markerLimit_'.
if possible it would be nice to set this via console ingame ?
Search found 11 matches
- Thu May 27, 2010 6:31 pm
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
- Thu May 27, 2010 11:10 am
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
Re: HUDNavigation
some thoughts: void HUDNavigation::changedOwner() { c316: // TODO: Delete old objects? what do you mean with old objects ? changedOwner is called when you respawn, so i guess you are talking about the objects that was indexed (in our map) during the last sessino of playing just before the respawn? s...
- Sun May 23, 2010 8:56 pm
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
Re: HUDNavigation
just got it compiling. great work! a thousand thanks! going to figure out what exactly you changed tomorrow.
cheers sebastian
cheers sebastian
- Sun May 23, 2010 8:36 pm
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
Re: HUDNavigation
hi again, thx @ all for your efforts! i was away for a few days and am now back with working spirit ;-) going to take a look at all your changes & cleanUps so i know where we stand atm. first thing i notice in my hurry is that i cant compile: Revision: 6964 cc1plus: error: OverlaysPrecompiledHeaders...
- Sun May 16, 2010 12:07 pm
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
Re: HUDNavigation
i can't really help you there, but just a note: if you store pointers in a map and you destroy (or clear) the map, the pointers will be lost, but the "real" objects (in this case the overlays) won't be deleted. so you have to delete the objects before you clear the map. but i dont want to delete th...
- Sat May 15, 2010 1:49 pm
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
Re: HUDNavigation
i must went throught what you wrote into the destructor: activeObjectListType::iterator it; for( it = activeObjectList_.begin(); it!=activeObjectList_.end(); ++it ) { removeObject(it->first); } activeObjectList_.clear(); does this make sense? in the map key: radarvieable, value: pair<paneloverlay, t...
- Sat May 15, 2010 1:42 pm
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
Re: HUDNavigation
hi there, thanks for the cleaning part =) with the bool outOfView i am pretty shure to be on the right part here. if you watch the code: Vector3 pos = transform * tempRadarViewable->first->getRVWorldPosition(); bool outOfView; if (pos.z > 1.0) this is all in my big for(iterating throught map) so the...
- Thu May 13, 2010 10:00 am
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
Re: HUDNavigation
all right :beerchug: es funktioniert - alle pfeile werden angezeigt, und aktualisiert, und beim respawn korrekt neu initialisiert. weiter im text: problem: die textoverlays erscheinen nicht obwohl parallel mit den pfeiloverlays initialisiert. vermutung: könnte es daran liegen, dass die setCaption fu...
- Tue May 11, 2010 8:53 pm
- Forum: Coding
- Topic: HUDNavigation
- Replies: 23
- Views: 36137
HUDNavigation
hi there, after another 4 hours on the HUDNavigation.cc file in /src/modules/overlays/hud in the hudelements branch im coming here now to get some help. target: to solve the problem caused by beeing killed in game. if the humancontroller is killed and respawns the ogre-overlays for navmarkers an dis...
- Mon Mar 08, 2010 8:48 am
- Forum: Help
- Topic: problems installing OX on ubuntu 9.04 (virtual)
- Replies: 3
- Views: 15491
problems installing OX on ubuntu 9.04 (virtual)
Error message when compiling: seems to be a path-problem... thx for helping me out here. :| sfluecki@sfluecki-ubuntu:~/orxonox/trunk/build$ cmake .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C ...
- Tue Mar 02, 2010 2:55 pm
- Forum: Off Topic
- Topic: Welcome to the Orxonox PPS FS10
- Replies: 11
- Views: 20696
Re: Welcome to the Orxonox PPS FS10
Hi there, im sebastian - as all of here during 2. semester of D-ITET. im here to learn more about game-developement, and gaming itself, though im a 'addicted' to online-games, especially 'spacy' ones. since 7 years i have been playing Omega-Day a game you'll find on www.omega-day.com , in my opinion...