Skip to content

Commit

Permalink
Remove unused eduke updater code
Browse files Browse the repository at this point in the history
  • Loading branch information
committed Mar 5, 2022
1 parent 140d2d5 commit 069eeb6
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 154 deletions.
1 change: 0 additions & 1 deletion GNUmakefile
Expand Up @@ -647,7 +647,6 @@ ifeq ($(PLATFORM),DARWIN)
endif

ifeq ($(PLATFORM),WINDOWS)
blood_game_objs += winbits.cpp
blood_game_rsrc_objs += gameres.rc
ifeq ($(STARTUP_WINDOW),1)
blood_game_objs += startwin.game.cpp
Expand Down
1 change: 0 additions & 1 deletion platform/Windows/notblood.vcxproj
Expand Up @@ -250,7 +250,6 @@
<ClCompile Include="..\..\source\blood\src\view.cpp" />
<ClCompile Include="..\..\source\blood\src\warp.cpp" />
<ClCompile Include="..\..\source\blood\src\weapon.cpp" />
<ClCompile Include="..\..\source\blood\src\winbits.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="audiolib.vcxproj">
Expand Down
3 changes: 0 additions & 3 deletions platform/Windows/notblood.vcxproj.filters
Expand Up @@ -21,9 +21,6 @@
<ClCompile Include="..\..\source\blood\src\levels.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\source\blood\src\winbits.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\source\blood\src\startwin.game.cpp">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down
1 change: 0 additions & 1 deletion source/blood/src/blood.cpp
Expand Up @@ -74,7 +74,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

#ifdef _WIN32
# include <shellapi.h>
# define UPDATEINTERVAL 604800 // 1w
# include "winbits.h"
#else
# ifndef GEKKO
Expand Down
13 changes: 0 additions & 13 deletions source/blood/src/config.cpp
Expand Up @@ -70,8 +70,6 @@ int32_t scripthandle;
int32_t setupread;
int32_t MusicRestartsOnLoadToggle;
int32_t configversion;
int32_t CheckForUpdates;
int32_t LastUpdateCheck;
int32_t useprecache;
char CommbatMacro[MAXRIDECULE][MAXRIDECULELENGTH];
char szPlayerName[MAXPLAYERNAME];
Expand Down Expand Up @@ -351,7 +349,6 @@ void CONFIG_SetDefaults(void)

//ud.config.AmbienceToggle = 1;
//ud.config.AutoAim = 1;
CheckForUpdates = 0;
FXVolume = 255;
MouseBias = 0;
MouseDeadZone = 0;
Expand Down Expand Up @@ -860,11 +857,6 @@ int CONFIG_ReadSetup(void)

//SCRIPT_GetNumber(scripthandle, "Misc", "Executions", &ud.executions);

#ifdef _WIN32
SCRIPT_GetNumber(scripthandle, "Updates", "CheckForUpdates", &CheckForUpdates);
SCRIPT_GetNumber(scripthandle, "Updates", "LastUpdateCheck", &LastUpdateCheck);
#endif

setupread = 1;
return 0;
}
Expand Down Expand Up @@ -974,11 +966,6 @@ void CONFIG_WriteSetup(uint32_t flags)
// SCRIPT_PutString(scripthandle, "Screen Setup", "Password",ud.pwlockout);
//}

#ifdef _WIN32
SCRIPT_PutNumber(scripthandle, "Updates", "CheckForUpdates", CheckForUpdates, FALSE, FALSE);
SCRIPT_PutNumber(scripthandle, "Updates", "LastUpdateCheck", LastUpdateCheck, FALSE, FALSE);
#endif

if (gSetup.usemouse)
{
for (int i=0; i<MAXMOUSEBUTTONS; i++)
Expand Down
2 changes: 0 additions & 2 deletions source/blood/src/config.h
Expand Up @@ -50,8 +50,6 @@ extern int32_t scripthandle;
extern int32_t setupread;
extern int32_t MusicRestartsOnLoadToggle;
extern int32_t configversion;
extern int32_t CheckForUpdates;
extern int32_t LastUpdateCheck;
extern int32_t useprecache;
extern char CommbatMacro[MAXRIDECULE][MAXRIDECULELENGTH];
extern char szPlayerName[MAXPLAYERNAME];
Expand Down
132 changes: 0 additions & 132 deletions source/blood/src/winbits.cpp

This file was deleted.

1 change: 0 additions & 1 deletion source/build/include/winbits.h
Expand Up @@ -22,7 +22,6 @@ extern int32_t win_priorityclass;
extern char win_silentvideomodeswitch;
extern DWM_TIMING_INFO timingInfo;

int32_t windowsCheckForUpdates(char *buffer);
int windowsCheckAlreadyRunning(void);
void windowsDwmSetupComposition(int compEnable);
int windowsGetCommandLine(char **argvbuf);
Expand Down

0 comments on commit 069eeb6

Please sign in to comment.