diff options
author | Strangerke | 2011-06-20 00:13:41 +0200 |
---|---|---|
committer | Strangerke | 2011-06-20 00:13:41 +0200 |
commit | 40f95669aeb60a50c2736d71008f0e3461654f4f (patch) | |
tree | d4169b607f7f13d8645845a2aa1b1a1117d53710 /engines/cge/vmenu.cpp | |
parent | 0fa5425aa847669e53197b1f9a570e37a7314f01 (diff) | |
download | scummvm-rg350-40f95669aeb60a50c2736d71008f0e3461654f4f.tar.gz scummvm-rg350-40f95669aeb60a50c2736d71008f0e3461654f4f.tar.bz2 scummvm-rg350-40f95669aeb60a50c2736d71008f0e3461654f4f.zip |
CGE: As there's only one instance of VGA, suppress all the static keywords from it
Diffstat (limited to 'engines/cge/vmenu.cpp')
-rw-r--r-- | engines/cge/vmenu.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/cge/vmenu.cpp b/engines/cge/vmenu.cpp index 4e1a3334bf..cb2c2013f4 100644 --- a/engines/cge/vmenu.cpp +++ b/engines/cge/vmenu.cpp @@ -27,6 +27,7 @@ #include "cge/vmenu.h" #include "cge/mouse.h" +#include "cge/cge_main.h" #include <string.h> namespace CGE { @@ -112,10 +113,10 @@ VMENU::VMENU(CHOICE *list, int x, int y) Center(); else Goto(x - W / 2, y - (TEXT_VM + FONT_HIG / 2)); - VGA::ShowQ.Insert(this, VGA::ShowQ.Last()); + Vga->ShowQ->Insert(this, Vga->ShowQ->Last()); Bar = new MENU_BAR(W - 2 * TEXT_HM); Bar->Goto(X + TEXT_HM - MB_HM, Y + TEXT_VM - MB_VM); - VGA::ShowQ.Insert(Bar, VGA::ShowQ.Last()); + Vga->ShowQ->Insert(Bar, Vga->ShowQ->Last()); } |