From 977c98697166fd42e72f8eeff5dc7bf00ea7ce40 Mon Sep 17 00:00:00 2001 From: flowtron Date: Mon, 28 Feb 2011 16:15:11 +0000 Subject: [PATCH] DOC: blinking-text toggles git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6114 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/reference.xml | 21 +++++++++++++++++++++ source/src/rendergl.cpp | 2 -- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/docs/reference.xml b/docs/reference.xml index fc6ebcbd..d8d5b0bb 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -5309,6 +5309,27 @@ Output: + + for toggling on the ability for menutext to have the blinking bit set. The global setting of 'allowblinkingtext' overrides this + + + + + + + + + + for toggling on the ability for any text to have the blinking bit set. + + + + + + + + + a menuitem that loads a map, displays the title and the preview or a default image diff --git a/source/src/rendergl.cpp b/source/src/rendergl.cpp index 10a2c616..68005a3c 100644 --- a/source/src/rendergl.cpp +++ b/source/src/rendergl.cpp @@ -754,8 +754,6 @@ void drawminimap(int w, int h) camera1->o.y = mapdims[1] + mapdims[5]/2; int gdim = max(mapdims[4], mapdims[5]); if(!gdim) gdim = ssize/2; - float md = (float)gdim; - float dd = 1.0f / ( ssize / md ); camera1->o.z = mapdims[7] + 1; camera1->pitch = -90; camera1->yaw = 0;