mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@837 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2abab26c25
commit
275fdc8552
3 changed files with 8 additions and 6 deletions
|
@ -702,12 +702,14 @@ int OSD_HandleChars(void)
|
|||
if (findsymbol(osdedittmp, tabc->next))
|
||||
{
|
||||
symbol_t *symb=tabc;
|
||||
int maxwidth = 0, x = 0;
|
||||
int maxwidth = 0, x = 0, num = 0;
|
||||
|
||||
while (symb && symb != lastmatch)
|
||||
{
|
||||
int diffpt;
|
||||
|
||||
num++;
|
||||
|
||||
if (lastmatch)
|
||||
{
|
||||
diffpt = OSD_FindDiffPoint(symb->name,lastmatch->name);
|
||||
|
@ -722,7 +724,7 @@ int OSD_HandleChars(void)
|
|||
lastmatch = symb;
|
||||
symb=findsymbol(osdedittmp, lastmatch->next);
|
||||
}
|
||||
OSD_Printf("Completions for '%s':\n",osdedittmp);
|
||||
OSD_Printf("Found %d completions for '%s':\n",num,osdedittmp);
|
||||
maxwidth += 3;
|
||||
symb = tabc;
|
||||
OSD_Printf(" ");
|
||||
|
|
|
@ -54,7 +54,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include <windows.h>
|
||||
#include <shellapi.h>
|
||||
extern int getversionfromwebsite(char *buffer);
|
||||
#define BUILDDATE 20080702
|
||||
#define BUILDDATE 20080703
|
||||
#define UPDATEINTERVAL 604800 // 1w
|
||||
#endif
|
||||
|
||||
|
@ -10464,8 +10464,8 @@ void app_main(int argc,const char **argv)
|
|||
(int(*)(void))GetTime,
|
||||
GAME_onshowosd
|
||||
);
|
||||
OSD_SetParameters(0,10, 0,12, 4,12);
|
||||
OSD_SetVersionString(HEAD2,0,0);
|
||||
OSD_SetParameters(10,0, 0,12, 4,12);
|
||||
OSD_SetVersionString(HEAD2, 10,0);
|
||||
registerosdcommands();
|
||||
|
||||
if (setgamemode(ud.config.ScreenMode,ud.config.ScreenWidth,ud.config.ScreenHeight,ud.config.ScreenBPP) < 0)
|
||||
|
|
|
@ -1240,7 +1240,7 @@ int registerosdcommands(void)
|
|||
|
||||
OSD_RegisterFunction("fileinfo","fileinfo <file>: gets a file's information", osdcmd_fileinfo);
|
||||
|
||||
for (i=0;i<NUMGAMEFUNCTIONS;i++)
|
||||
for (i=0;i<NUMGAMEFUNCTIONS-1;i++)
|
||||
{
|
||||
char *t;
|
||||
Bsprintf(tempbuf,"gamefunc_%s",gamefunctions[i]);
|
||||
|
|
Loading…
Reference in a new issue