diff options
| author | Paul Gilbert | 2009-01-25 05:49:18 +0000 |
|---|---|---|
| committer | Paul Gilbert | 2009-01-25 05:49:18 +0000 |
| commit | d3319ad6a8529683c00ce714e5dfa453bba4f1cb (patch) | |
| tree | c0f95447df755ecaee69910a8a17be3c8ddd8fd0 /engines/cruise/cruise_main.cpp | |
| parent | a27f4203e08dc9a3d9574c1cca73cd8cf280339a (diff) | |
| download | scummvm-rg350-d3319ad6a8529683c00ce714e5dfa453bba4f1cb.tar.gz scummvm-rg350-d3319ad6a8529683c00ce714e5dfa453bba4f1cb.tar.bz2 scummvm-rg350-d3319ad6a8529683c00ce714e5dfa453bba4f1cb.zip | |
Introduced a static string list for language dependant strings, and changed the options and inventory menus to use it
svn-id: r36051
Diffstat (limited to 'engines/cruise/cruise_main.cpp')
| -rw-r--r-- | engines/cruise/cruise_main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index 0057d688b2..a8e38f2143 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -29,6 +29,7 @@ #include "cruise/cruise_main.h" #include "cruise/cell.h" +#include "cruise/staticres.h" namespace Cruise { @@ -774,7 +775,8 @@ int getObjectClass(int overlayIdx, int objIdx) { void buildInventory(int X, int Y) { menuStruct *pMenu; - pMenu = createMenu(X, Y, "Inventaire"); + const char **sl = getStringList(); + pMenu = createMenu(X, Y, sl[SL_INVENTORY]); menuTable[1] = pMenu; if (pMenu == NULL) |
