#include <vector>#include "weapon_menu.h"#include "../graphic/surface.h"#include "../graphic/sprite.h"#include "../gui/progress_bar.h"#include "../include/base.h"#include "../character/character.h"#include "../team/team.h"Include dependency graph for interface.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | Interface |
Functions | |
| void | AbsoluteDraw (const Surface &s, Point2i pos) |
| void | HideGameInterface () |
| void | ShowGameInterface () |
Definition at line 407 of file interface.cpp.
00408 { 00409 Rectanglei rectSurface(pos, s.GetSize()); 00410 00411 if( !rectSurface.Intersect(camera) ) 00412 return; 00413 00414 world.ToRedrawOnMap(rectSurface); 00415 00416 rectSurface.Clip( camera ); 00417 00418 Rectanglei rectSource(rectSurface.GetPosition() - pos, rectSurface.GetSize()); 00419 Point2i ptDest = rectSurface.GetPosition() - camera.GetPosition(); 00420 00421 AppWormux::GetInstance()->video.window.Blit(s, rectSource, ptDest); 00422 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void HideGameInterface | ( | ) |
Definition at line 424 of file interface.cpp.
00425 { 00426 if(Interface::GetInstance()->GetWeaponsMenu().IsDisplayed()) return; 00427 Mouse::GetInstance()->Hide(); 00428 Interface::GetInstance()->Hide(); 00429 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void ShowGameInterface | ( | ) |
Definition at line 431 of file interface.cpp.
00432 { 00433 Mouse::GetInstance()->Show(); 00434 Interface::GetInstance()->Show(); 00435 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.4.7