aboutsummaryrefslogtreecommitdiff
path: root/assets/manual_img
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-29 20:11:22 +0100
committerorwell96 <orwell@bleipb.de>2018-10-29 20:11:22 +0100
commitef50505e9505812e79ccbd21f18fd1c0d7f3e25d (patch)
treeb6da55f57d3b84030cc26163aca21aea5eaca362 /assets/manual_img
parent68f047cc01b68daee71336ba00d121776316b808 (diff)
downloadadvtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.tar.gz
advtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.tar.bz2
advtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.zip
Fix typo in signal assignment, causing crash
ent; class Hud; class Minimap; class RenderingCore { protected: v2u32 screensize; v2u32 virtual_size; video::SColor skycolor; bool show_hud; bool show_minimap; bool draw_wield_tool; bool draw_crosshair; IrrlichtDevice *device; video::IVideoDriver *driver; scene::ISceneManager *smgr; gui::IGUIEnvironment *guienv; Client *client; Camera *camera; Minimap *mapper; Hud *hud; void updateScreenSize(); virtual void initTextures() {} virtual void clearTextures() {} virtual void beforeDraw() {} virtual void drawAll() = 0; void draw3D(); void drawHUD(); void drawPostFx(); public: RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud); RenderingCore(const RenderingCore &) = delete; RenderingCore(RenderingCore &&) = delete; virtual ~RenderingCore(); RenderingCore &operator=(const RenderingCore &) = delete; RenderingCore &operator=(RenderingCore &&) = delete; void initialize(); void draw(video::SColor _skycolor, bool _show_hud, bool _show_minimap, bool _draw_wield_tool, bool _draw_crosshair); inline v2u32 getVirtualSize() const { return virtual_size; } };