mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-10 16:18:35 +03:00
LightDw
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
*/
|
||||
|
||||
#include "graphics.hpp"
|
||||
#include "../graphics/light.hpp"
|
||||
#include "graphics/background_color.hpp"
|
||||
#include "graphics/face_light.hpp"
|
||||
#include "graphics/fog.hpp"
|
||||
#include "graphics/light.hpp"
|
||||
#include "graphics/glitter.hpp"
|
||||
#include "graphics/post_process.hpp"
|
||||
#include "graphics/render_settings.hpp"
|
||||
@@ -17,17 +17,9 @@ classes_data graphics_classes[] = {
|
||||
"Background Color##Graphics",
|
||||
CLASSES_IN_CONTEXT_MENU,
|
||||
graphics_background_color_init,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_background_color_imgui,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_background_color_dispose,
|
||||
{
|
||||
{},
|
||||
(class_flags)(CLASS_DISPOSED | CLASS_HIDDEN),
|
||||
false,
|
||||
CLASS_DATA_NO_DATA,
|
||||
@@ -38,18 +30,10 @@ classes_data graphics_classes[] = {
|
||||
{
|
||||
"Light##Graphics",
|
||||
CLASSES_IN_CONTEXT_MENU,
|
||||
graphics_light_init,
|
||||
graphics_light_ctrl,
|
||||
(bool(*)(class_data*, render_context*))light_dw_init,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_light_imgui,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_light_dispose,
|
||||
{
|
||||
{},
|
||||
(class_flags)(CLASS_DISPOSED | CLASS_HIDDEN),
|
||||
false,
|
||||
CLASS_DATA_NO_DATA,
|
||||
@@ -61,17 +45,9 @@ classes_data graphics_classes[] = {
|
||||
"Face Light##Graphics",
|
||||
CLASSES_IN_CONTEXT_MENU,
|
||||
graphics_face_light_init,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_face_light_imgui,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_face_light_dispose,
|
||||
{
|
||||
{},
|
||||
(class_flags)(CLASS_DISPOSED | CLASS_HIDDEN),
|
||||
false,
|
||||
CLASS_DATA_NO_DATA,
|
||||
@@ -83,17 +59,9 @@ classes_data graphics_classes[] = {
|
||||
"Fog##Graphics",
|
||||
CLASSES_IN_CONTEXT_MENU,
|
||||
graphics_fog_init,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_fog_imgui,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_fog_dispose,
|
||||
{
|
||||
{},
|
||||
(class_flags)(CLASS_DISPOSED | CLASS_HIDDEN),
|
||||
false,
|
||||
CLASS_DATA_NO_DATA,
|
||||
@@ -105,17 +73,9 @@ classes_data graphics_classes[] = {
|
||||
"Post Process##Graphics",
|
||||
CLASSES_IN_CONTEXT_MENU,
|
||||
graphics_post_process_init,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_post_process_imgui,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_post_process_dispose,
|
||||
{
|
||||
{},
|
||||
(class_flags)(CLASS_DISPOSED | CLASS_HIDDEN),
|
||||
false,
|
||||
CLASS_DATA_NO_DATA,
|
||||
@@ -127,17 +87,9 @@ classes_data graphics_classes[] = {
|
||||
"Glitter##Graphics",
|
||||
CLASSES_IN_CONTEXT_MENU,
|
||||
graphics_glitter_init,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_glitter_imgui,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_glitter_dispose,
|
||||
{
|
||||
{},
|
||||
(class_flags)(CLASS_DISPOSED | CLASS_HIDDEN),
|
||||
false,
|
||||
CLASS_DATA_NO_DATA,
|
||||
@@ -149,17 +101,9 @@ classes_data graphics_classes[] = {
|
||||
"Render Settings##Graphics",
|
||||
CLASSES_IN_CONTEXT_MENU,
|
||||
graphics_render_settings_init,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_render_settings_imgui,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
CLASSES_DATA_NO_FUNC,
|
||||
graphics_render_settings_dispose,
|
||||
{
|
||||
{},
|
||||
(class_flags)(CLASS_DISPOSED | CLASS_HIDDEN),
|
||||
false,
|
||||
CLASS_DATA_NO_DATA,
|
||||
|
||||
Reference in New Issue
Block a user