@@ -196,20 +196,15 @@ void CObjectFactory::register_classes ()
196196 add<CGamePersistent> (CLSID_GAME_PERSISTANT ," game" );
197197 add<CHUDManager> (CLSID_HUDMANAGER ," hud_manager" );
198198 // Server Game type
199-
200- #ifndef NO_SINGLE
201199 add<game_sv_Single> (CLSID_SV_GAME_SINGLE ," game_sv_single" );
202- #endif // #ifndef NO_SINGLE
203200#ifndef BENCHMARK_BUILD
204201 add<game_sv_Deathmatch> (CLSID_SV_GAME_DEATHMATCH ," game_sv_deathmatch" );
205202 add<game_sv_TeamDeathmatch> (CLSID_SV_GAME_TEAMDEATHMATCH ," game_sv_team_deathmatch" );
206203 add<game_sv_ArtefactHunt> (CLSID_SV_GAME_ARTEFACTHUNT ," game_sv_artefact_hunt" );
207204 add<game_sv_CaptureTheArtefact> (CLSID_SV_GAME_CAPTURETHEARTEFACT ," game_sv_capture_the_artefact" );
208205#endif // BENCHMARK_BUILD
209206 // Client Game type
210- #ifndef NO_SINGLE
211207 add<game_cl_Single> (CLSID_CL_GAME_SINGLE ," game_cl_single" );
212- #endif // #ifndef NO_SINGLE
213208#ifndef BENCHMARK_BUILD
214209 add<game_cl_Deathmatch> (CLSID_CL_GAME_DEATHMATCH ," game_cl_deathmatch" );
215210 add<game_cl_TeamDeathmatch> (CLSID_CL_GAME_TEAMDEATHMATCH ," game_cl_team_deathmatch" );
@@ -223,28 +218,18 @@ void CObjectFactory::register_classes ()
223218 add<CUIGameTDM> (CLSID_GAME_UI_TEAMDEATHMATCH ," game_ui_team_deathmatch" );
224219 add<CUIGameAHunt> (CLSID_GAME_UI_ARTEFACTHUNT ," game_ui_artefact_hunt" );
225220 add<CUIGameCTA> (CLSID_GAME_UI_CAPTURETHEARTEFACT ," game_ui_capture_the_artefact" );
226-
227- # ifndef NO_SINGLE
228- ADD_MP (CActor,CActorMP,CSE_ALifeCreatureActor,CSE_ActorMP ,CLSID_OBJECT_ACTOR ," actor" );
229- # else // #ifndef NO_SINGLE
230- ADD (CActorMP,CSE_ActorMP ,CLSID_OBJECT_ACTOR ," actor" );
231- # endif // #ifndef NO_SINGLE
221+ ADD_MP (CActor,CActorMP,CSE_ALifeCreatureActor,CSE_ActorMP ,CLSID_OBJECT_ACTOR ," actor" );
232222#else // NO_XR_GAME
233223 ADD (CActor ,CSE_ALifeCreatureActor ,CLSID_OBJECT_ACTOR ," actor" );
234224#endif // NO_XR_GAME
235225
236226 // server entities
237- #ifndef NO_SINGLE
238227 add<CSE_ALifeGroupTemplate<CSE_ALifeMonsterBase> > (CLSID_AI_FLESH_GROUP ," flesh_group" );
239228// add<CSE_SpawnGroup> (CLSID_AI_SPAWN_GROUP ,"spawn_group");
240229 add<CSE_ALifeGraphPoint> (CLSID_AI_GRAPH ," graph_point" );
241- add<CSE_ALifeOnlineOfflineGroup> (CLSID_ONLINE_OFFLINE_GROUP ," online_offline_group" );
242- #endif // #ifndef NO_SINGLE
243-
230+ add<CSE_ALifeOnlineOfflineGroup> (CLSID_ONLINE_OFFLINE_GROUP ," online_offline_group" );
244231 // client and server entities
245232 ADD (CSpectator ,CSE_Spectator ,CLSID_SPECTATOR ," spectator" );
246-
247- #ifndef NO_SINGLE
248233 ADD (CAI_Flesh ,CSE_ALifeMonsterBase ,CLSID_AI_FLESH ," flesh" );
249234 ADD (CChimera ,CSE_ALifeMonsterBase ,CLSID_AI_CHIMERA ," chimera" );
250235 ADD (CAI_Dog ,CSE_ALifeMonsterBase ,CLSID_AI_DOG_RED ," dog_red" );
@@ -274,8 +259,6 @@ void CObjectFactory::register_classes ()
274259 ADD (CCar ,CSE_ALifeCar ,CLSID_CAR ," car" );
275260
276261 ADD (CHelicopter ,CSE_ALifeHelicopter ,CLSID_VEHICLE_HELICOPTER ," helicopter" );
277- #endif // #ifndef NO_SINGLE
278-
279262 // Artefacts
280263 ADD (CMercuryBall ,CSE_ALifeItemArtefact ,CLSID_AF_MERCURY_BALL ," art_mercury_ball" );
281264 ADD (CBlackDrops ,CSE_ALifeItemArtefact ,CLSID_AF_BLACKDROPS ," art_black_drops" );
@@ -331,9 +314,7 @@ void CObjectFactory::register_classes ()
331314 ADD (CGrenadeLauncher ,CSE_ALifeItem ,CLSID_OBJECT_W_GLAUNCHER ," wpn_grenade_launcher" );
332315
333316 // Inventory
334- #ifndef NO_SINGLE
335317 ADD (CBolt ,CSE_ALifeItemBolt ,CLSID_IITEM_BOLT ," obj_bolt" );
336- #endif // #ifndef NO_SINGLE
337318 ADD (CMedkit ,CSE_ALifeItem ,CLSID_IITEM_MEDKIT ," obj_medkit" );
338319 ADD (CMedkit ,CSE_ALifeItem ,CLSID_IITEM_BANDAGE ," obj_bandage" );
339320 ADD (CAntirad ,CSE_ALifeItem ,CLSID_IITEM_ANTIRAD ," obj_antirad" );
@@ -411,9 +392,7 @@ void CObjectFactory::register_classes ()
411392 ADD (CDestroyablePhysicsObject,CSE_ALifeObjectPhysic ,CLSID_PHYSICS_DESTROYABLE ," obj_phys_destroyable" );
412393
413394 ADD (CInventoryBox ,CSE_ALifeInventoryBox ,CLSID_INVENTORY_BOX ," inventory_box" );
414- #ifndef NO_SINGLE
415395 ADD (smart_cover::object ,CSE_SmartCover ,TEXT2CLSID (" SMRTCOVR" ) ," smart_cover" );
416- #endif // #ifndef NO_SINGLE
417396
418397#ifndef NO_XR_GAME
419398 // hack, for dedicated server only
0 commit comments