4734 Commits

Author SHA1 Message Date
RealBadAngel
4f2ca3ba1c Add new leaves style - simple (glasslike drawtype) 2015-07-08 11:20:07 +02: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
kwolekr
9aadb44895 Clean-up Minimap code
- Fixed race conditions
- Fixed null dereference
- Fixed out-of-bounds array access
- MinimapMapblock is now allocated and added to update queue only when enabled
- Removed dependency on LocalPlayer
- Fixed code style
- Simplified expressions and program logic
- Cleaned minimap object interfaces
2015-07-08 01:50:31 -04:00
paramat
a24d5f5e24 Mgv7: Auto-set lowest mountain generation level
Lowest level of base terrain determines mountain generation in mapchunk
Change some positional function arguments from int to s16
2015-07-08 00:49:04 +01:00
est31
991448706d Client: better m_proto_ver initialisation
Previously, m_proto_ver was set to the serialisation version
inside the legacy init packet.

Now, if the server doesn't send a protocol version (protocols < 25),
we set m_proto_ver to some value < 25 and > 0.
2015-07-07 17:03:26 +02:00
ShadowNinja
a08e51baf0 Use minetest logging facilities for irrlicht log output 2015-07-05 01:05:24 +02:00
paramat
348c89f362 Mgv7: Lower base of mountain generation to -112 and define constant 2015-07-04 20:21:19 +01:00
est31
865df5f1b1 Fix endless loop since grandparent commit 2015-07-04 19:43:46 +02:00
jeanpatrick.guerrero@gmail.com
76606da53a Fix attempt to start a world when no world is selected/created 2015-07-04 17:09:26 +02:00
est31
50e5a0f405 Craftdef: Use numbers instead of iterators
Use numbers instead of iterators to traverse various vectors.
2015-07-04 16:28:21 +02:00
TeTpaAka
172244352b Fix missing check for 0 in craft replacements 2015-07-04 14:33:49 +02:00
kwolekr
f7071ad42f Fix code style from recent commits and add misc. optimizations 2015-07-02 23:14:30 -04:00
Sokomine
f7dbdfa50a Set server_announce to world.mt and respect modes when changing subgame 2015-07-02 23:03:42 +02:00
RealBadAngel
f60b0bd911 Shaders fixes and cleanup relief mapping code. 2015-07-02 21:36:45 +02:00
Sokomine
26b340995e Fix world.mt not written when selecting mode 2015-07-01 19:50:24 +02:00
est31
d55de46a1d Inventory manager style cleanup and further checks 2015-07-01 17:03:02 +02:00
est31
120343e1a6 Disable mesh cache by default 2015-07-01 13:50:25 +02:00
paramat
02c7c67e2f Cavegen: Cleanup code. Define constant for MGV7_LAVA_DEPTH 2015-07-01 06:21:13 +01:00
est31
1c5f88e281 Add android tools environment to gitignore
Previously, if you did `make envpaths` (as described in README.android), the new file got listed by git as new file.
2015-07-01 04:12:55 +02:00
est31
52bb128a89 Make m_blocks_cache private
@RealBadAngel has removed all outside access of the cache.
2015-06-30 21:34:23 +02:00
est31
cd032e2886 Defer minimap update when shape changed 2015-06-30 21:14:28 +02:00
est31
1d13a5b744 Close keybind settings menu with esc 2015-06-30 21:04:06 +02:00
est31
81179f59e4 Fix single click world select 2015-06-30 20:09:29 +02:00
jeanpatrick.guerrero@gmail.com
06dd23637c Fix bugs in mainmenu 2015-06-30 18:11:38 +02:00
paramat
8dac0b8485 Biome API: Increase heat and humidity noise spreads to 1000 2015-06-30 07:04:18 +01:00
est31
0ef3a70c40 Add UpdateThread and use it for minimap and mesh threads 2015-06-29 15:00:19 +02:00
kwolekr
a6d2847b24 Fix *BSD build with GNU iconv 2015-06-29 12:32:01 +02:00
rubenwardy
380c359fd6 Add Lua errors to error dialog 2015-06-29 04:47:35 +02:00
RealBadAngel
921fe9ef26 Bugfix: variable type mismatch 2015-06-28 21:11:54 +02:00
RealBadAngel
8be5c3287a Bugfix: minimap was updated only with loading new blocks, allow forced updates with changing player pos 2015-06-28 14:45:47 +02:00
RealBadAngel
a8393b2887 Minimap update 2015-06-28 12:17:36 +02:00
est31
017417e32d Remove busy polling inside minimap thread 2015-06-27 19:20:25 +02:00
paramat
e919b4c510 Mgv5/mgv7 caves: Remove sand found in underground tunnels
Add missing check for max_stone_y to mgv5 cavegen
Tunnels now carve through sand below water_level
2015-06-27 03:36:40 +01:00
RealBadAngel
15bbb593e4 Add minimap feature 2015-06-27 03:42:01 +02:00
est31
5f82798410 Remove compile warning
Thanks @TeTpaAka for pointing this out.
2015-06-25 15:50:31 +02:00
est31
daca6875e6 Return to ignore 2015-06-24 22:47:41 +02:00
rubenwardy
72b43ae700 Use frame instead of words 'no screenshot available' 2015-06-24 07:33:38 +02:00
Loic Blot
a92e6d00b0 Typo fix on previous @est31 commit 2015-06-23 23:17:47 +02:00
est31
4b3721a7ed Small TOCLIENT_HELLO logging fix
Fix grammar error and missing number conversion for version.
Also add deployed protocol to log line.
2015-06-23 21:14:48 +02:00
est31
f4cc4ddc30 Add MoveSomewhere inventory action
Improve shift+click experience
2015-06-23 20:18:41 +02:00
Craig Davison
a1c365c7da Use actionstream instead of errorstream when failing to emerge player 2015-06-23 19:25:06 +02:00
est31
d7caf7344c Fix string conversion error message 2015-06-23 15:04:14 +02:00
TeTpaAka
af7af11b4a Fix bug when craft input isn't replaced 2015-06-22 19:30:35 +02:00
Zheyu Shen
21aa0c7a64 Update Chinese translation 2015-06-22 19:25:01 +02:00
MirceaKitsune
ee7dfd7ba0 Fix some issues with animations, and allow non-looped animations to be defined 2015-06-22 01:53:38 +02:00
paramat
87bed91137 Mgv7: Edit noise parameters. Fewer octaves, larger spreads. 2015-06-21 04:34:19 +01:00
RealBadAngel
4287e8a34e Remove textures vertical offset. Fix for area enabling parallax. 2015-06-21 00:11:09 +02:00
est31
ef0e155635 Android: use loop inside makefile to spare repetition 2015-06-20 07:48:17 +02:00
est31
e63f773ad6 Small CAO improvements
-> remove the old parent as @kahrl suggested
-> use indices no iterator as @kwolekr suggested
2015-06-20 06:58:07 +02:00
paramat
063ca7aa52 Mapgen objects: Enable heatmap and humidmap for all biome api mapgens 2015-06-20 04:16:17 +01:00