#include "weapon_menu.h"#include <sstream>#include <math.h>#include "interface.h"#include "../graphic/video.h"#include "../graphic/font.h"#include "../game/time.h"#include "../include/action_handler.h"#include "../include/app.h"#include "../interface/mouse.h"#include "../map/camera.h"#include "../map/map.h"#include "../team/team.h"#include "../team/teams_list.h"#include "../tool/point.h"#include "../tool/rectangle.h"#include "../tool/string_tools.h"#include "../tool/resource_manager.h"#include "../graphic/sprite.h"#include "../weapon/weapon.h"#include "../weapon/weapons_list.h"Include dependency graph for weapon_menu.cpp:

Go to the source code of this file.
Variables | |
| const uint | BUTTON_ICO_WIDTH = 58 |
| const uint | BUTTON_ICO_HEIGHT = 58 |
| const uint | WEAPON_ICO_WIDTH = 48 |
| const uint | WEAPON_ICO_HEIGHT = 48 |
| const uint | BUTTON_ICO_GAP = 8 |
| const uint | ICONS_DRAW_TIME = 600 |
| const uint | ICON_ZOOM_TIME = 150 |
| const double | DEFAULT_ICON_SCALE = 0.7 |
| const double | MAX_ICON_SCALE = 1.1 |
| const uint | BUTTON_WIDTH |
| const uint | BUTTON_HEIGHT |
| const uint BUTTON_HEIGHT |
Initial value:
(int)(BUTTON_ICO_GAP + BUTTON_ICO_HEIGHT * (DEFAULT_ICON_SCALE+MAX_ICON_SCALE)/2)
Definition at line 65 of file weapon_menu.cpp.
| const uint BUTTON_ICO_GAP = 8 |
Definition at line 53 of file weapon_menu.cpp.
| const uint BUTTON_ICO_HEIGHT = 58 |
Definition at line 48 of file weapon_menu.cpp.
| const uint BUTTON_ICO_WIDTH = 58 |
Definition at line 47 of file weapon_menu.cpp.
| const uint BUTTON_WIDTH |
Initial value:
(int)(BUTTON_ICO_GAP + BUTTON_ICO_WIDTH * (DEFAULT_ICON_SCALE+MAX_ICON_SCALE)/2)
Definition at line 62 of file weapon_menu.cpp.
| const double DEFAULT_ICON_SCALE = 0.7 |
Definition at line 59 of file weapon_menu.cpp.
| const uint ICON_ZOOM_TIME = 150 |
Definition at line 57 of file weapon_menu.cpp.
| const uint ICONS_DRAW_TIME = 600 |
Definition at line 56 of file weapon_menu.cpp.
| const double MAX_ICON_SCALE = 1.1 |
Definition at line 60 of file weapon_menu.cpp.
| const uint WEAPON_ICO_HEIGHT = 48 |
Definition at line 51 of file weapon_menu.cpp.
| const uint WEAPON_ICO_WIDTH = 48 |
Definition at line 50 of file weapon_menu.cpp.
1.4.7