freebsd-ports/games/tenebrae/files/patch-common.h
Alejandro Pulver dc044fd8e7 - Fix mouse problems.
- Fix sound problems.
- Fix building on !i386.
- Fix writting personal configuration, and do it in ~/.tenebrae, to avoid
  conflicts with other engines since they usually have different variables.
- Use USE_DOS2UNIX.
- Remove unneeded information from pkg-message (it depends on quake-data so it
  will be installed automatically, also quake-data installs the demo so
  tenebrae is playable after installation).
- Use release target instead of the debug one.
- Clean-up.

PR:		ports/98783
Approved by:	maintainer (timeout)
2006-06-17 21:32:32 +00:00

13 lines
386 B
C

--- ./common.h.orig Sat Jun 10 12:08:13 2006
+++ ./common.h Sat Jun 10 12:08:13 2006
@@ -169,6 +169,10 @@
extern char com_gamedir[MAX_OSPATH];
+#ifdef USERPREF_DIR
+extern char com_prefdir[MAX_OSPATH];
+#endif
+
void COM_WriteFile (char *filename, void *data, int len);
int COM_OpenFile (const char *filename, int *hndl);
int COM_FOpenFile (const char *filename, FILE **file);