aboutsummaryrefslogtreecommitdiff
path: root/src/keycode.h
Commit message (Collapse)AuthorAge
* Overhaul the input systemGiuseppe Bilotta2011-08-22
| | | | | This allows us to map the keys which are not considered in irrlicht's EKEY_CODE system, such as \, [, /, ] etc.
* Fix keycode_to_keyname return valueGiuseppe Bilotta2011-08-13
|
* Clean up key names handlingGiuseppe Bilotta2011-08-12
| | | | | Constify keycode and move the static array of localizable names from the guiKeyChangeMenu header to the implementation file, changing its name.
* * key change menu now saving immediatelyPerttu Ahola2011-07-22
|
* Merge branch 'master' of https://github.com/erlehmann/minetest-delta.git ↵Sebastian Rühl2011-06-26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into upstream_merge Conflicts: .gitignore CMakeLists.txt data/heart.png src/CMakeLists.txt src/game.cpp src/guiMainMenu.cpp src/inventory.cpp src/map.cpp src/mapblock.cpp src/mapnode.cpp src/mapnode.h src/materials.cpp src/server.cpp Signed-off-by: Sebastian Rühl <bahamada_basti@yahoo.de>
| * added new submenu for key assignmentteddydestodes2011-06-01
|/ | | | configwriting/saving isn't complete and will break your config if you use fancy keys
* added missing #ifndef KEYCODE_HEADER to keycode.hPerttu Ahola2011-05-15
|
* Added key configuration in the configuration file.Perttu Ahola2011-05-14
span> struct ParticleParameters; struct ParticleSpawnerParameters; struct SkyboxParams; struct SunParams; struct MoonParams; struct StarParams; enum ClientEventType : u8 { CE_NONE, CE_PLAYER_DAMAGE, CE_PLAYER_FORCE_MOVE, CE_DEATHSCREEN, CE_SHOW_FORMSPEC, CE_SHOW_LOCAL_FORMSPEC, CE_SPAWN_PARTICLE, CE_ADD_PARTICLESPAWNER, CE_DELETE_PARTICLESPAWNER, CE_HUDADD, CE_HUDRM, CE_HUDCHANGE, CE_SET_SKY, CE_SET_SUN, CE_SET_MOON, CE_SET_STARS, CE_OVERRIDE_DAY_NIGHT_RATIO, CE_CLOUD_PARAMS, CLIENTEVENT_MAX, }; struct ClientEventHudAdd { u32 server_id; u8 type; v2f pos, scale; std::string name; std::string text, text2; u32 number, item, dir; v2f align, offset; v3f world_pos; v2s32 size; s16 z_index; }; struct ClientEventHudChange { u32 id; HudElementStat stat; v2f v2fdata; std::string sdata; u32 data; v3f v3fdata; v2s32 v2s32data; }; struct ClientEvent { ClientEventType type; union { // struct{ //} none; struct { u16 amount; } player_damage; struct { f32 pitch; f32 yaw; } player_force_move; struct { bool set_camera_point_target; f32 camera_point_target_x; f32 camera_point_target_y; f32 camera_point_target_z; } deathscreen; struct { std::string *formspec; std::string *formname; } show_formspec; // struct{ //} textures_updated; ParticleParameters *spawn_particle; struct { ParticleSpawnerParameters *p; u16 attached_id; u64 id; } add_particlespawner; struct { u32 id; } delete_particlespawner; ClientEventHudAdd *hudadd; struct { u32 id; } hudrm; ClientEventHudChange *hudchange; SkyboxParams *set_sky; struct { bool do_override; float ratio_f; } override_day_night_ratio; struct { f32 density; u32 color_bright; u32 color_ambient; f32 height; f32 thickness; f32 speed_x; f32 speed_y; } cloud_params; SunParams *sun_params; MoonParams *moon_params; StarParams *star_params; }; };