Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 18, 2008, 10:58:46 PM (16 years ago)
Author:
landauf
Message:

did some first (and very unfinished) steps to deal with different players on server and client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/core/CoreIncludes.h

    r1856 r1940  
    9898*/
    9999#define CreateFactory(ClassName) \
    100     bool bCreated##ClassName##Factory = orxonox::ClassFactory<ClassName>::create(#ClassName)
     100    bool bCreated##ClassName##Factory = orxonox::ClassFactory<ClassName>::create(#ClassName, true)
     101
     102/**
     103    @brief Creates the entry in the Factory for classes which should not be loaded through XML.
     104    @param ClassName The name of the class
     105*/
     106#define CreateUnloadableFactory(ClassName) \
     107    bool bCreated##ClassName##Factory = orxonox::ClassFactory<ClassName>::create(#ClassName, false)
    101108
    102109/**
     
    111118    @param String The name of the class
    112119*/
    113 #define ClassByName(String) \
     120#define ClassByString(String) \
    114121    orxonox::Factory::getIdentifier(String)
    115122
Note: See TracChangeset for help on using the changeset viewer.