Skip to content

Commit

Permalink
Release fix for Quake 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thenesis committed Oct 31, 2017
1 parent ed50ee8 commit 8ea3c24
Show file tree
Hide file tree
Showing 7 changed files with 1,375 additions and 3 deletions.
Binary file modified Ports/Quake1/Data/GCWZero/hipnotic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Ports/Quake1/Data/GCWZero/manual-gcw0.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Thenesis Quake v0.5 for GCW-Zero
Thenesis Quake v1.0 for GCW-Zero

This version is based on Quake v1.09 and GLQuake v1.0.

Expand All @@ -13,7 +13,7 @@ Do not copy any .cfg file ! It may cause trouble.
/Quake

Copy only the .pak files in their associated directory:
- For original game, copy files in "baseq2" subdirectory.
- For original game, copy files in "id1" subdirectory.
- For "Dissolution of Eternity mission pack", copy files in "rogue" subdirectory.
- For "Scourge of Armagon mission pack", copy files in "hipnotic" subdirectory.

Expand Down
Binary file modified Ports/Quake1/Data/GCWZero/quake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Ports/Quake1/Data/GCWZero/rogue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Ports/Quake1/Data/Quake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,368 changes: 1,368 additions & 0 deletions Ports/Quake1/Data/Quake.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion Ports/Quake1/Sources/Common/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ char* Sys_GetHomeDir()
Sets com_gamedir, adds the directory to the head of the path,
then loads and adds pak1.pak pak2.pak ...
*/
void COM_AddGameDirectory(char *dir, qboolean setAsCurrentDirFlag)
static void COM_AddGameDirectory(char *dir, qboolean setAsCurrentDirFlag)
{
if (setAsCurrentDirFlag)
Q_strncpy(com_gamedir, dir, MAX_OSPATH);
Expand Down Expand Up @@ -1708,6 +1708,10 @@ void COM_InitFilesystem()
Con_Printf("Using '%s' for writing.\n", com_writableGamedir);
}

#if defined(__GCW_ZERO__)
COM_AddGameDirectory(va("%s/%s", "/media/data/Quake", com_game), false); // Internal SD card.
#endif

if (COM_CheckParm("-proghack"))
proghack = true;
}

0 comments on commit 8ea3c24

Please sign in to comment.