| Commit message (Collapse) | Author | Age |
|
|
| |
Remove m_btn_height dependency, replace with the text and checkbox size.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Positional strings don't work on some Windows builds.
Remove server address string, leave player name string present.
|
|
|
| |
This loop makes multiple passes over m_stack (type std::list) in order to remove all elements with a specified value. Replacing the loop with a call to std::list::remove does the same job, but in only one pass.
|
|
|
| |
Fixes #4727. The issue was due to the video driver fog colour never getting reset after closing the game.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
After commit 5f1cd55 touchscreengui.* files were pointing to old file locations
|
|
|
|
|
| |
Update Android.mk
Remove 'src/client' from include_directories
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Previously these were both inconsistently close to the screen edge.
'gear icon' has been enlarged to match the width of 'zoom' and 'aux'
buttons.
|
|
|
|
|
| |
Clipped backgrounds are still valid with no size[] tag, as they will apply themselves correctly to any size
Fixes #7197
|
| |
|
| |
|
|
|
| |
Switch spacing and pos_offset to v2f32 for percision, add helper function
|
| |
|
|
|
| |
Use sizeof where applicable for mt_snprintf
|
|
|
|
|
| |
Add 'aux' button.
Use joystick to trigger 'aux' button when forward and out of main circle, by enabling
'virtual_joystick_triggers_aux' setting.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
From Lua API, "If the name is empty the textarea is readonly."
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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
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
Better button variable value naming
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|