Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
xcuserdata
.DS_Store
Winquake/fmod
11 changes: 11 additions & 0 deletions readme.txt → README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Quake OSX Port

![osx_quake](https://cloud.githubusercontent.com/assets/448001/3096877/571addac-e5d9-11e3-8d66-f1d8b40565b8.png)

This is a fork of the original GPL release of Quake, ported to OSX. The port should work on any BSD or Linux that supports GLFW and OpenAL.

## Building

This project should build using the latest Xcode. Open the [`osx` project in WinQuake](WinQuake/osx/osx.xcodeproj). You will need to install GLFW and OpenAL for windowing management and sound support.

# Original Readme

This is the complete source code for winquake, glquake, quakeworld, and
glquakeworld.
Expand Down
6 changes: 3 additions & 3 deletions WinQuake/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
for (i=0 ; i<pak->numfiles ; i++)
if (!strcmp (pak->files[i].name, filename))
{ // found it!
Sys_Printf ("PackFile: %s : %s\n",pak->filename, filename);
//Sys_Printf ("PackFile: %s : %s\n",pak->filename, filename);
if (handle)
{
*handle = pak->handle;
Expand All @@ -1415,7 +1415,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
else
{
// check a file in the directory tree
if (!static_registered)
if (0 && !static_registered)
{ // if not a registered version, don't ever go beyond base
if ( strchr (filename, '/') || strchr (filename,'\\'))
continue;
Expand Down Expand Up @@ -1448,7 +1448,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
strcpy (netpath, cachepath);
}

Sys_Printf ("FindFile: %s\n",netpath);
//Sys_Printf ("FindFile: %s\n",netpath);
com_filesize = Sys_FileOpenRead (netpath, &i);
if (handle)
*handle = i;
Expand Down
Binary file added WinQuake/fmod/api/studio/lib/libfmodstudioL.dylib
Binary file not shown.
1 change: 1 addition & 0 deletions WinQuake/gl_mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ int StripLength (int starttri, int startv)
mtriangle_t *last, *check;
int k;


used[starttri] = 2;

last = &triangles[starttri];
Expand Down
Loading