From d8be908233fd7b85492d7a9e87f07bb207173990 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 25 Nov 2012 12:06:13 +0000 Subject: Moved core::EntityGlobe into a separate file, added various methods to core::Item and core::Slot, added r_slots cvar to draw entity slots and docks, added game methods for mounting and umounting of weapons, added playerlist to chat window. --- src/render/render.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/render/render.cc') diff --git a/src/render/render.cc b/src/render/render.cc index 45d3fda..794d777 100644 --- a/src/render/render.cc +++ b/src/render/render.cc @@ -11,6 +11,8 @@ #include "auxiliary/functions.h" #include "core/application.h" +#include "core/entity.h" +#include "core/entityglobe.h" #include "core/gameinterface.h" #include "filesystem/filesystem.h" #include "model/model.h" @@ -40,6 +42,7 @@ core::Cvar *r_mipmap = 0; core::Cvar *r_physics = 0; core::Cvar *r_normals = 0; core::Cvar *r_normalize = 0; +core::Cvar *r_slots = 0; void func_list_textures(std::string const &args) { @@ -100,6 +103,9 @@ void init(int width, int height) r_physics = core::Cvar::get("r_physics", "0", core::Cvar::Archive); r_physics->set_info("[bool] render physics (local game only)"); + + r_slots = core::Cvar::get("r_slots", "0", core::Cvar::Archive); + r_slots->set_info("[bool] render model slots"); Screenshot::screenshotformat = core::Cvar::get("screenshot_format", "jpg", core::Cvar::Archive); Screenshot::screenshotformat->set_info("[string] screenshot format: jpg png tga"); -- cgit v1.2.3