Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 18, 2006, 10:06:19 PM (18 years ago)
Author:
bensch
Message:

new_class_id: hups… this was bad naming… confusing too.

Location:
branches/new_class_id/src/world_entities/space_ships
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/space_ships/helicopter.cc

    r9746 r9757  
    3838CREATE_FACTORY(Helicopter);
    3939#include "script_class.h"
    40 CREATE_SCRIPTABLE_CLASS(Helicopter, Helicopter::classID(),
     40CREATE_SCRIPTABLE_CLASS(Helicopter,
    4141                        addMethod("moveUp", Executor1<Helicopter, lua_State*,bool>(&Helicopter::moveUp))
    4242                            ->addMethod("moveDown", Executor1<Helicopter, lua_State*,bool>(&Helicopter::moveDown))
  • branches/new_class_id/src/world_entities/space_ships/hover.cc

    r9746 r9757  
    3939
    4040#include "script_class.h"
    41 CREATE_SCRIPTABLE_CLASS(Hover, Hover::classID(),
     41CREATE_SCRIPTABLE_CLASS(Hover,
    4242                        addMethod("hasPlayer", Executor0ret<Playable, lua_State*,bool>(&Playable::hasPlayer))
    4343                        //Coordinates
  • branches/new_class_id/src/world_entities/space_ships/space_ship.cc

    r9746 r9757  
    5858
    5959#include "script_class.h"
    60 CREATE_SCRIPTABLE_CLASS(SpaceShip, SpaceShip::classID(),
     60CREATE_SCRIPTABLE_CLASS(SpaceShip,
    6161                        addMethod("hasPlayer", Executor0ret<Playable, lua_State*,bool>(&Playable::hasPlayer))
    6262                        ->addMethod("fire", Executor1<Playable, lua_State*, bool>(&Playable::fire))
  • branches/new_class_id/src/world_entities/space_ships/spacecraft_2d.cc

    r9746 r9757  
    4242CREATE_FACTORY(Spacecraft2D);
    4343
    44 CREATE_SCRIPTABLE_CLASS(Spacecraft2D, Spacecraft2D::classID(),
     44CREATE_SCRIPTABLE_CLASS(Spacecraft2D,
    4545                        addMethod("hasPlayer", Executor0ret<Playable, lua_State*,bool>(&Playable::hasPlayer))
    4646                        //Coordinates
Note: See TracChangeset for help on using the changeset viewer.