|
| | Impl (const Vfs &vfs, Con &con, const Heightmap &hm, const TerrainInfo &info, const std::vector< DrawItem > &scene, bool objects) |
| std::shared_ptr< Animation > | state_anim (const std::string &name, bool first_person=false, float *speed=nullptr) |
| void | draw (const std::vector< DrawItem > &scene, const Camera &cam, int W, int H, float seconds, bool show_collision, const std::vector< float > &projectiles, const std::vector< SoldierView > &soldiers, const std::vector< Sprite > &sprites, const std::vector< MeshParticle > &fx_meshes) |
| void | draw_sprites (const std::vector< Sprite > &sprites, const Camera &cam, const Mat4 &vp) |
| void | draw_meshes (const std::vector< MeshParticle > &ms) |
◆ Impl()
◆ draw()
| void obf::Renderer::Impl::draw |
( |
const std::vector< DrawItem > & | scene, |
|
|
const Camera & | cam, |
|
|
int | W, |
|
|
int | H, |
|
|
float | seconds, |
|
|
bool | show_collision, |
|
|
const std::vector< float > & | projectiles, |
|
|
const std::vector< SoldierView > & | soldiers, |
|
|
const std::vector< Sprite > & | sprites, |
|
|
const std::vector< MeshParticle > & | fx_meshes ) |
◆ draw_meshes()
| void obf::Renderer::Impl::draw_meshes |
( |
const std::vector< MeshParticle > & | ms | ) |
|
◆ draw_sprites()
| void obf::Renderer::Impl::draw_sprites |
( |
const std::vector< Sprite > & | sprites, |
|
|
const Camera & | cam, |
|
|
const Mat4 & | vp ) |
◆ state_anim()
| std::shared_ptr< Animation > obf::Renderer::Impl::state_anim |
( |
const std::string & | name, |
|
|
bool | first_person = false, |
|
|
float * | speed = nullptr ) |
|
inline |
◆ anim_of_item
| std::vector<int> obf::Renderer::Impl::anim_of_item |
◆ animated
| std::vector<Animated> obf::Renderer::Impl::animated |
◆ anims
| std::map<std::string, std::shared_ptr<Animation> > obf::Renderer::Impl::anims |
◆ fogc
| float obf::Renderer::Impl::fogc[3] = {} |
◆ fx1p
| std::unique_ptr<Effects> obf::Renderer::Impl::fx1p |
◆ fx1p_clock
| float obf::Renderer::Impl::fx1p_clock = -1 |
◆ fx1p_shot
| float obf::Renderer::Impl::fx1p_shot = -1 |
◆ fx_prog
| GLuint obf::Renderer::Impl::fx_prog = 0 |
◆ fx_vao
| GLuint obf::Renderer::Impl::fx_vao = 0 |
◆ fx_vbo
| GLuint obf::Renderer::Impl::fx_vbo = 0 |
◆ held
| std::map<size_t, Mat4> obf::Renderer::Impl::held |
◆ hud_font
| std::string obf::Renderer::Impl::hud_font |
◆ hud_prog
| GLuint obf::Renderer::Impl::hud_prog = 0 |
◆ hud_tex
| GLuint obf::Renderer::Impl::hud_tex = 0 |
◆ hud_vao
| GLuint obf::Renderer::Impl::hud_vao = 0 |
◆ hud_vbo
| GLuint obf::Renderer::Impl::hud_vbo = 0 |
◆ item_mesh
| std::vector<const GpuMesh*> obf::Renderer::Impl::item_mesh |
◆ meshes
| std::map<std::string, std::unique_ptr<GpuMesh> > obf::Renderer::Impl::meshes |
◆ minimap_tex
| GLuint obf::Renderer::Impl::minimap_tex = 0 |
◆ prog
| GLuint obf::Renderer::Impl::prog = 0 |
◆ skeletons
| std::map<std::string, std::shared_ptr<Skeleton> > obf::Renderer::Impl::skeletons |
◆ sky
| std::unique_ptr<GpuMesh> obf::Renderer::Impl::sky |
◆ sky_rot
| std::string obf::Renderer::Impl::sky_rot |
◆ states
| std::map<std::string, State> obf::Renderer::Impl::states |
◆ terrain_count
| GLsizei obf::Renderer::Impl::terrain_count = 0 |
◆ textures
| std::unique_ptr<Textures> obf::Renderer::Impl::textures |
◆ tracer_vao
| GLuint obf::Renderer::Impl::tracer_vao = 0 |
◆ tracer_vbo
| GLuint obf::Renderer::Impl::tracer_vbo = 0 |
◆ u_cam
| GLint obf::Renderer::Impl::u_cam = -1 |
◆ u_has_lm
| GLint obf::Renderer::Impl::u_has_lm = -1 |
◆ u_mode
| GLint obf::Renderer::Impl::u_mode = -1 |
◆ u_model
| GLint obf::Renderer::Impl::u_model = -1 |
◆ u_right
| GLint obf::Renderer::Impl::u_right = -1 |
◆ u_sprite
| GLint obf::Renderer::Impl::u_sprite = -1 |
◆ u_vp
| GLint obf::Renderer::Impl::u_vp = -1 |
◆ vao
| GLuint obf::Renderer::Impl::vao = 0 |
◆ vfs
| const Vfs& obf::Renderer::Impl::vfs |
◆ water_first
| size_t obf::Renderer::Impl::water_first = 0 |
◆ ws
| float obf::Renderer::Impl::ws = 0 |
The documentation for this struct was generated from the following file: