Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5499 in orxonox.OLD for trunk/src/util/loading/load_param.h


Ignore:
Timestamp:
Nov 7, 2005, 10:56:58 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Load_Param2 changed, to load Models with, or without scale.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/loading/load_param.h

    r5332 r5499  
    169169 * @param type1 The type of the first functionParameter
    170170 * @param type2 The type of the second functionParameter
     171 *
     172 * @TODO DEFAULT VALUES HACK
    171173 */
    172174#define LoadParam2(type1, type2) \
     
    178180{ \
    179181          SubString subLoads(loadString); \
    180           if (subLoads.getCount() == 2) \
     182          if (subLoads.getCount() >= 1) \
    181183            (*pt2Object.*function)(type1##_FUNC(subLoads.getString(0), default1), type2##_FUNC(subLoads.getString(1), default2)); \
    182184          else \
Note: See TracChangeset for help on using the changeset viewer.