Changeset 30967

Show
Ignore:
Timestamp:
2008-08-25 23:18:56 (3 months ago)
Author:
erluk
Message:
  • Removed SCF factories from the remains of the thing plugin
  • Replaced individual includes inside thingldr.cpp with the CS master header. For some reason, this fixes the genmeshify linker errors in MSVC's DLL builds. Simply appending this include would also have fixed the build. Further investigation might be needed.
Location:
CS/trunk/apps/tools/genmeshify/thing
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • CS/trunk/apps/tools/genmeshify/thing/object/thing.cpp

    r30904 r30967  
    25192519//--------------------------------------------------------------------------- 
    25202520 
    2521 SCF_IMPLEMENT_FACTORY (csThingObjectType) 
    2522  
    25232521csThingObjectType::csThingObjectType (iBase *pParent) : 
    25242522  scfImplementationType (this, pParent), 
  • CS/trunk/apps/tools/genmeshify/thing/persist/thingldr.cpp

    r30879 r30967  
    1717*/ 
    1818 
    19 #include "cssysdef.h" 
    20  
    21 #include "csgeom/math3d.h" 
    22 #include "csgeom/matrix3.h" 
    23 #include "csgeom/transfrm.h" 
    24 #include "csutil/cscolor.h" 
    25 #include "csutil/csstring.h" 
    26 #include "csutil/dirtyaccessarray.h" 
    27 #include "csutil/flags.h" 
    28 #include "csutil/scanstr.h" 
    29 #include "csutil/scfstr.h" 
    30 #include "csutil/util.h" 
    31  
    32  
    33 #include "iengine/engine.h" 
    34 #include "iengine/mesh.h" 
    35 #include "iengine/material.h" 
    36 #include "iengine/portal.h" 
    37 #include "iengine/portalcontainer.h" 
    38 #include "iengine/texture.h" 
    39 #include "imap/ldrctxt.h" 
    40 #include "imap/loader.h" 
    41 #include "imap/services.h" 
    42 #include "imesh/object.h" 
     19#include "crystalspace.h" 
     20 
    4321#include "../thing.h" 
    44 #include "iutil/comp.h" 
    45 #include "iutil/document.h" 
    46 #include "iutil/eventh.h" 
    47 #include "iutil/object.h" 
    48 #include "iutil/objreg.h" 
    49 #include "iutil/plugin.h" 
    50 #include "iutil/vfs.h" 
    51 #include "ivaria/reporter.h" 
    52 #include "ivideo/graph3d.h" 
    53 #include "ivideo/material.h" 
    54 #include "ivideo/texture.h" 
    5522#include "../object/thing.h" 
    5623 
    5724 
    5825#include "thingldr.h" 
     26 
    5927 
    6028enum 
     
    9967}; 
    10068 
    101 SCF_IMPLEMENT_FACTORY (csThingLoader) 
    102 SCF_IMPLEMENT_FACTORY (csThingFactoryLoader) 
    103 SCF_IMPLEMENT_FACTORY (csThingSaver) 
    104 SCF_IMPLEMENT_FACTORY (csThingFactorySaver) 
    105  
    10669static csRef<iMeshObjectType> GetThing (iObjectRegistry* object_reg) 
    10770{