Zefram [Thu, 24 Jul 2014 12:49:15 +0000 (13:49 +0100)]
Vector math improvements
Rewrite math.hypot() to compute more directly, with far fewer operations.
Rewrite vector.length() and vector.distance() to each use a single
sqrt operation, rather than two (which they were doing via math.hypot).
Add vector.length_square() and vector.distance_square(), which return
squared distance more cheaply by omitting the sqrt operation.
sapier [Tue, 15 Jul 2014 18:23:14 +0000 (20:23 +0200)]
Add support for client side movement/acceleration end prediction
Zefram [Sat, 5 Jul 2014 20:29:07 +0000 (21:29 +0100)]
Resumable digging
When a node is partially dug but then digging stops, retain the invested
digging effort for a while rather than discard it. Digging of that node
can be resumed from the partially-dug state.
The ultimate vision towards which this works is that the effort required
to dig a node could be shared not just between multiple left clicks but
also between multiple tools and even multiple players, each involved
tool suffering wear pro rata. This would necessarily be mediated by
the server, and would even, through partial tool wear, be semantically
visible to mods. This patch doesn't do that. This patch does the simple
client-side version, under the prevailing paradigm that all the effort of
digging a node is credited to a single tool. This requires that the total
time invested to dig the node must be at least what the dominant tool
would take, regardless of which other tools were involved in the digging.
When a node is partially dug, what is retained is the time that was
spent digging it, regardless of which tool was used. The partially-dug
node shows the crack progression that it had reached with the tool last
used on it, which is based on the time spent digging divided by the time
that would be taken to fully dig using that tool. When resuming digging,
if a different tool is used, the time spent digging is simply added up,
and the crack progression is recomputed for the new tool's total dig time.
This can result in crack progression jumping forward or backward.
A partially-dug state is retained for only one node at a time: starting
digging on a different node throws away the partially-dug state.
The partial digging effort also decays over time: whatever dig time was
accumulated when digging stops will be lost linearly over the next ten
seconds. Resuming digging stops the decay, and new dig time is added
onto the decayed accumulated time. If the resumed digging is stopped
again at a partially-dug state then a fresh ten-second decay process
starts, using the revised accumulated dig time.
ShadowNinja [Tue, 5 Aug 2014 19:37:53 +0000 (15:37 -0400)]
Formspec escape fixed seen in world creation menu
ShadowNinja [Mon, 4 Aug 2014 20:54:11 +0000 (16:54 -0400)]
Disable preload_item_visuals by default
This can delay connections by several minutes.
Craig Robbins [Wed, 30 Jul 2014 01:39:24 +0000 (11:39 +1000)]
Fix issue 1527
https://github.com/minetest/minetest/issues/1527
sfan5 [Tue, 29 Jul 2014 08:47:38 +0000 (10:47 +0200)]
Add ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL CMake option Update 32-bit buildbot (OpenAL updated, zlib updated) Change build directory for buildbots to '_build' to prevent removal of Android build files Use -win64 suffix for 64-bit Windows builds Fixes #1476
sfan5 [Thu, 24 Jul 2014 19:55:09 +0000 (21:55 +0200)]
Rework texture generating code, add texture grouping via ( ... )
sfan5 [Thu, 24 Jul 2014 11:04:35 +0000 (13:04 +0200)]
Don't include cmake_config_githash.h into files that don't need it
RealBadAngel [Thu, 24 Jul 2014 18:58:08 +0000 (20:58 +0200)]
Dont display interior of glasslike_framed node when its not defined.
Fixes https://github.com/minetest/minetest/issues/1514
RealBadAngel [Thu, 24 Jul 2014 18:02:20 +0000 (20:02 +0200)]
Allow full circle rotation with 2degs step for plantlike drawtype.
RealBadAngel [Mon, 21 Jul 2014 22:32:03 +0000 (00:32 +0200)]
Add rotation for plantlike drawtype.
RealBadAngel [Sun, 20 Jul 2014 14:22:48 +0000 (16:22 +0200)]
Bugfix in makeCuboid - apply rotations to all faces when 1 tile is given.
ShadowNinja [Wed, 9 Jul 2014 00:44:47 +0000 (20:44 -0400)]
Remove vector assertions
These were initially added to get tracebacks for invalid vector errors, but it
didn't work and tracebacks have since been properly fixed in the core.
RealBadAngel [Tue, 15 Jul 2014 07:07:52 +0000 (09:07 +0200)]
Speedup mapblock_mesh
RealBadAngel [Thu, 17 Jul 2014 12:10:23 +0000 (14:10 +0200)]
Fix texture glitches for plants with visual scale > 1.0 (jungle grass).
RealBadAngel [Thu, 17 Jul 2014 11:37:18 +0000 (13:37 +0200)]
Fix texture hack in fences.
sapier [Wed, 16 Jul 2014 18:01:00 +0000 (20:01 +0200)]
Fix error handling on inconsistent client ready message
Fix android makefile to provide a correct dummy githash if detection fails
Zefram [Wed, 2 Jul 2014 13:32:54 +0000 (14:32 +0100)]
Make tooltip_show_delay=0 work
Zefram [Wed, 2 Jul 2014 14:03:27 +0000 (15:03 +0100)]
Permit non-integer sizes for item_image[]
Zefram [Wed, 16 Jul 2014 15:24:39 +0000 (17:24 +0200)]
Fix indexing error in timer processing
sapier [Wed, 16 Jul 2014 14:37:41 +0000 (16:37 +0200)]
Fix flipped textures for drawtype "glasslike"
sapier [Thu, 19 Jun 2014 16:17:35 +0000 (18:17 +0200)]
Add srollbar formspec element
sapier [Wed, 16 Jul 2014 11:40:30 +0000 (13:40 +0200)]
Fix android build after removal of indev and math mapgen
Novatux [Sat, 12 Jul 2014 08:51:09 +0000 (10:51 +0200)]
Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726
sfan5 [Tue, 8 Jul 2014 18:04:37 +0000 (20:04 +0200)]
Move MapBlock (de)serializing code out of Database class
proller [Sat, 12 Jul 2014 14:28:17 +0000 (18:28 +0400)]
Remove proller from credits
proller [Sat, 12 Jul 2014 14:21:54 +0000 (18:21 +0400)]
Remove indev mapgen
proller [Sat, 12 Jul 2014 14:15:55 +0000 (18:15 +0400)]
Remove math mapgen
BlockMen [Mon, 7 Jul 2014 17:12:38 +0000 (19:12 +0200)]
Update default control documentation
sapier [Mon, 7 Jul 2014 17:08:41 +0000 (19:08 +0200)]
Switch back repository to dev-mode after 0.4.10 release.
RealBadAngel [Mon, 7 Jul 2014 14:17:51 +0000 (16:17 +0200)]
Faces shading fixes
kwolekr [Mon, 7 Jul 2014 05:51:04 +0000 (01:51 -0400)]
Don't copy back already generated blocks on map generation
kwolekr [Mon, 7 Jul 2014 05:20:25 +0000 (01:20 -0400)]
Don't unload blocks if save failed
Improve error handling in saveBlock()
sapier [Sun, 6 Jul 2014 22:06:06 +0000 (00:06 +0200)]
Fix regression in leveldb backend
sapier [Sun, 6 Jul 2014 20:39:47 +0000 (22:39 +0200)]
Update version numbers for 0.4.10
sapier [Sun, 6 Jul 2014 20:11:21 +0000 (22:11 +0200)]
Fix client crash on deletion of an object the clients localplayer is attached to
sapier [Sun, 6 Jul 2014 19:24:31 +0000 (21:24 +0200)]
Switch android to leveldb as sqlite3 is broken and fails to save any mapblock there
sfan5 [Wed, 25 Jun 2014 05:25:33 +0000 (07:25 +0200)]
Improve error reporting in leveldb backend
Perttu Ahola [Sun, 6 Jul 2014 18:57:12 +0000 (21:57 +0300)]
Fix non-smooth non-shader node shading (Fixes #1436, regression by commit
a0f78659f31abd)
sfan5 [Sun, 6 Jul 2014 14:17:46 +0000 (16:17 +0200)]
Fix errors/warnings reported by valgrind
PilzAdam [Sun, 6 Jul 2014 13:41:56 +0000 (15:41 +0200)]
Fix memory leak in EmergeManager
sfan5 [Sun, 6 Jul 2014 11:07:23 +0000 (13:07 +0200)]
Fix warnings reported by clang
sfan5 [Sat, 5 Jul 2014 10:19:55 +0000 (12:19 +0200)]
Fix typos in doc/lua-api.txt
Perttu Ahola [Sat, 5 Jul 2014 08:54:09 +0000 (11:54 +0300)]
Remove FPS from being next to the version string
Kahrl [Fri, 4 Jul 2014 23:09:53 +0000 (01:09 +0200)]
Fix typo in doc/lua_api.txt
sapier [Wed, 2 Jul 2014 21:33:18 +0000 (23:33 +0200)]
Fix memory leaks in GenericCAO, ShaderSource and Player classes
Novatux [Wed, 2 Jul 2014 14:48:11 +0000 (16:48 +0200)]
Fix inversion of full_punch_interval
ShadowNinja [Mon, 30 Jun 2014 21:08:22 +0000 (17:08 -0400)]
Move master server to seperate repository
sapier [Mon, 30 Jun 2014 20:56:08 +0000 (22:56 +0200)]
Fix regression in light calculation
ShadowNinja [Fri, 20 Jun 2014 04:59:39 +0000 (00:59 -0400)]
Fix serverlist code style, const-correctness, and types
ShadowNinja [Fri, 20 Jun 2014 00:21:02 +0000 (20:21 -0400)]
Fix server list boolean typing and alignment
ShadowNinja [Thu, 19 Jun 2014 20:00:22 +0000 (16:00 -0400)]
Add support for multipart/form-data to HTTPFetch for server announcing
proller [Mon, 30 Jun 2014 16:47:50 +0000 (20:47 +0400)]
Masterserver: Fix compiling servers.jst
sfan5 [Sun, 29 Jun 2014 19:34:49 +0000 (21:34 +0200)]
Add redis options to documentation
sapier [Sun, 29 Jun 2014 17:36:51 +0000 (19:36 +0200)]
Copy zlib and freetype dll to windows package too
sapier [Mon, 21 Apr 2014 12:10:59 +0000 (14:10 +0200)]
Add support for Android 2.3+
There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts
A big thank you to everyone helping this to be completed!
sapier [Sun, 29 Jun 2014 15:55:21 +0000 (17:55 +0200)]
Don't spam server console on player/playersao error but just drop the affected client
RealBadAngel [Sun, 29 Jun 2014 08:41:49 +0000 (10:41 +0200)]
Glasslike_framed drawtype rework.
Martin Doege [Thu, 26 Jun 2014 18:30:22 +0000 (20:30 +0200)]
OS X compatibility fixes
sapier [Sun, 29 Jun 2014 14:57:50 +0000 (16:57 +0200)]
Fix msvc2012 build
sapier [Wed, 25 Jun 2014 17:04:47 +0000 (19:04 +0200)]
Add formspec api versioning
sapier [Sun, 29 Jun 2014 09:57:01 +0000 (11:57 +0200)]
Make sure none of the irrlicht member objects of GenericCAO are deleted prior deletion of GenericCAO
SmallJoker [Sat, 28 Jun 2014 15:01:15 +0000 (17:01 +0200)]
Make player files saving again
proller [Sat, 28 Jun 2014 18:10:55 +0000 (22:10 +0400)]
Masterserver: Fix undefined players
kwolekr [Sat, 28 Jun 2014 06:02:38 +0000 (02:02 -0400)]
Add prefixes to enum values and fix style issues
Kahrl [Fri, 27 Jun 2014 21:55:01 +0000 (23:55 +0200)]
Make GUITable mouse wheel scrolling faster
sapier [Fri, 27 Jun 2014 18:42:20 +0000 (20:42 +0200)]
Fix GenericCAO fails to grabing member animated mesh node to prevent it do be deleted to early
RealBadAngel [Fri, 27 Jun 2014 18:16:37 +0000 (20:16 +0200)]
Fix wrong status text rectangle. Fix for #1412
sapier [Sun, 15 Jun 2014 19:30:44 +0000 (21:30 +0200)]
Add separate download timeout to allow download of bigger files or on low bandwidth lines
sapier [Wed, 25 Jun 2014 17:59:45 +0000 (19:59 +0200)]
Fix statement not set NULL on deletion
Make local only variables static
RealBadAngel [Wed, 25 Jun 2014 09:52:09 +0000 (11:52 +0200)]
Add setting for tooltips show delay.
RealBadAngel [Tue, 24 Jun 2014 10:28:24 +0000 (12:28 +0200)]
Tooltips rework.
Separate element for tooltips. Delayed showing,
use global color or given ones.
Kahrl [Mon, 23 Jun 2014 23:26:43 +0000 (01:26 +0200)]
Handle missing tablecolumns[], fixes bug #1187
Kahrl [Mon, 23 Jun 2014 23:06:24 +0000 (01:06 +0200)]
GUITable typo fixes in comments
ShadowNinja [Mon, 23 Jun 2014 19:55:47 +0000 (15:55 -0400)]
Store the maximum player file tries in a constant
ShadowNinja [Sun, 1 Jun 2014 17:11:37 +0000 (13:11 -0400)]
Only try to load from possible player files
ShadowNinja [Fri, 30 May 2014 20:04:07 +0000 (16:04 -0400)]
Only keep players loaded while they're connected
ShadowNinja [Mon, 23 Jun 2014 19:27:54 +0000 (15:27 -0400)]
Remove confusing code block from SQLite3 database
ShadowNinja [Fri, 13 Jun 2014 21:07:42 +0000 (17:07 -0400)]
Clear inventory before setting lists
sfan5 [Mon, 23 Jun 2014 12:50:00 +0000 (14:50 +0200)]
Fix Windows build
sapier [Sun, 22 Jun 2014 21:19:10 +0000 (23:19 +0200)]
Fix race condition on accessing m_time_of_day_speed causing day night race on some architectures
sapier [Mon, 9 Jun 2014 12:25:35 +0000 (14:25 +0200)]
Remove MapVoxelManipulator not really used by anyone
sapier [Mon, 9 Jun 2014 11:29:22 +0000 (13:29 +0200)]
Remove emerge and speedup addArea by using memcopy instead of one by one assignment
sapier [Sun, 8 Jun 2014 12:16:48 +0000 (14:16 +0200)]
Minor fix in check order
sapier [Thu, 12 Jun 2014 20:41:57 +0000 (22:41 +0200)]
Don't keep temporary images in RAM
sapier [Thu, 12 Jun 2014 20:33:50 +0000 (22:33 +0200)]
Avoid doing a full material compare if not even first texture does match
sapier [Sun, 8 Jun 2014 10:49:06 +0000 (12:49 +0200)]
Speedup attachement handling by replacing vector search by direct array access and secondary child lookup vector
sapier [Sat, 7 Jun 2014 00:52:58 +0000 (02:52 +0200)]
Use memset for flag initialization (compiler optimization is way better)
use temp variables instead of recalculating array index
sapier [Fri, 6 Jun 2014 23:52:07 +0000 (01:52 +0200)]
Speedup getTileInfo by up to 30%
sapier [Sun, 8 Jun 2014 15:25:52 +0000 (17:25 +0200)]
Speedup getBlockNodeIdMapping by up to factor 4 by using a fixed size mapping array
sapier [Sun, 22 Jun 2014 12:00:57 +0000 (14:00 +0200)]
Fix menu crash due to lack of favourites list
sapier [Sun, 22 Jun 2014 00:31:24 +0000 (02:31 +0200)]
Fix sqlite3 map shutdown fails due to missing to finalize list statement
Add error output on fail to shutdown sqlite3 map db
Implement shutdown of sqlite3 rollback db
sapier [Sat, 14 Jun 2014 09:22:09 +0000 (11:22 +0200)]
Support for scalable font and gui elements
Fix positioning of tabheader in order to be usable for scaling GUIs
WARNING: this changes position of current tabheaders, mods have to adjust!
sapier [Sat, 21 Jun 2014 22:05:41 +0000 (00:05 +0200)]
Fix uncought deserialization error on receiving data
sapier [Sat, 21 Jun 2014 21:56:46 +0000 (23:56 +0200)]
Fix server assert in case of invalid message from client, just kick that client.
sapier [Fri, 20 Jun 2014 20:35:50 +0000 (22:35 +0200)]
Don't handle lack of IPv6 as fatal in unit tests
RealBadAngel [Fri, 20 Jun 2014 19:30:48 +0000 (21:30 +0200)]
Fix labels and vertlabels on some systems.
sapier [Fri, 20 Jun 2014 17:50:47 +0000 (19:50 +0200)]
Fix small memory leaks on shutdown
Matthew Bekkema [Fri, 20 Jun 2014 07:33:28 +0000 (17:33 +1000)]
Fix build on big endian architectures.