82 Commits

Author SHA1 Message Date
MoNTE48
4db0b94eeb Fix hunger bug, add colorize to player damage, improved text positioning 2019-06-20 00:17:58 +02:00
MoNTE48
cd71f47666 Attempt to improve HUD pos (@MoNTE48 and @kilbith) 2019-06-17 21:32:11 +02:00
MoNTE48
9e4e1ddfe4 Minor changes in Mapgens and HUD text pos 2019-06-17 21:18:14 +02:00
MoNTE48
012be8d883 Mobile: fix statustext position (again) 2019-06-07 20:11:08 +02:00
Maksim Gamarnik
222f5947e5 Mobile: fix statustext and hud text position 2019-06-05 20:29:42 +02:00
MoNTE48
e98d421aff Merge remote-tracking branch 'upstream/stable-0.4' into sync 2019-04-01 20:18:54 +02:00
Nathanaël Courant
4064048bef Statbars: fix incorrect half-images in non-standard orientations (fixes #6198) 2018-06-03 17:31:59 +02:00
sfan5
459e8ac68a Allow moving HUD upwards and enable the feature on iPhone X (#112) 2018-04-29 20:22:30 +02:00
Maksim Gamarnik
35770f4abb Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
Dániel Juhász
d0d6b5ee0b Do not shade inventory items with textures (#5869)
This commit restores the old behavior: if an inventory item has an own
inventory texture, it will not be shaded.
2017-06-01 23:18:55 +02:00
SmallJoker
4f1a88aaaf Time: Change old u32 timestamps to 64-bit (#5818)
MacOSX build fix + cleanups
2017-05-26 14:03:36 +02:00
ezhh
2a24e81e16 Add option to use neither node highlighting nor outlining 2017-05-15 19:51:40 +10:00
ShadowNinja
dc73e2cec8 Clean up getTime helpers
This increases size of the getTime return values to 64 bits.
It also removes the TimeGetter classes since the getTime functions
are now very precise.
2017-04-28 14:43:18 -04:00
Dániel Juhász
b12ed27315 Soft node overlay (#5186)
This commit adds node overlays, which are tiles that are drawn on top of
other tiles.
2017-04-21 23:34:59 +10:00
Dániel Juhász
88b956fe8e Hardware coloring for itemstacks
Adds the possibility to colorize item stacks based on their metadata.

In the item/node definition you can specify palette (an image file)
and color (fallback color if the item has no palette or metadata).
Then you can add palette_index to the metadata.

Dropped itemstacks with different colors do not merge.
2017-04-08 18:39:15 -07:00
Maksim Gamarnik
e05f7db82f Updated to Minetest ver. 0.4.15 2017-01-30 00:44:07 +02:00
Ner'zhul
14a094c1a2 Environment & IGameDef code refactoring (#4985)
* Environment code refactoring
* Cleanup includes & class declarations in client & server environment to improve build speed
* ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts.
* Cleanup IGameDef
  * Move ITextureSource* IGameDef::getTextureSource() to Client only.
  * Also move ITextureSource *IGameDef::tsrc() helper
  * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call
  * drop unused emerge() call
  * cleanup server unused functions (mentionned before)
* Drop one unused parameter from ContentFeatures::updateTextures
* move checkLocalPrivilege to Client
* Remove some unnecessary casts
* create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it
* Fix some comments
* Change required IGameDef to Server/Client pointers
* Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects
* Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu
* drop ClientMap::sectorWasDrawn which is unused
2017-01-09 20:39:22 +01:00
Maksim Gamarnik
0c1814eef5 Update light.cpp (thank's @sofar), iOS: small fix 2016-12-12 00:21:27 +02:00
RealBadAngel
21cd09220e Halo: Highlight selected face
This is a slightly modified and cleaned up version of #3774 by RealBadAngel.
By sofar: Remove color change (just make it lighter) and some minor cleanups.
2016-11-12 06:41:04 +00:00
sfan5
d525673848 iOS changed files (#41) 2016-11-06 00:14:16 +02:00
Maksim Gamarnik
2ced43eec8 Android: Fix build. Change progress bar size, android tune 2016-10-18 01:15:14 +03:00
Maksim Gamarnik
6e6f3fedfc ver. 1.1.6 2016-10-16 22:23:15 +03:00
Maksim Gamarnik
4fed0328d8 Release
Or no? :)
2016-05-02 06:09:17 +03:00
Maksim Gamarnik
d5854e5cf7 Merge minetest commits / WIP!
Java part WIP, pls, use prev commits!
2016-04-29 10:11:25 +03:00
Ekdohibs
ce488ea7f4 Escape more strings: formspecs, item descriptions, infotexts...
Also, change the escape character to the more standard \x1b
Thus, it can be used in the future for translation or colored text,
for example.
2016-04-24 03:54:11 +10:00
Maksim Gamarnik
52abfb0219 Part III 2016-04-21 01:53:17 +03:00
Maksim Gamarnik
6d3bdc5a7d Merge 2016-04-12 21:28:50 +03:00
rubenwardy
3f47cc7f5d Fix inventory hud scaling 2016-04-12 23:10:28 +10:00
PilzAdam
06bb87f15d Fix hotbar placement on displays with low screen density 2016-04-11 23:04:42 +02:00
kwolekr
81e06b1f01 Hud: Cache hud_scaling, fix minor style issues 2016-04-10 23:54:34 -04:00
rubenwardy
cbff06cadc Hud: Fix offset being ignored by inventory bar 2016-04-10 23:54:23 -04:00
Maksim Gamarnik
da97d550e7 ver. 1.1.2.3 2016-04-08 20:43:15 +03:00
Maksim Gamarnik
02c14c549b Merge 2016-03-04 15:14:34 +02:00
Maksim Gamarnik
d7c0fad71f Merge Minetest commits 2016-02-11 22:35:23 +02:00
RealBadAngel
786beec51b Use single box for halo mesh 2016-02-11 13:11:25 +01:00
Maksim Gamarnik
2ba90de7d4 Merge Part 2/2
Halo enabled! :)
2016-02-09 00:42:28 +02:00
Maksim Gamarnik
2e292fc01f Merge, part 1/2 2016-02-09 00:26:22 +02:00
RealBadAngel
8b602bba0f Cleanup selection mesh code, add shaders for halo and selection boxes 2016-02-08 03:57:42 -05:00
est31
3bb1d941ad small drawItemStack cleanup
-> Replace the three bool params with an enum
-> Add struct for the static content, leads to less repetition
-> cache enable_animations setting
2016-02-08 00:35:24 +01:00
RealBadAngel
013ef76173 Use meshes to display inventory items 2016-02-07 19:51:55 +01:00
Maksim Gamarnik
919be490f9 Update
Sync all Minetest commits
2015-11-10 13:49:24 +02:00
David Jones
9d1284b324 Change i++ to ++i 2015-08-25 18:33:52 -04:00
Maksim Gamarnik
9247f32e0e LGPL 2.1 to 3.0 on all files 2015-08-14 01:26:28 +03:00
est31
dd302e0032 Use UTF-8 instead of narrow
Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places.
Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
2015-07-08 10:12:44 +02:00
Craig Robbins
0731f9ed2a Move globals from main.cpp to more sane locations
Move debug streams to log.cpp|h

Move GUI-related globals to clientlauncher

Move g_settings and g_settings_path to settings.cpp|h

Move g_menuclouds to clouds.cpp|h

Move g_profiler to profiler.cpp|h
2015-04-01 23:04:25 +10:00
Aaron Suen
e8d51554ae Clean scaling pre-filter for formspec/HUD. 2015-04-01 00:01:05 -04:00
Loic Blot
188c15c3d8 Replace std::list to std::vector into tile.cpp (m_texture_trash) and move tile.hpp to src/client/ 2015-03-05 11:59:40 +01:00
kwolekr
50d5b59eeb Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar 2015-02-08 12:47:45 -05:00
sapier
5d689693ae Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices 2015-01-09 14:31:33 +01:00
SmallJoker
30a051a904 Fix MSVC build
Note: The unit test was technically incorrect for all platforms but passes due to implicit casting
2014-12-05 16:09:53 +10:00