mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1122 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4efb91b376
commit
81bbb7eab8
10 changed files with 31 additions and 148 deletions
|
@ -42,8 +42,7 @@ LIBS=user32.lib gdi32.lib shell32.lib dxguid.lib winmm.lib wsock32.lib comctl32.
|
||||||
|
|
||||||
LIBS=vorbisfile_static.lib vorbis_static.lib ogg_static.lib $(LIBS)
|
LIBS=vorbisfile_static.lib vorbis_static.lib ogg_static.lib $(LIBS)
|
||||||
|
|
||||||
ASFLAGS=/nologo /coff
|
ASFLAGS=/nologo /coff /c
|
||||||
ASFLAGS=/nologo /coff
|
|
||||||
EXESUFFIX=.exe
|
EXESUFFIX=.exe
|
||||||
|
|
||||||
JMACTOBJ=$(OBJ)\util_lib.$o \
|
JMACTOBJ=$(OBJ)\util_lib.$o \
|
||||||
|
|
|
@ -45,7 +45,7 @@ AS=ml
|
||||||
RC=rc
|
RC=rc
|
||||||
LINK=link /opt:nowin98 /opt:ref /nologo
|
LINK=link /opt:nowin98 /opt:ref /nologo
|
||||||
CFLAGS=$(CFLAGS) /nologo /MD /J $(flags_cl) $(TARGETOPTS) /I$(INC) /I$(DXROOT)\include /I$(MSSDKROOT)\include" /I$(PLATFORMSDK)\include"
|
CFLAGS=$(CFLAGS) /nologo /MD /J $(flags_cl) $(TARGETOPTS) /I$(INC) /I$(DXROOT)\include /I$(MSSDKROOT)\include" /I$(PLATFORMSDK)\include"
|
||||||
ASFLAGS=/nologo /coff
|
ASFLAGS=/nologo /coff /c
|
||||||
EXESUFFIX=.exe
|
EXESUFFIX=.exe
|
||||||
|
|
||||||
ENGINEOBJS= \
|
ENGINEOBJS= \
|
||||||
|
|
|
@ -896,7 +896,7 @@ void resizeglcheck()
|
||||||
|
|
||||||
if ((glox1 != windowx1) || (gloy1 != windowy1) || (glox2 != windowx2) || (gloy2 != windowy2))
|
if ((glox1 != windowx1) || (gloy1 != windowy1) || (glox2 != windowx2) || (gloy2 != windowy2))
|
||||||
{
|
{
|
||||||
double ratio = 1.025;
|
double ratio = 1.05;
|
||||||
|
|
||||||
if (glwidescreen == 1)
|
if (glwidescreen == 1)
|
||||||
ratio = 1.2f;
|
ratio = 1.2f;
|
||||||
|
@ -4171,7 +4171,7 @@ void polymost_drawrooms()
|
||||||
short hitsect, hitwall, hitsprite;
|
short hitsect, hitwall, hitsprite;
|
||||||
int vx, vy, vz, hitx, hity, hitz;
|
int vx, vy, vz, hitx, hity, hitz;
|
||||||
int cz, fz;
|
int cz, fz;
|
||||||
double ratio = 1.025;
|
double ratio = 1.05;
|
||||||
|
|
||||||
if (glwidescreen == 1)
|
if (glwidescreen == 1)
|
||||||
ratio = 1.2f;
|
ratio = 1.2f;
|
||||||
|
|
|
@ -5,20 +5,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "eduke32", "eduke32.vcproj",
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Classic Debug|Win32 = Classic Debug|Win32
|
Debug|Win32 = Debug|Win32
|
||||||
Classic Release|Win32 = Classic Release|Win32
|
Release|Win32 = Release|Win32
|
||||||
HRP SD Debug|Win32 = HRP SD Debug|Win32
|
|
||||||
HRP SD Release|Win32 = HRP SD Release|Win32
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Classic Debug|Win32.ActiveCfg = Classic|Win32
|
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Classic Debug|Win32.Build.0 = Classic|Win32
|
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Classic Release|Win32.ActiveCfg = Classic Release|Win32
|
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Classic Release|Win32.Build.0 = Classic Release|Win32
|
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Release|Win32.Build.0 = Release|Win32
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.HRP SD Debug|Win32.ActiveCfg = HRP SD|Win32
|
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.HRP SD Debug|Win32.Build.0 = HRP SD|Win32
|
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.HRP SD Release|Win32.ActiveCfg = HRP SD Release|Win32
|
|
||||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.HRP SD Release|Win32.Build.0 = HRP SD Release|Win32
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
|
@ -17,27 +17,7 @@
|
||||||
</ToolFiles>
|
</ToolFiles>
|
||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="HRP SD|Win32"
|
Name="Debug|Win32"
|
||||||
OutputDirectory="$(ConfigurationName)"
|
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
|
||||||
ConfigurationType="0"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCNMakeTool"
|
|
||||||
BuildCommandLine="nmake /f Makefile.msvc DEBUG=1"
|
|
||||||
ReBuildCommandLine="nmake /f Makefile.msvc veryclean all DEBUG=1"
|
|
||||||
CleanCommandLine="nmake /f Makefile.msvc veryclean"
|
|
||||||
Output="eduke32.exe"
|
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;SUPERBUILD;POLYMOST;USE_OPENGL;NOCOPYPROTECT;RENDERTYPEWIN"
|
|
||||||
IncludeSearchPath=""
|
|
||||||
ForcedIncludes=""
|
|
||||||
AssemblySearchPath=""
|
|
||||||
ForcedUsingAssemblies=""
|
|
||||||
CompileAsManaged=""
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="Classic|Win32"
|
|
||||||
OutputDirectory="$(ConfigurationName)"
|
OutputDirectory="$(ConfigurationName)"
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
IntermediateDirectory="$(ConfigurationName)"
|
||||||
ConfigurationType="0"
|
ConfigurationType="0"
|
||||||
|
@ -58,27 +38,7 @@
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="HRP SD Release|Win32"
|
Name="Release|Win32"
|
||||||
OutputDirectory="$(ConfigurationName)"
|
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
|
||||||
ConfigurationType="0"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCNMakeTool"
|
|
||||||
BuildCommandLine="nmake /f Makefile.msvc"
|
|
||||||
ReBuildCommandLine="nmake /f Makefile.msvc veryclean all"
|
|
||||||
CleanCommandLine="nmake /f Makefile.msvc veryclean"
|
|
||||||
Output="eduke32.exe"
|
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;SUPERBUILD;POLYMOST;USE_OPENGL;NOCOPYPROTECT;RENDERTYPEWIN"
|
|
||||||
IncludeSearchPath=""
|
|
||||||
ForcedIncludes=""
|
|
||||||
AssemblySearchPath=""
|
|
||||||
ForcedUsingAssemblies=""
|
|
||||||
CompileAsManaged=""
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="Classic Release|Win32"
|
|
||||||
OutputDirectory="$(ConfigurationName)"
|
OutputDirectory="$(ConfigurationName)"
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
IntermediateDirectory="$(ConfigurationName)"
|
||||||
ConfigurationType="0"
|
ConfigurationType="0"
|
||||||
|
@ -98,88 +58,6 @@
|
||||||
CompileAsManaged=""
|
CompileAsManaged=""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
|
||||||
Name="Classic JFAud|Win32"
|
|
||||||
OutputDirectory="$(ConfigurationName)"
|
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
|
||||||
ConfigurationType="0"
|
|
||||||
BuildLogFile=""
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCNMakeTool"
|
|
||||||
BuildCommandLine="nmake /f Makefile.msvc DEBUG=1 JFAUD=1"
|
|
||||||
ReBuildCommandLine="nmake /f Makefile.msvc veryclean all DEBUG=1 JFAUD=1"
|
|
||||||
CleanCommandLine="nmake /f Makefile.msvc veryclean"
|
|
||||||
Output="eduke32.exe"
|
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;SUPERBUILD;POLYMOST;USE_OPENGL;NOCOPYPROTECT;RENDERTYPEWIN"
|
|
||||||
IncludeSearchPath=""
|
|
||||||
ForcedIncludes=""
|
|
||||||
AssemblySearchPath=""
|
|
||||||
ForcedUsingAssemblies=""
|
|
||||||
CompileAsManaged=""
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="HRP SD JFAud|Win32"
|
|
||||||
OutputDirectory="$(ConfigurationName)"
|
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
|
||||||
ConfigurationType="0"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCNMakeTool"
|
|
||||||
BuildCommandLine="nmake /f Makefile.msvc DEBUG=1 JFAUD=1"
|
|
||||||
ReBuildCommandLine="nmake /f Makefile.msvc veryclean all DEBUG=1 JFAUD=1"
|
|
||||||
CleanCommandLine="nmake /f Makefile.msvc veryclean"
|
|
||||||
Output="eduke32.exe"
|
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;SUPERBUILD;POLYMOST;USE_OPENGL;NOCOPYPROTECT;RENDERTYPEWIN"
|
|
||||||
IncludeSearchPath=""
|
|
||||||
ForcedIncludes=""
|
|
||||||
AssemblySearchPath=""
|
|
||||||
ForcedUsingAssemblies=""
|
|
||||||
CompileAsManaged=""
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="Classic Release JFAud|Win32"
|
|
||||||
OutputDirectory="$(ConfigurationName)"
|
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
|
||||||
ConfigurationType="0"
|
|
||||||
BuildLogFile=""
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCNMakeTool"
|
|
||||||
BuildCommandLine="nmake /f Makefile.msvc JFAUD=1"
|
|
||||||
ReBuildCommandLine="nmake /f Makefile.msvc veryclean all JFAUD=1"
|
|
||||||
CleanCommandLine="nmake /f Makefile.msvc veryclean"
|
|
||||||
Output="eduke32.exe"
|
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;SUPERBUILD;POLYMOST;USE_OPENGL;NOCOPYPROTECT;RENDERTYPEWIN"
|
|
||||||
IncludeSearchPath=""
|
|
||||||
ForcedIncludes=""
|
|
||||||
AssemblySearchPath=""
|
|
||||||
ForcedUsingAssemblies=""
|
|
||||||
CompileAsManaged=""
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="HRP SD Release JFAud|Win32"
|
|
||||||
OutputDirectory="$(ConfigurationName)"
|
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
|
||||||
ConfigurationType="0"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCNMakeTool"
|
|
||||||
BuildCommandLine="nmake /f Makefile.msvc JFAUD=1"
|
|
||||||
ReBuildCommandLine="nmake /f Makefile.msvc veryclean all JFAUD=1"
|
|
||||||
CleanCommandLine="nmake /f Makefile.msvc veryclean"
|
|
||||||
Output="eduke32.exe"
|
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;SUPERBUILD;POLYMOST;USE_OPENGL;NOCOPYPROTECT;RENDERTYPEWIN"
|
|
||||||
IncludeSearchPath=""
|
|
||||||
ForcedIncludes=""
|
|
||||||
AssemblySearchPath=""
|
|
||||||
ForcedUsingAssemblies=""
|
|
||||||
CompileAsManaged=""
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
</Configurations>
|
</Configurations>
|
||||||
<References>
|
<References>
|
||||||
</References>
|
</References>
|
||||||
|
@ -302,6 +180,18 @@
|
||||||
RelativePath=".\build\include\winlayer.h"
|
RelativePath=".\build\include\winlayer.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<Filter
|
||||||
|
Name="MSVC"
|
||||||
|
>
|
||||||
|
<File
|
||||||
|
RelativePath=".\build\include\msvc\inttypes.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\build\include\msvc\stdint.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Source Files"
|
Name="Source Files"
|
||||||
|
|
|
@ -44,7 +44,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BUILDDATE " 20081031"
|
#define BUILDDATE " 20081107"
|
||||||
#define VERSION " 1.2.0devel"
|
#define VERSION " 1.2.0devel"
|
||||||
|
|
||||||
static int floor_over_floor;
|
static int floor_over_floor;
|
||||||
|
|
|
@ -288,7 +288,7 @@ enum USRHOOKS_Errors {
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned int bits;
|
uint32 bits;
|
||||||
short fvel, svel;
|
short fvel, svel;
|
||||||
signed char avel, horz;
|
signed char avel, horz;
|
||||||
unsigned char extbits;
|
unsigned char extbits;
|
||||||
|
|
|
@ -2722,9 +2722,9 @@ static void operatefta(void)
|
||||||
k = user_quote_time[i];
|
k = user_quote_time[i];
|
||||||
if (hud_glowingquotes)
|
if (hud_glowingquotes)
|
||||||
{
|
{
|
||||||
if (k > 4) { mpgametext(j,user_quote[i],(sintable[(totalclock<<5)&2047]>>11),2+8+16); j += textsc(8); }
|
if (k > 4) { mpgametext(j,user_quote[i],(sintable[((totalclock+(i<<2))<<5)&2047]>>11),2+8+16); j += textsc(8); }
|
||||||
else if (k > 2) { mpgametext(j,user_quote[i],(sintable[(totalclock<<5)&2047]>>11),2+8+16+1); j += textsc(k<<1); }
|
else if (k > 2) { mpgametext(j,user_quote[i],(sintable[((totalclock+(i<<2))<<5)&2047]>>11),2+8+16+1); j += textsc(k<<1); }
|
||||||
else { mpgametext(j,user_quote[i],(sintable[(totalclock<<5)&2047]>>11),2+8+16+1+32); j += textsc(k<<1); }
|
else { mpgametext(j,user_quote[i],(sintable[((totalclock+(i<<2))<<5)&2047]>>11),2+8+16+1+32); j += textsc(k<<1); }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
#include "duke3d.h"
|
#include "duke3d.h"
|
||||||
|
|
||||||
char *s_builddate = "20081031";
|
char *s_builddate = "20081107";
|
||||||
char *MusicPtr = NULL;
|
char *MusicPtr = NULL;
|
||||||
int Musicsize;
|
int Musicsize;
|
||||||
|
|
||||||
|
|
|
@ -568,7 +568,7 @@ int shoot(int i,int atwith)
|
||||||
if (((sprite[j].picnum >= GREENSLIME)&&(sprite[j].picnum <= GREENSLIME+7))||(sprite[j].picnum ==ROTATEGUN))
|
if (((sprite[j].picnum >= GREENSLIME)&&(sprite[j].picnum <= GREENSLIME+7))||(sprite[j].picnum ==ROTATEGUN))
|
||||||
{
|
{
|
||||||
dal -= (8<<8);
|
dal -= (8<<8);
|
||||||
return -1;
|
// return -1;
|
||||||
}
|
}
|
||||||
hitx = ldist(&sprite[g_player[p].ps->i], &sprite[j]);
|
hitx = ldist(&sprite[g_player[p].ps->i], &sprite[j]);
|
||||||
if (hitx == 0) hitx++;
|
if (hitx == 0) hitx++;
|
||||||
|
|
Loading…
Reference in a new issue