From 2c2dca086977f62083109084dc8c600241ace9f2 Mon Sep 17 00:00:00 2001 From: sajt Date: Tue, 27 Nov 2007 23:22:26 +0000 Subject: [PATCH] updated msvc6 project file fixed some errors when compiling on windows git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7722 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_screen.c | 4 ++-- darkplaces.dsp | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/cl_screen.c b/cl_screen.c index 1314f386..55603fe6 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -972,7 +972,7 @@ static void SCR_CaptureVideo_RIFF_MakeIxChunk(const char *fcc, const char *dwChu SCR_CaptureVideo_RIFF_Write32(nMatching); // nEntriesInUse SCR_CaptureVideo_RIFF_WriteFourCC(dwChunkId); // dwChunkId SCR_CaptureVideo_RIFF_Write32(cls.capturevideo.videofile_ix_movistart & (fs_offset_t) 0xFFFFFFFFu); - SCR_CaptureVideo_RIFF_Write32(((long long) cls.capturevideo.videofile_ix_movistart) >> 32); + SCR_CaptureVideo_RIFF_Write32(((fs_offset_t) cls.capturevideo.videofile_ix_movistart) >> 32); SCR_CaptureVideo_RIFF_Write32(0); // dwReserved for(i = 0; i < cls.capturevideo.riffindexbuffer.cursize; i += 16) @@ -995,7 +995,7 @@ static void SCR_CaptureVideo_RIFF_MakeIxChunk(const char *fcc, const char *dwChu FS_Seek(cls.capturevideo.videofile, masteridx_start + 16 * *masteridx_count, SEEK_SET); SCR_CaptureVideo_RIFF_Write32(ix & (fs_offset_t) 0xFFFFFFFFu); - SCR_CaptureVideo_RIFF_Write32(((long long) ix) >> 32); + SCR_CaptureVideo_RIFF_Write32(((fs_offset_t) ix) >> 32); SCR_CaptureVideo_RIFF_Write32(pos - ix); SCR_CaptureVideo_RIFF_Write32(nMatching); SCR_CaptureVideo_RIFF_Flush(); diff --git a/darkplaces.dsp b/darkplaces.dsp index e0131ea7..7f279dd9 100644 --- a/darkplaces.dsp +++ b/darkplaces.dsp @@ -114,6 +114,14 @@ SOURCE=.\cl_demo.c # End Source File # Begin Source File +SOURCE=.\cl_dyntexture.c +# End Source File +# Begin Source File + +SOURCE=.\cl_gecko.c +# End Source File +# Begin Source File + SOURCE=.\cl_input.c # End Source File # Begin Source File @@ -450,6 +458,14 @@ SOURCE=.\cl_collision.h # End Source File # Begin Source File +SOURCE=.\cl_dyntexture.h +# End Source File +# Begin Source File + +SOURCE=.\cl_gecko.h +# End Source File +# Begin Source File + SOURCE=.\cl_screen.h # End Source File # Begin Source File -- 2.39.2