|
@@ -199,7 +199,8 @@ void Render::initTextures(char *textureDir, unsigned int *numLoaded,
|
199
|
199
|
{
|
200
|
200
|
char filename[128];
|
201
|
201
|
bool fastCard = mFlags & Render::fFastCard;
|
202
|
|
- const char *console = "Toggle the Console with [`] key, Menu with <esc>";
|
|
202
|
+ const char *console = "Toggle the Console with [`] key";
|
|
203
|
+ const char *menu = "Press <esc> for menu";
|
203
|
204
|
int font_id;
|
204
|
205
|
int snow1_id;
|
205
|
206
|
int snow2_id;
|
|
@@ -291,10 +292,9 @@ void Render::initTextures(char *textureDir, unsigned int *numLoaded,
|
291
|
292
|
|
292
|
293
|
// String 0: OpenRaider version in lower right corner
|
293
|
294
|
mString.Scale(0.90);
|
294
|
|
- err = mString.glPrintf(mWidth - 14 * strlen(VERSION),
|
295
|
|
- mHeight-24*3, 0, VERSION);
|
|
295
|
+ err = mString.glPrintf(mWidth - 10 * strlen(VERSION),
|
|
296
|
+ mHeight-24, 0, VERSION);
|
296
|
297
|
mString.SetString(0, VERSION);
|
297
|
|
- mString.Scale(0.5);
|
298
|
298
|
|
299
|
299
|
if (err)
|
300
|
300
|
{
|
|
@@ -302,6 +302,7 @@ void Render::initTextures(char *textureDir, unsigned int *numLoaded,
|
302
|
302
|
}
|
303
|
303
|
|
304
|
304
|
// String 1: Used for FPS in game text output
|
|
305
|
+ mString.Scale(0.5);
|
305
|
306
|
err = mString.glPrintf(8, 0, 0, " ");
|
306
|
307
|
|
307
|
308
|
if (err)
|
|
@@ -310,7 +311,9 @@ void Render::initTextures(char *textureDir, unsigned int *numLoaded,
|
310
|
311
|
}
|
311
|
312
|
|
312
|
313
|
// String 2: Used for game console
|
313
|
|
- err = mString.glPrintf(8, -24, 0, console);
|
|
314
|
+ mString.Scale(1.00);
|
|
315
|
+ err = mString.glPrintf(8, 20, 0, console);
|
|
316
|
+ mString.SetString(2, console);
|
314
|
317
|
|
315
|
318
|
if (err)
|
316
|
319
|
{
|
|
@@ -319,8 +322,8 @@ void Render::initTextures(char *textureDir, unsigned int *numLoaded,
|
319
|
322
|
|
320
|
323
|
// String 3: Used for one line map select menu
|
321
|
324
|
mString.Scale(1.75);
|
322
|
|
- err = mString.glPrintf(mWidth/2-200, mHeight/2-24, 0, "Press <esc> for menu");
|
323
|
|
- mString.Scale(1.0);
|
|
325
|
+ err = mString.glPrintf(mWidth/2-200, mHeight/2-24, 0, menu);
|
|
326
|
+ mString.SetString(3, menu);
|
324
|
327
|
|
325
|
328
|
if (err)
|
326
|
329
|
{
|
|
@@ -328,6 +331,7 @@ void Render::initTextures(char *textureDir, unsigned int *numLoaded,
|
328
|
331
|
}
|
329
|
332
|
|
330
|
333
|
// String 4: Used for one line in game text output
|
|
334
|
+ mString.Scale(1.0);
|
331
|
335
|
err = mString.glPrintf(8, 18*2, 0, " ");
|
332
|
336
|
|
333
|
337
|
if (err)
|