#pragma once #include "external/moon/vehicle_renderer.h" class Paint : VehicleRenderer { public: Paint(); ~Paint(); struct veh_nodes { static std::vector names_vec; static std::string selected; }; static std::map> textures; protected: static void UpdateNodeListRecursive(CVehicle* pVeh); static void NodeWrapperRecursive(RwFrame * frame, CVehicle* pVeh, std::function func); static void SetNodeColor(CVehicle* pVeh, std::string node_name, CRGBA color, bool filter_mat = false); static void SetNodeTexture(CVehicle* pVeh, std::string node_name, std::string texturename, bool filter_mat = false); static void ResetNodeColor(CVehicle *veh, std::string node_name); static void ResetNodeTexture(CVehicle *pVeh, std::string node_name); };