Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 18, 2005, 11:52:15 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged trunk back to levelloader
merged with command:
svn merge -r 3499:HEAD trunk branches/levelloader

Conflicts in
C track_manager.h
C world_entities/player.cc
C world_entities/player.h
C world_entities/environment.h
C lib/coord/p_node.cc
C defs/debug.h
C track_manager.cc
C story_entities/campaign.h

solved in merge-favouring. It was quite easy because Chris only worked on the headers, and he didi it quite clean. Thats the spirit :)

Conflits in world.cc are a MESS: fix it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelloader/src/command_node.cc

    r3236 r3605  
    1414*/
    1515
     16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_COMMAND_NODE
    1617
    1718#include "command_node.h"
     
    112113  FILE* stream;
    113114 
    114   printf("Loading key bindings from %s\n", filename);
     115  PRINTF(4)("Loading key bindings from %s\n", filename);
    115116 
    116117  if( filename == NULL) filename = DEFAULT_KEYBIND_FILE;
     
    127128  if( parser.getSection ("Bindings") == -1)
    128129    {
    129       printf("Could not find key bindings in %s\n", filename);
     130      PRINTF(1)("Could not find key bindings in %s\n", filename);
    130131      return;
    131132    }
     
    145146        {
    146147        case 0:
    147           printf("Key binding %d(%s) set to %s\n", index[1], SDLKToKeyname( index[1]), valuebuf);
     148          PRINTF(4)("Key binding %d(%s) set to %s\n", index[1], SDLKToKeyname( index[1]), valuebuf);
    148149          strcpy (aliases->keys[index[1]], valuebuf);
    149150          break;
    150151        case 1:
    151           printf("Button binding %d(%s) set to %s\n", index[1], SDLBToButtonname( index[1]), valuebuf);
     152          PRINTF(4)("Button binding %d(%s) set to %s\n", index[1], SDLBToButtonname( index[1]), valuebuf);
    152153          strcpy (aliases->buttons[index[1]], valuebuf);
    153154          break;
     
    214215  while( SDL_PollEvent (&event))
    215216    {
     217      PRINTF(3)("CommandNode::processLocal() =========================got Event\n");
    216218      memset (cmd.cmd, 0, CMD_LENGHT);
    217219      switch( event.type)
     
    267269void CommandNode::relay (Command* cmd)
    268270{
    269 
    270271  Orxonox *orx = Orxonox::getInstance();
    271272  if( orx->systemCommand (cmd)) return;
     
    281282  while( entity != NULL)
    282283    {
    283       entity->command (cmd);
     284      entity->command (cmd); /*no absorbtion of command! strange*/
    284285      entity = bound->nextElement();
    285286    }
Note: See TracChangeset for help on using the changeset viewer.