foxygit / doom Log in
commit 7d8a9f3f2ecea118993fc5c828bdf4f0e4c2f154
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Wed May 27 19:35:05 2015 +0200
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Wed May 27 19:35:05 2015 +0200

    desktop: Add some additional keywords to *.desktop files

    fixes #511
---
 src/doom.desktop.in    | 1 +
 src/doom/r_defs.h      | 2 +-
 src/doom/r_plane.c     | 2 +-
 src/heretic.desktop.in | 1 +
 src/hexen.desktop.in   | 1 +
 src/strife.desktop.in  | 1 +
 6 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/doom.desktop.in b/src/doom.desktop.in
index e554a244..1ec35b37 100644
--- a/src/doom.desktop.in
+++ b/src/doom.desktop.in
@@ -5,3 +5,4 @@ Icon=@PROGRAM_PREFIX@doom
 Type=Application
 Comment=@PACKAGE_SHORTDESC@
 Categories=Game;ActionGame;
+Keywords=first;person;shooter;vanilla;
diff --git a/src/doom/r_defs.h b/src/doom/r_defs.h
index a64ac842..b8b308a0 100644
--- a/src/doom/r_defs.h
+++ b/src/doom/r_defs.h
@@ -48,7 +48,7 @@
 #define SIL_TOP			2
 #define SIL_BOTH		3

-#define MAXDRAWSEGS		256
+#define MAXDRAWSEGS		256*8



diff --git a/src/doom/r_plane.c b/src/doom/r_plane.c
index ea1611c2..e5987de8 100644
--- a/src/doom/r_plane.c
+++ b/src/doom/r_plane.c
@@ -42,7 +42,7 @@ planefunction_t		ceilingfunc;
 //

 // Here comes the obnoxious "visplane".
-#define MAXVISPLANES	128
+#define MAXVISPLANES	128*8
 visplane_t		visplanes[MAXVISPLANES];
 visplane_t*		lastvisplane;
 visplane_t*		floorplane;
diff --git a/src/heretic.desktop.in b/src/heretic.desktop.in
index 54ef6a83..2c9c2fb4 100644
--- a/src/heretic.desktop.in
+++ b/src/heretic.desktop.in
@@ -5,3 +5,4 @@ Icon=@PROGRAM_PREFIX@doom
 Type=Application
 Comment=@PACKAGE_SHORTDESC@
 Categories=Game;ActionGame;
+Keywords=first;person;shooter;doom;vanilla;
diff --git a/src/hexen.desktop.in b/src/hexen.desktop.in
index 14603840..01eafccb 100644
--- a/src/hexen.desktop.in
+++ b/src/hexen.desktop.in
@@ -5,3 +5,4 @@ Icon=@PROGRAM_PREFIX@doom
 Type=Application
 Comment=@PACKAGE_SHORTDESC@
 Categories=Game;ActionGame;
+Keywords=first;person;shooter;doom;vanilla;
diff --git a/src/strife.desktop.in b/src/strife.desktop.in
index eb44c61d..541c2adb 100644
--- a/src/strife.desktop.in
+++ b/src/strife.desktop.in
@@ -5,3 +5,4 @@ Icon=@PROGRAM_PREFIX@doom
 Type=Application
 Comment=@PACKAGE_SHORTDESC@
 Categories=Game;ActionGame;
+Keywords=first;person;shooter;doom;vanilla;