The open-source game engine and graphics engine for multiplayer, cross-platform, real-time 3D action

It is currently 2014-09-21, 12:05

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2010-05-17, 07:03 
Offline

Joined: 2010-05-13, 18:50
Posts: 11
as the subject suggests how can i compile only death match (modified) game without having to compile the engine again and again :?: :wink:

more ques
1. from where does the humanplayer.cpp functions are called
2. wich file maps the keyboard keys to the functions (like moving forward is mapped onto the W key)
3. what functions to call to render the player model in game like you call
WeaponModelView.Draw(State.ActiveWeaponSequNr, State.ActiveWeaponFrameNr, LodDist); (if i am right) to render the current wepon :?:

thanks in advanced :cheesy:


Top
 Profile  
 
PostPosted: 2010-05-17, 22:25 
Offline
Site Admin
User avatar

Joined: 2004-08-19, 13:46
Posts: 1967
Location: Germany
DarkStar wrote:
as the subject suggests how can i compile only death match (modified) game without having to compile the engine again and again :?: :wink:

Just call scons -Q again as documented.
SCons makes sure that it only rebuilds whatever needs to be rebuild according to the edits you've made.
Call scons -Q two times in a row in order to verify that the second time, it builds nothing anew, because everything has been (re-)build in the first run.

Quote:
1. from where does the humanplayer.cpp functions are called

The Cafu Engine calls them via BaseEntityT (base class) pointers. Note that the entity methods are called from the server code, client code, and client prediction code.

Quote:
2. wich file maps the keyboard keys to the functions (like moving forward is mapped onto the W key)

Ca3DE/Client/ClientStateInGame.cpp

Quote:
3. what functions to call to render the player model in game like you call
WeaponModelView.Draw(State.ActiveWeaponSequNr, State.ActiveWeaponFrameNr, LodDist); (if i am right) to render the current wepon :?:

Sorry, I really don't understand this question - punctuation might help...
Guessing into the blue, have you seen method EntCompanyBotT::Draw() in Games/DeathMatch/Code/CompanyBot.cpp?

_________________
Best regards,
Carsten


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group