aboutsummaryrefslogtreecommitdiff
path: root/src/gui
Commit message (Collapse)AuthorAge
* Fix Android build errors (caused by 5f1cd55)Juozas2018-12-03
| | | After commit 5f1cd55 touchscreengui.* files were pointing to old file locations
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
| | | | | Update Android.mk Remove 'src/client' from include_directories
* Make non-formspec modal menus respect gui scale (#7850)stujones112018-11-26
|
* Client-side autojump. Remove Android-only stepheight autojump (#7228)Ben Deutsch2018-11-22
| | | | | | | | Works by detecting a collision while moving forward and then simulating a jump. If the simulated jump is more successful, an artificial jump key press is injected in the client. Includes setting and key change GUI element for enabling and disabling this feature.
* Android: Improve UI scaling on smaller high-density displays (#7834)stujones112018-11-18
| | | | * Android: Improve UI scaling on smaller high-density displays
* Minor changes for IrrLicht 1.9 supportnumber Zero2018-11-11
|
* Drop .NET-specific workaround: _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIXnumber Zero2018-11-11
|
* Formspecs: Fix text clipped by scrollbars (#7816)random-geek2018-11-06
|
* Remove un-needed header inclusionstujones112018-10-29
|
* Move touchscreen input handling to base GUIModalMenu classstujones112018-10-29
|
* Android buttons: Inset 'rare controls', inset and resize 'gear icon' (#7792)Paramat2018-10-19
| | | | | Previously these were both inconsistently close to the screen edge. 'gear icon' has been enlarged to match the width of 'zoom' and 'aux' buttons.
* Formspecs: Fix invalid background warningrubenwardy2018-08-20
| | | | | Clipped backgrounds are still valid with no size[] tag, as they will apply themselves correctly to any size Fixes #7197
* Formspecs: Fix missing trim() when checking for no_prepend[]rubenwardy2018-08-15
|
* Formspecs: Add tooltip element for arearubenwardy2018-08-05
|
* guiFormspecMenu: Allow fraction values for container[] (#7497)SmallJoker2018-08-04
| | | Switch spacing and pos_offset to v2f32 for percision, add helper function
* Allow enter to select items from combobox's list (#7351)Rob Blanckaert2018-07-28
|
* Add a MSVC / Windows compatible snprintf function (#7353)nOOb31672018-07-22
| | | Use sizeof where applicable for mt_snprintf
* Android: Add 'aux' button (#7477)Muhammad Rifqi Priyo Susanto2018-07-10
| | | | | Add 'aux' button. Use joystick to trigger 'aux' button when forward and out of main circle, by enabling 'virtual_joystick_triggers_aux' setting.
* Fix memory leak in guiConfirmRegistrationHybridDog2018-07-06
|
* Android: Resize jump and sneak buttons' touch target (#7498)Muhammad Rifqi Priyo Susanto2018-06-30
|
* Fix more GCC 8.1 warnings ↵Loïc Blot2018-05-28
| | | | | | | | | |   1   master  Fix 3 warnings reported by GCC 8.1 of the following type ```src/client/gameui.cpp:191:43: warning: « void* memset(void*, int, size_t) » effacement d'un objet du type non trivial « struct GameUI::Flags »; use assignment or value-initialization instead [-Wclass-memaccess] memset(&m_flags, 0, sizeof(GameUI::Flags)); ```
* Don't show Android edit dialog when tapping read-only field (#7337)Muhammad Rifqi Priyo Susanto2018-05-15
| | | | | * Don't show Android edit dialog when tapping read-only field From Lua API, "If the name is empty the textarea is readonly."
* Fix crash guiConfirmRegistration quit menu (#7313)Vincent Glize2018-05-10
|
* Formspecs: Allow setting alpha value for the box[] elementThomas--S2018-04-23
|
* Android: Modify touch screen GUI's buttons (#7240)Muhammad Rifqi Priyo Susanto2018-04-18
| | | | | | | * Android: Add zoom, minimap, and toggle chat button Zoom button is put above jump button. Minimap and toggle chat button are put in settings bar. * Jump button is rotated down button * Move three buttons on the right screen higher
* Android: Replace movement buttons with joystick (#7126)Muhammad Rifqi Priyo Susanto2018-04-10
| | | | | | | | | | | | | | | | | * Android: Replace movement buttons with joystick Replace movement control buttons (arrows at bottom left screen) with virtual joystick. Joystick has 8 directions (same as keyboard). Basically, just map it to keyboard input. Joystick applies only on left 1/3 of screen. Joystick's position can be fixed by enabling fixed_virtual_joystick setting. Three new images: (1) placeholder joystick, (2) joystick container (background), and (3) joystick cursor. Remove unused images: movement control buttons (*_arrow.png). New data type: touch_gui_joystick_move_id Joystick's fixed position is spaced one button size from bottom and from left of screen. Remove unused variable: m_joystick_downlocation
* Selected ItemStack: Reduce black magic (#6520)SmallJoker2018-04-03
| | | | * Selected ItemStack: Reduce black magic Better button variable value naming
* Formspecs: Use mouse wheel to pick up and deposit single itemsyou2018-04-02
|
* LINT: add clang-tidy step (#6295)Loïc Blot2018-04-01
| | | | | | | | | * Implement new travis clang-tidy build step * This step enable some rules and enforce one rule as error * This permits to have some C++ quality rules based on clang & clang contributor guidelines * Fix clang-tidy reported problems on push_back -> emplace_back
* Add formspec theming using prepended stringsAndrew Ward2018-03-28
|
* Guard sound manager initialization with "enable_sound" (#7167)nOOb31672018-03-26
|
* Cleanup sound manager class (#7158)Loïc Blot2018-03-24
| | | | | | | | | | * Cleanup sound manager client * Use some const refs * Use auto on iterators * Drop unused parameters * Move sound_openal.* to client folder * Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
* Global initialization of sound using SoundManagerGlobal (#7063)nOOb31672018-03-23
| | | | * Global initialization of sound using SoundManagerGlobal
* Server: delegate mod management & config to ServerModConfiguration (#7131)Loïc Blot2018-03-16
| | | | | | | | * Server: delegate mod management & config to ServerModConfiguration (rename it to ServerModManager) * Use c++11 range based loops * Add unittests + experimental/default mod as a test case to permit testing mod loading in future tests
* Finally fix android buildLoic Blot2018-03-11
|
* Fix Android build, but there is a remaining linking issue in ↵Loic Blot2018-03-11
| | | | | | guiConfirmRegistration * Also fix variable name overloading in guiConfirmRegistration
* Android build fixes for c++11stujones112018-03-11
|
* Formspecs: Unify textarea and field parsing functions, fix wrong fallback textSmallJoker2018-03-09
| | | | | | | * textarea[], field[]: Unify function, fix wrong fallback text * Remove apparently superflous mainmenumanager.h incldue * intlGUIEditBox.cpp: make read-only boxes really read-only * Use elseif (trivial)
* Registration dialog: Larger text field with scrollbars (#7047)SmallJoker2018-02-23
| | | Center text, text area doubled now
* Fix 'Change Keys' menu crash caused by 501f936SmallJoker2018-02-09
|
* Game refactor [4/X]: keycache is now owned by InputHandlerLoic Blot2018-01-20
| | | | | | * Make InputHandler own the key cache * Add a helper function InputHandler::cancelPressed to avoid multiple similar calls in game.cpp * Move RandomInputHandler::step definition into cpp file
* Game refactor [2/X]: Various moves (profilergraph, nodePlacementPrediction, ↵Loic Blot2018-01-20
| | | | | | | | create_formspec_menu) * Move profilergraph to dedicated files * Move nodePlacementPrediction to Game class * Rename create_formspec_menu to GUIFormSpecMenu::create
* [CSM] Add basic HUD manipulation. (#6067)red-0012018-01-20
| | | | | | * [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
* Registration confirmation dialog: Fix grammarMuhammad Rifqi Priyo Susanto2018-01-13
| | | | Fixes commit 792752997c5ae2aaa4f54d0a2e2af2a96d7d1e9f.
* Add confirmation on new player registration (#6849)Muhammad Rifqi Priyo Susanto2018-01-13
| | | | | | | | | | | | | | * Attempt to add registration confirmation Using SRP auth mechanism, if server sent AUTH_MECHANISM_FIRST_SRP that means the player isn't exist. Also tell player about the server and chosen username. Local game has localhost as IP address of the server. Add RenderingEngine::draw_menu_scene() to draw GUI and clouds background. aborted -> connection_aborted * Rewrite information message text Client::promptConfirmRegister() -> Client::promptConfirmRegistration()
* Don't recalculate statustext initial color everytime & review fixesLoic Blot2018-01-05
|
* GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on ↵Loic Blot2018-01-05
| | | | | | | StaticText Other enhancements: * C++ friendlyness for addStaticText() -> move to static StaticText::add()
* Fix dancing textnumber Zero2017-12-25
|
* Fix wrong scrolling (#6809)Vitaliy2017-12-21
|
* Ensure no item stack is being held before crafting (#4779)Luis Cáceres2017-12-06
|