3 Copyright (C) 2017 nerzhul, Loic Blot <loic.blot@unix-experience.fr>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation; either version 2.1 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #include "irrlichttypes_bloated.h"
25 struct ParticleParameters;
26 struct ParticleSpawnerParameters;
32 enum ClientEventType : u8
39 CE_SHOW_LOCAL_FORMSPEC,
41 CE_ADD_PARTICLESPAWNER,
42 CE_DELETE_PARTICLESPAWNER,
50 CE_OVERRIDE_DAY_NIGHT_RATIO,
55 struct ClientEventHudAdd
61 std::string text, text2;
62 u32 number, item, dir, style;
69 struct ClientEventHudChange
98 bool set_camera_point_target;
99 f32 camera_point_target_x;
100 f32 camera_point_target_y;
101 f32 camera_point_target_z;
105 std::string *formspec;
106 std::string *formname;
109 //} textures_updated;
110 ParticleParameters *spawn_particle;
113 ParticleSpawnerParameters *p;
116 } add_particlespawner;
120 } delete_particlespawner;
121 ClientEventHudAdd *hudadd;
126 ClientEventHudChange *hudchange;
127 SkyboxParams *set_sky;
132 } override_day_night_ratio;
143 SunParams *sun_params;
144 MoonParams *moon_params;
145 StarParams *star_params;