mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-10 04:27:10 +03:00
Added VehicleWheelsX4, VehicleWheelsX2, VehicleTank and VehicleHalfTrack
This commit is contained in:
parent
e510c115e2
commit
30ea3a2010
17 changed files with 520 additions and 93 deletions
51
code/game/VehicleHalfTrack.cpp
Normal file
51
code/game/VehicleHalfTrack.cpp
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
/*
|
||||||
|
===========================================================================
|
||||||
|
Copyright (C) 2018 the OpenMoHAA team
|
||||||
|
|
||||||
|
This file is part of OpenMoHAA source code.
|
||||||
|
|
||||||
|
OpenMoHAA source code is free software; you can redistribute it
|
||||||
|
and/or modify it under the terms of the GNU General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
OpenMoHAA source code is distributed in the hope that it will be
|
||||||
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with OpenMoHAA source code; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
===========================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "vehicle.h"
|
||||||
|
#include "player.h"
|
||||||
|
|
||||||
|
CLASS_DECLARATION(DrivableVehicle, VehicleHalfTrack, "VehicleHalfTrack")
|
||||||
|
{
|
||||||
|
{ &EV_Damage, &VehicleHalfTrack::EventDamage },
|
||||||
|
{ &EV_Killed, &VehicleHalfTrack::Killed },
|
||||||
|
{ NULL, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
VehicleHalfTrack::VehicleHalfTrack()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleHalfTrack::Think()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleHalfTrack::Postthink()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleHalfTrack::Killed(Event* ev)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
82
code/game/VehicleTank.cpp
Normal file
82
code/game/VehicleTank.cpp
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
/*
|
||||||
|
===========================================================================
|
||||||
|
Copyright (C) 2018 the OpenMoHAA team
|
||||||
|
|
||||||
|
This file is part of OpenMoHAA source code.
|
||||||
|
|
||||||
|
OpenMoHAA source code is free software; you can redistribute it
|
||||||
|
and/or modify it under the terms of the GNU General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
OpenMoHAA source code is distributed in the hope that it will be
|
||||||
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with OpenMoHAA source code; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
===========================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "vehicle.h"
|
||||||
|
#include "player.h"
|
||||||
|
|
||||||
|
CLASS_DECLARATION(DrivableVehicle, VehicleTank, "VehicleTank")
|
||||||
|
{
|
||||||
|
{ &EV_Damage, &VehicleTank::EventDamage },
|
||||||
|
{ NULL, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
VehicleTank::VehicleTank()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
VehicleTank::~VehicleTank()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
qboolean VehicleTank::Drive(usercmd_t *ucmd)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleTank::EventDamage(Event *ev)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleTank::Think()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleTank::Postthink()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleTank::Killed(Event* ev)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleTank::CalculateOriginOffset()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleTank::UpdateSound()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleTank::AttachDriverSlot(Event* ev)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
63
code/game/VehicleWheelsX2.cpp
Normal file
63
code/game/VehicleWheelsX2.cpp
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
/*
|
||||||
|
===========================================================================
|
||||||
|
Copyright (C) 2018 the OpenMoHAA team
|
||||||
|
|
||||||
|
This file is part of OpenMoHAA source code.
|
||||||
|
|
||||||
|
OpenMoHAA source code is free software; you can redistribute it
|
||||||
|
and/or modify it under the terms of the GNU General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
OpenMoHAA source code is distributed in the hope that it will be
|
||||||
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with OpenMoHAA source code; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
===========================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "vehicle.h"
|
||||||
|
#include "player.h"
|
||||||
|
|
||||||
|
CLASS_DECLARATION(DrivableVehicle, VehicleWheelsX2, "VehicleWheelsX2")
|
||||||
|
{
|
||||||
|
{ &EV_Damage, &VehicleWheelsX2::EventDamage },
|
||||||
|
{ &EV_Killed, &VehicleWheelsX2::Killed },
|
||||||
|
{ NULL, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
VehicleWheelsX2::VehicleWheelsX2()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX2::UpdateVariables(Vector *acceleration, Vector *vpn, Vector *vup, Vector *vright, Vector *t_vpn, Vector *t_vup, Vector *t_vright)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
float VehicleWheelsX2::TorqueLookup(int rpm)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
return 0.f;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX2::Think()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX2::Postthink()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX2::Killed(Event* ev)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
62
code/game/VehicleWheelsX4.cpp
Normal file
62
code/game/VehicleWheelsX4.cpp
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
/*
|
||||||
|
===========================================================================
|
||||||
|
Copyright (C) 2018 the OpenMoHAA team
|
||||||
|
|
||||||
|
This file is part of OpenMoHAA source code.
|
||||||
|
|
||||||
|
OpenMoHAA source code is free software; you can redistribute it
|
||||||
|
and/or modify it under the terms of the GNU General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
OpenMoHAA source code is distributed in the hope that it will be
|
||||||
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with OpenMoHAA source code; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
===========================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "vehicle.h"
|
||||||
|
#include "player.h"
|
||||||
|
|
||||||
|
CLASS_DECLARATION(DrivableVehicle, VehicleWheelsX4, "VehicleWheelsX4")
|
||||||
|
{
|
||||||
|
{ &EV_Damage, &VehicleWheelsX4::EventDamage },
|
||||||
|
{ &EV_Killed, &VehicleWheelsX4::Killed },
|
||||||
|
{ NULL, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
VehicleWheelsX4::VehicleWheelsX4()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX4::UpdateVariables(Vector *acceleration, Vector *vpn, Vector *vup, Vector *vright, Vector *t_vpn, Vector *t_vup, Vector *t_vright)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
float VehicleWheelsX4::TorqueLookup(int rpm)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
return 0.f;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX4::Think()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX4::Postthink()
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleWheelsX4::Killed(Event* ev)
|
||||||
|
{
|
||||||
|
// FIXME: STUB
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
===========================================================================
|
===========================================================================
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
Copyright (C) 2018 the OpenMoHAA team
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
This file is part of OpenMoHAA source code.
|
||||||
|
|
||||||
|
|
|
@ -796,15 +796,79 @@ inline void Vehicle::Archive
|
||||||
}
|
}
|
||||||
|
|
||||||
class DrivableVehicle : public Vehicle
|
class DrivableVehicle : public Vehicle
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
CLASS_PROTOTYPE( DrivableVehicle );
|
CLASS_PROTOTYPE(DrivableVehicle);
|
||||||
|
|
||||||
DrivableVehicle( void );
|
DrivableVehicle(void);
|
||||||
|
|
||||||
virtual void Killed( Event *ev );
|
virtual void Killed(Event* ev);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class VehicleWheelsX4 : public DrivableVehicle
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
wheel_s m_sWheels[4];
|
||||||
|
|
||||||
|
public:
|
||||||
|
CLASS_PROTOTYPE(VehicleWheelsX4);
|
||||||
|
|
||||||
|
VehicleWheelsX4();
|
||||||
|
|
||||||
|
virtual void UpdateVariables(Vector *acceleration, Vector *vpn, Vector *vup, Vector *vright, Vector *t_vpn, Vector *t_vup, Vector *t_vright) override;
|
||||||
|
virtual float TorqueLookup(int rpm) override;
|
||||||
|
virtual void Think() override;
|
||||||
|
virtual void Postthink() override;
|
||||||
|
virtual void Killed(Event* ev) override;
|
||||||
|
};
|
||||||
|
|
||||||
|
class VehicleWheelsX2 : public DrivableVehicle
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
wheel_s m_sWheels[2];
|
||||||
|
|
||||||
|
public:
|
||||||
|
CLASS_PROTOTYPE(VehicleWheelsX2);
|
||||||
|
|
||||||
|
VehicleWheelsX2();
|
||||||
|
|
||||||
|
virtual void UpdateVariables(Vector *acceleration, Vector *vpn, Vector *vup, Vector *vright, Vector *t_vpn, Vector *t_vup, Vector *t_vright) override;
|
||||||
|
virtual float TorqueLookup(int rpm) override;
|
||||||
|
virtual void Think() override;
|
||||||
|
virtual void Postthink() override;
|
||||||
|
virtual void Killed(Event* ev) override;
|
||||||
|
};
|
||||||
|
|
||||||
|
class VehicleTank : public DrivableVehicle
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CLASS_PROTOTYPE(VehicleTank);
|
||||||
|
|
||||||
|
VehicleTank();
|
||||||
|
~VehicleTank();
|
||||||
|
|
||||||
|
virtual qboolean Drive(usercmd_t *ucmd) override;
|
||||||
|
void EventDamage(Event *ev);
|
||||||
|
virtual void Think() override;
|
||||||
|
virtual void Postthink() override;
|
||||||
|
virtual void Killed(Event* ev) override;
|
||||||
|
virtual void CalculateOriginOffset() override;
|
||||||
|
virtual void UpdateSound();
|
||||||
|
virtual void AttachDriverSlot(Event* ev);
|
||||||
|
};
|
||||||
|
|
||||||
|
class VehicleHalfTrack : public DrivableVehicle
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CLASS_PROTOTYPE(VehicleHalfTrack);
|
||||||
|
|
||||||
|
VehicleHalfTrack();
|
||||||
|
|
||||||
|
virtual void Think() override;
|
||||||
|
virtual void Postthink() override;
|
||||||
|
virtual void Killed(Event* ev) override;
|
||||||
|
};
|
||||||
|
|
||||||
typedef SafePtr<Vehicle> VehiclePtr;
|
typedef SafePtr<Vehicle> VehiclePtr;
|
||||||
|
|
||||||
|
|
|
@ -302,6 +302,34 @@ static char *fs_serverReferencedPakNames[MAX_SEARCH_PATHS]; // pk3 names
|
||||||
char lastValidBase[MAX_OSPATH];
|
char lastValidBase[MAX_OSPATH];
|
||||||
char lastValidGame[MAX_OSPATH];
|
char lastValidGame[MAX_OSPATH];
|
||||||
|
|
||||||
|
static const char* fs_originalPaks_main[] =
|
||||||
|
{
|
||||||
|
"Pak0.pk3",
|
||||||
|
"Pak1.pk3",
|
||||||
|
"Pak2.pk3",
|
||||||
|
"Pak3.pk3",
|
||||||
|
"Pak4.pk3",
|
||||||
|
"Pak5.pk3",
|
||||||
|
"Pak6.pk3"
|
||||||
|
};
|
||||||
|
|
||||||
|
static const char* fs_originalPaks_mainta[] =
|
||||||
|
{
|
||||||
|
"pak1.pk3",
|
||||||
|
"pak2.pk3",
|
||||||
|
"pak3.pk3",
|
||||||
|
"pak4.pk3",
|
||||||
|
"pak5.pk3"
|
||||||
|
};
|
||||||
|
|
||||||
|
static const char* fs_originalPaks_maintt[] =
|
||||||
|
{
|
||||||
|
"pak1.pk3",
|
||||||
|
"pak2.pk3",
|
||||||
|
"pak3.pk3",
|
||||||
|
"pak4.pk3"
|
||||||
|
};
|
||||||
|
|
||||||
#ifdef FS_MISSING
|
#ifdef FS_MISSING
|
||||||
FILE* missingFiles = NULL;
|
FILE* missingFiles = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
@ -2669,15 +2697,39 @@ void FS_TouchFile_f( void ) {
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
|
||||||
static int QDECL paksort( const void *a, const void *b ) {
|
static int QDECL paksort(const void *a, const void *b) {
|
||||||
char *aa, *bb;
|
char *aa, *bb;
|
||||||
|
|
||||||
aa = *(char **)a;
|
aa = *(char **)a;
|
||||||
bb = *(char **)b;
|
bb = *(char **)b;
|
||||||
|
|
||||||
|
const char* f1 = COM_SkipPath(aa);
|
||||||
|
const char* f2 = COM_SkipPath(bb);
|
||||||
|
|
||||||
return FS_PathCmp( aa, bb );
|
return FS_PathCmp( aa, bb );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void FS_SortOriginalPaks(char **pakfiles, int numfiles, const char** originalPaks, int numOriginalPaks)
|
||||||
|
{
|
||||||
|
int i, j;
|
||||||
|
int numSorted = numfiles;
|
||||||
|
char* tmp;
|
||||||
|
|
||||||
|
for (i = numfiles - 1; i >= 0; i--)
|
||||||
|
{
|
||||||
|
for (j = 0; j < numOriginalPaks; j++)
|
||||||
|
{
|
||||||
|
if (!stricmp(pakfiles[i], originalPaks[j]))
|
||||||
|
{
|
||||||
|
tmp = pakfiles[numSorted - 1];
|
||||||
|
pakfiles[numSorted - 1] = pakfiles[i];
|
||||||
|
pakfiles[i] = tmp;
|
||||||
|
numSorted--;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
================
|
================
|
||||||
FS_AddGameDirectory
|
FS_AddGameDirectory
|
||||||
|
@ -2686,7 +2738,11 @@ Sets fs_gamedir, adds the directory to the head of the path,
|
||||||
then loads the zip headers
|
then loads the zip headers
|
||||||
================
|
================
|
||||||
*/
|
*/
|
||||||
void FS_AddGameDirectory( const char *path, const char *dir ) {
|
void FS_AddGameDirectory(const char *path, const char *dir) {
|
||||||
|
FS_AddGameDirectory2(path, dir, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
void FS_AddGameDirectory2( const char *path, const char *dir, qboolean original_paks_priority) {
|
||||||
searchpath_t *sp;
|
searchpath_t *sp;
|
||||||
int i;
|
int i;
|
||||||
searchpath_t *search;
|
searchpath_t *search;
|
||||||
|
@ -2710,7 +2766,23 @@ void FS_AddGameDirectory( const char *path, const char *dir ) {
|
||||||
|
|
||||||
pakfiles = Sys_ListFiles( pakfile, ".pk3", NULL, &numfiles, qfalse );
|
pakfiles = Sys_ListFiles( pakfile, ".pk3", NULL, &numfiles, qfalse );
|
||||||
|
|
||||||
qsort( pakfiles, numfiles, sizeof(char*), paksort );
|
qsort(pakfiles, numfiles, sizeof(char*), paksort);
|
||||||
|
|
||||||
|
if (original_paks_priority)
|
||||||
|
{
|
||||||
|
if (!stricmp(dir, "main"))
|
||||||
|
{
|
||||||
|
FS_SortOriginalPaks(pakfiles, numfiles, fs_originalPaks_main, sizeof(fs_originalPaks_main)/sizeof(fs_originalPaks_main[0]));
|
||||||
|
}
|
||||||
|
else if (!stricmp(dir, "mainta"))
|
||||||
|
{
|
||||||
|
FS_SortOriginalPaks(pakfiles, numfiles, fs_originalPaks_mainta, sizeof(fs_originalPaks_mainta) / sizeof(fs_originalPaks_mainta[0]));
|
||||||
|
}
|
||||||
|
else if (!stricmp(dir, "maintt"))
|
||||||
|
{
|
||||||
|
FS_SortOriginalPaks(pakfiles, numfiles, fs_originalPaks_maintt, sizeof(fs_originalPaks_maintt) / sizeof(fs_originalPaks_maintt[0]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for ( i = 0 ; i < numfiles ; i++ ) {
|
for ( i = 0 ; i < numfiles ; i++ ) {
|
||||||
pakfile = FS_BuildOSPath( path, dir, pakfiles[i] );
|
pakfile = FS_BuildOSPath( path, dir, pakfiles[i] );
|
||||||
|
|
|
@ -604,7 +604,8 @@ qboolean FS_ConditionalRestart( int checksumFeed );
|
||||||
void FS_Restart( int checksumFeed );
|
void FS_Restart( int checksumFeed );
|
||||||
// shutdown and restart the filesystem so changes to fs_gamedir can take effect
|
// shutdown and restart the filesystem so changes to fs_gamedir can take effect
|
||||||
|
|
||||||
void FS_AddGameDirectory( const char *path, const char *dir );
|
void FS_AddGameDirectory(const char *path, const char *dir);
|
||||||
|
void FS_AddGameDirectory2(const char *path, const char *dir, qboolean original_paks_priority);
|
||||||
|
|
||||||
char **FS_ListFilteredFiles( const char *path, const char *extension, char *filter, qboolean wantSubs, int *numfiles );
|
char **FS_ListFilteredFiles( const char *path, const char *extension, char *filter, qboolean wantSubs, int *numfiles );
|
||||||
char **FS_ListFiles( const char *directory, const char *extension, qboolean wantSubs, int *numfiles );
|
char **FS_ListFiles( const char *directory, const char *extension, qboolean wantSubs, int *numfiles );
|
||||||
|
|
60
ida/ida.h
60
ida/ida.h
|
@ -5894,6 +5894,66 @@ typedef struct {
|
||||||
fontheader_t *pFontDebugStrings;
|
fontheader_t *pFontDebugStrings;
|
||||||
} trGlobals_t;
|
} trGlobals_t;
|
||||||
|
|
||||||
|
typedef struct srfMarkFragment_s {
|
||||||
|
public:
|
||||||
|
surfaceType_t surfaceType;
|
||||||
|
int iIndex;
|
||||||
|
int numVerts;
|
||||||
|
polyVert_t *verts;
|
||||||
|
} srfMarkFragment_t;
|
||||||
|
|
||||||
|
typedef struct lmEditPoly_s {
|
||||||
|
srfMarkFragment_t surf;
|
||||||
|
shader_t *shader;
|
||||||
|
int viewCount;
|
||||||
|
polyVert_t verts[8];
|
||||||
|
mnode_t *pLeafs[8];
|
||||||
|
int iNumLeafs;
|
||||||
|
} lmEditPoly_t;
|
||||||
|
|
||||||
|
typedef struct lmEditMarkDef_s {
|
||||||
|
shader_t *markShader;
|
||||||
|
vec3_t vPos;
|
||||||
|
vec3_t vProjection;
|
||||||
|
float fRadius;
|
||||||
|
float fHeightScale;
|
||||||
|
float fWidthScale;
|
||||||
|
float fRotation;
|
||||||
|
float color[4];
|
||||||
|
qboolean bDoLighting;
|
||||||
|
lmEditPoly_t *pMarkEditPolys;
|
||||||
|
int iNumEditPolys;
|
||||||
|
vec3_t vPathCorners[4];
|
||||||
|
} lmEditMarkDef_t;
|
||||||
|
|
||||||
|
typedef struct lmPoly_s {
|
||||||
|
srfMarkFragment_t surf;
|
||||||
|
shader_t *shader;
|
||||||
|
int viewCount;
|
||||||
|
} lmPoly_t;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
qboolean bLevelMarksLoaded;
|
||||||
|
char szDCLFilename[256];
|
||||||
|
lmPoly_t *pMarkFragments;
|
||||||
|
qboolean bAutoApplySettings;
|
||||||
|
lmEditPoly_t *pFreeEditPolys;
|
||||||
|
lmEditMarkDef_t activeMarkDefs;
|
||||||
|
lmEditMarkDef_t *pFreeMarkDefs;
|
||||||
|
lmEditMarkDef_t *pCurrentMark;
|
||||||
|
qboolean bPathLayingMode;
|
||||||
|
treadMark_t treadMark;
|
||||||
|
lmEditMarkDef_t *pTreadMarkStartDecal;
|
||||||
|
lmEditMarkDef_t *pTreadMarkEndDecal;
|
||||||
|
} lmGlobals_t;
|
||||||
|
|
||||||
|
struct poolInfo_s {
|
||||||
|
int iFreeHead;
|
||||||
|
int iCur;
|
||||||
|
int nFree;
|
||||||
|
};
|
||||||
|
typedef struct poolInfo_s poolInfo_t;
|
||||||
|
|
||||||
typedef unsigned char color4ub_t[4];
|
typedef unsigned char color4ub_t[4];
|
||||||
typedef struct stageVars {
|
typedef struct stageVars {
|
||||||
unsigned char colors[1000][4];
|
unsigned char colors[1000][4];
|
||||||
|
|
|
@ -106,6 +106,7 @@
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\meshobject.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\meshobject.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\MOHConverterLibrary.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\MOHConverterLibrary.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\multimain.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\multimain.h" />
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\picosha2.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\shadermanager.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\shadermanager.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skcconverter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\skcconverter.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skdconverter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\skdconverter.h" />
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
</Filter>
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\MOHConverterModule.cpp">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\..\code\globalcpp\archive.cpp">
|
<ClCompile Include="..\..\..\code\globalcpp\archive.cpp">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -132,6 +129,9 @@
|
||||||
<ClCompile Include="..\..\..\code\sys\sys_win32.c">
|
<ClCompile Include="..\..\..\code\sys\sys_win32.c">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\code\tools\converter\MOHConverterLibrary.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\..\code\globalcpp\archive.h">
|
<ClInclude Include="..\..\..\code\globalcpp\archive.h">
|
||||||
|
@ -284,14 +284,17 @@
|
||||||
<ClInclude Include="..\..\..\code\globalcpp\script.h">
|
<ClInclude Include="..\..\..\code\globalcpp\script.h">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\MOHConverterModule.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\globalcpp\pipe.h">
|
<ClInclude Include="..\..\..\code\globalcpp\pipe.h">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\code\qcommon\unzip.h">
|
<ClInclude Include="..\..\..\code\qcommon\unzip.h">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\MOHConverterLibrary.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\picosha2.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -122,9 +122,11 @@
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\bspworld.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\bspworld.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\curve.c" />
|
<ClCompile Include="..\..\..\code\tools\converter\curve.c" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\formatconverter.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\formatconverter.cpp" />
|
||||||
|
<ClCompile Include="..\..\..\code\tools\converter\imageconverter.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\mainworker.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\mainworker.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\mapconverter.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\mapconverter.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\meshobject.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\meshobject.cpp" />
|
||||||
|
<ClCompile Include="..\..\..\code\tools\converter\sha256.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\shadermanager.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\shadermanager.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\skcconverter.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\skcconverter.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\tools\converter\skdconverter.cpp" />
|
<ClCompile Include="..\..\..\code\tools\converter\skdconverter.cpp" />
|
||||||
|
@ -256,11 +258,14 @@
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsploader_q3.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\bsploader_q3.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspworld.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\bspworld.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\formatconverter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\formatconverter.h" />
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\imageconverter.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\mapconverter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\mapconverter.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\md3converter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\md3converter.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\md4converter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\md4converter.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\meshobject.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\meshobject.h" />
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\MOHConverterLibrary_Internal.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\multimain.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\multimain.h" />
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\sha256.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\shadermanager.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\shadermanager.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skcconverter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\skcconverter.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skdconverter.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\skdconverter.h" />
|
||||||
|
|
|
@ -444,6 +444,12 @@
|
||||||
<ClCompile Include="..\..\..\code\globalcpp\basemain.cpp">
|
<ClCompile Include="..\..\..\code\globalcpp\basemain.cpp">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\code\tools\converter\sha256.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\code\tools\converter\imageconverter.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\..\code\globalcpp\archive.h">
|
<ClInclude Include="..\..\..\code\globalcpp\archive.h">
|
||||||
|
@ -788,5 +794,14 @@
|
||||||
<ClInclude Include="..\..\..\code\globalcpp\basemain.h">
|
<ClInclude Include="..\..\..\code\globalcpp\basemain.h">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\sha256.h">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\MOHConverterLibrary_Internal.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\code\tools\converter\imageconverter.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -270,9 +270,13 @@
|
||||||
<ClCompile Include="..\..\..\code\game\trigger.cpp" />
|
<ClCompile Include="..\..\..\code\game\trigger.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\vehicle.cpp" />
|
<ClCompile Include="..\..\..\code\game\vehicle.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\VehicleCollisionEntity.cpp" />
|
<ClCompile Include="..\..\..\code\game\VehicleCollisionEntity.cpp" />
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleHalfTrack.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\VehicleSlot.cpp" />
|
<ClCompile Include="..\..\..\code\game\VehicleSlot.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\VehicleSoundEntity.cpp" />
|
<ClCompile Include="..\..\..\code\game\VehicleSoundEntity.cpp" />
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleTank.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\vehicleturret.cpp" />
|
<ClCompile Include="..\..\..\code\game\vehicleturret.cpp" />
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleWheelsX2.cpp" />
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleWheelsX4.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\viewthing.cpp" />
|
<ClCompile Include="..\..\..\code\game\viewthing.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\weapon.cpp" />
|
<ClCompile Include="..\..\..\code\game\weapon.cpp" />
|
||||||
<ClCompile Include="..\..\..\code\game\weapturret.cpp" />
|
<ClCompile Include="..\..\..\code\game\weapturret.cpp" />
|
||||||
|
|
|
@ -426,6 +426,18 @@
|
||||||
<ClCompile Include="..\..\..\code\game\animate.cpp">
|
<ClCompile Include="..\..\..\code\game\animate.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleHalfTrack.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleTank.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleWheelsX2.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\code\game\VehicleWheelsX4.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\..\code\game\bg_lib.h">
|
<ClInclude Include="..\..\..\code\game\bg_lib.h">
|
||||||
|
|
|
@ -181,6 +181,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Q3|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Q3|Win32'">
|
||||||
|
@ -203,6 +204,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
@ -225,6 +227,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>$(SolutionDir)..\..\build_increment.bat $(SolutionDir)..\..\$(ProjectName)</Command>
|
<Command>$(SolutionDir)..\..\build_increment.bat $(SolutionDir)..\..\$(ProjectName)</Command>
|
||||||
|
@ -250,6 +253,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>$(SolutionDir)..\..\build_increment.bat $(SolutionDir)..\..\$(ProjectName)</Command>
|
<Command>$(SolutionDir)..\..\build_increment.bat $(SolutionDir)..\..\$(ProjectName)</Command>
|
||||||
|
@ -278,6 +282,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Q3|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Q3|Win32'">
|
||||||
|
@ -303,6 +308,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
@ -328,6 +334,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Q3|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Q3|x64'">
|
||||||
|
@ -353,6 +360,7 @@
|
||||||
<StackCommitSize>
|
<StackCommitSize>
|
||||||
</StackCommitSize>
|
</StackCommitSize>
|
||||||
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;$(SolutionDir)..\..\..\build\$(Configuration)\$(PlatformShortName)\MOHConverterLibrary_$(PlatformShortName).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DelayLoadDLLs>MOHConverterLibrary_x64.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -434,27 +442,8 @@
|
||||||
<ClInclude Include="..\..\..\code\qcommon\stack.h" />
|
<ClInclude Include="..\..\..\code\qcommon\stack.h" />
|
||||||
<ClInclude Include="..\..\..\code\qcommon\str.h" />
|
<ClInclude Include="..\..\..\code\qcommon\str.h" />
|
||||||
<ClInclude Include="..\..\..\code\qcommon\unzip.h" />
|
<ClInclude Include="..\..\..\code\qcommon\unzip.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspconverter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspentity_speaker.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsploader_base.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsploader_moh.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspentity.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsplight.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsploader_q3.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspworld.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\formatconverter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\main.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\main.h" />
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\mapconverter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\md3converter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\md4converter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\meshobject.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\shadermanager.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skcconverter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skdconverter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\tikiconverter.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\tr_shared.h" />
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\version.h" />
|
<ClInclude Include="..\..\..\code\tools\converter\version.h" />
|
||||||
<ClInclude Include="resource.h" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="omohconverter.rc">
|
<ResourceCompile Include="omohconverter.rc">
|
||||||
|
|
|
@ -242,75 +242,18 @@
|
||||||
<ClInclude Include="..\..\..\code\qcommon\crc.h">
|
<ClInclude Include="..\..\..\code\qcommon\crc.h">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspconverter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\formatconverter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\mapconverter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skcconverter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\skdconverter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\globalcpp\baseimp.h">
|
<ClInclude Include="..\..\..\code\globalcpp\baseimp.h">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\tr_shared.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\tikiconverter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\globalcpp\g_spawn.h">
|
<ClInclude Include="..\..\..\code\globalcpp\g_spawn.h">
|
||||||
<Filter>global</Filter>
|
<Filter>global</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\shadermanager.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\version.h">
|
<ClInclude Include="..\..\..\code\tools\converter\version.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspentity.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsplight.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspworld.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\main.h">
|
<ClInclude Include="..\..\..\code\tools\converter\main.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\meshobject.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsploader_base.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsploader_moh.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bsploader_q3.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\md3converter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\md4converter.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="resource.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\code\tools\converter\bspentity_speaker.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="omohconverter.rc">
|
<ResourceCompile Include="omohconverter.rc">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue