Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2007, 11:49:42 PM (16 years ago)
Author:
rgrieder
Message:
  • added Chai's HUD overlay
  • abstracted debugOverlay —> TestOverlay
  • added overlay media files
  • cleaned up RunManager a little bit
  • omitted using ogre's Singleton template
  • added useful CMake structure
  • some more things
File:
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto_vs05/src/weapon/base_weapon.cc

    r232 r288  
    9898    }
    9999
    100     switch (currentState_)
     100    if (currentState_ != IDLE)
    101101    {
    102     case IDLE:
     102      switch (currentState_)
     103      {
     104      case PRIMARY_FIRE:
     105        primaryFiring((unsigned int)(time - actionStartTime_));
     106        break;
     107
     108      case SECONDARY_FIRE:
     109        secondaryFiring((unsigned int)(time - actionStartTime_));
     110        break;
     111
     112      case RELOADING:
     113        break;
     114
     115      case CHANGING_AMMO:
     116        break;
     117      }
     118    }
     119
     120    if (currentState_ == IDLE)
     121    {
    103122      // first, process next action
    104123      if (nextAction_ != NOTHING)
     
    142161        }
    143162      }
    144 
    145       break;
    146 
    147     case PRIMARY_FIRE:
    148       primaryFiring((unsigned int)(time - actionStartTime_));
    149       break;
    150 
    151     case SECONDARY_FIRE:
    152       secondaryFiring((unsigned int)(time - actionStartTime_));
    153       break;
    154 
    155     case RELOADING:
    156       break;
    157 
    158     case CHANGING_AMMO:
    159       break;
    160163    }
    161164
Note: See TracChangeset for help on using the changeset viewer.