Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6498 in orxonox.OLD for trunk/src/world_entities/power_ups


Ignore:
Timestamp:
Jan 11, 2006, 9:58:22 PM (18 years ago)
Author:
patrick
Message:

trunk: merged the network branche into the trunk

Location:
trunk/src/world_entities/power_ups
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/power_ups/param_power_up.cc

    r6424 r6498  
    138138    SYNCHELP_READ_INT( this->min_value );
    139139    SYNCHELP_READ_INT( this->max_value );
     140    respawn();
    140141  }
    141142
     
    162163    SYNCHELP_WRITE_FKT( PowerUp::readState );
    163164
    164     int i = this->type;
     165    int i = (int)this->type;
    165166    SYNCHELP_WRITE_INT( i );
    166167    SYNCHELP_WRITE_INT( this->value );
  • trunk/src/world_entities/power_ups/power_up.cc

    r6424 r6498  
    9696}
    9797
     98
     99
     100/********************************************************************************************
     101 NETWORK STUFF
     102 ********************************************************************************************/
     103
     104
    98105/**
    99106 * data copied in data will bee sent to another host
     
    108115  return SYNCHELP_WRITE_N;
    109116}
     117
    110118
    111119/**
  • trunk/src/world_entities/power_ups/turret_power_up.cc

    r6424 r6498  
    119119}
    120120
     121
     122
     123
     124/********************************************************************************************
     125 NETWORK STUFF
     126 ********************************************************************************************/
     127
     128
    121129int TurretPowerUp::writeBytes( const byte * data, int length, int sender )
    122130{
     
    130138  return SYNCHELP_READ_N;
    131139}
    132 
    133140
    134141
Note: See TracChangeset for help on using the changeset viewer.