]> git.lizzy.rs Git - dragonfireclient.git/log
dragonfireclient.git
9 years agoAdd LibGMP
est31 [Sun, 12 Apr 2015 04:18:48 +0000 (06:18 +0200)]
Add LibGMP

Uses system provided libgmp if found, if not it falls back to mini-gmp.

9 years agoReplaced libjpeg dependency on apt-get, it should be libjpeg-dev instead of libjpeg8...
Megaf [Sat, 2 May 2015 21:06:54 +0000 (22:06 +0100)]
Replaced libjpeg dependency on apt-get, it should be libjpeg-dev instead of libjpeg8-dev.

On Debian 8...
```
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libjpeg62-turbo-dev
```
Using libjpeg-dev should make the OS select the most appropriate lib to be installed.
These are the packages available on Debian 8.
```
libjpeg-dev - Development files for the JPEG library [dummy package]
libjpeg-turbo-progs - Programs for manipulating JPEG files
libjpeg-turbo-progs-dbg - Programs for manipulating JPEG files (debugging symbols)
libjpeg62-turbo - libjpeg-turbo JPEG runtime library
libjpeg62-turbo-dbg - Debugging symbols for the libjpeg-turbo JPEG library
libjpeg62-turbo-dev - Development files for the libjpeg-turbo JPEG library
libturbojpeg1 - TurboJPEG runtime library - SIMD optimized
libturbojpeg1-dbg - TurboJPEG runtime library - SIMD optimized (debugging symbols)
libturbojpeg1-dev - Development files for the TurboJPEG library

```
This seems to work on all current Debian versions, Wheezy, Jessie and Sid.
https://packages.debian.org/wheezy/libjpeg-dev
https://packages.debian.org/jessie/libjpeg-dev
https://packages.debian.org/stretch/libjpeg-dev

Im not sure if Ubuntu has this dummy package.

http://packages.ubuntu.com/search?keywords=libjpeg-dev

Perhaps this should be further discussed.

libjpeg8-dev -> libjpeg-dev

9 years agoChange lower limit of display_gamma to 1.0 (linear light)
Craig Robbins [Sun, 10 May 2015 16:03:09 +0000 (02:03 +1000)]
Change lower limit of display_gamma to 1.0 (linear light)

Now matches function comment

9 years agoSchematics: Add per-node force placement option
kwolekr [Sat, 9 May 2015 05:38:20 +0000 (01:38 -0400)]
Schematics: Add per-node force placement option

9 years agoFix typo in WieldMesh::setItem()
kwolekr [Sat, 9 May 2015 03:30:56 +0000 (23:30 -0400)]
Fix typo in WieldMesh::setItem()

9 years agoEnsure that Map::findNodesWithMetadata() reports nodes strictly within the node-granu...
kwolekr [Fri, 8 May 2015 17:31:03 +0000 (13:31 -0400)]
Ensure that Map::findNodesWithMetadata() reports nodes strictly within the node-granular area

9 years agoReplace Wieldmesh::setItem assertion that could be triggered by the server with an...
kwolekr [Fri, 8 May 2015 17:26:01 +0000 (13:26 -0400)]
Replace Wieldmesh::setItem assertion that could be triggered by the server with an error

9 years agoFix release build warning
est31 [Fri, 8 May 2015 05:23:06 +0000 (07:23 +0200)]
Fix release build warning

9 years agoFix compilation for non-client builds, and fix signed comparison warning
kwolekr [Fri, 8 May 2015 05:21:23 +0000 (01:21 -0400)]
Fix compilation for non-client builds, and fix signed comparison warning

9 years agoTests: Add schematic unittests
kwolekr [Fri, 8 May 2015 04:05:08 +0000 (00:05 -0400)]
Tests: Add schematic unittests

Improve schematic file-saving interface
Add ability to create temporary test files

9 years agoGracefully handle PacketErrors
est31 [Fri, 8 May 2015 04:51:03 +0000 (06:51 +0200)]
Gracefully handle PacketErrors

9 years agoFix missing Y component assignment in check_v3f
kwolekr [Fri, 8 May 2015 04:03:41 +0000 (00:03 -0400)]
Fix missing Y component assignment in check_v3f

9 years agoConf.example: Update recommended maximum cloud radius to 26
paramat [Thu, 7 May 2015 23:53:12 +0000 (00:53 +0100)]
Conf.example: Update recommended maximum cloud radius to 26

9 years agoRemove duplicate lua_getfield() in c_converter.cpp
Kevin Ott [Thu, 7 May 2015 06:50:22 +0000 (02:50 -0400)]
Remove duplicate lua_getfield() in c_converter.cpp

Fixes #2678

9 years agoSchematics: Add indent-with-space option for schematic Lua table serialization
kwolekr [Thu, 7 May 2015 06:54:30 +0000 (02:54 -0400)]
Schematics: Add indent-with-space option for schematic Lua table serialization

9 years agoNodeResolver: Remove NodeResolveMethod
kwolekr [Thu, 7 May 2015 06:34:15 +0000 (02:34 -0400)]
NodeResolver: Remove NodeResolveMethod

This simplifies NodeResolver logic and makes some interfaces cleaner.

9 years agoFix connection speed unit names
ShadowNinja [Wed, 6 May 2015 19:41:37 +0000 (15:41 -0400)]
Fix connection speed unit names

9 years agoFix error messages for type-checking Lua reading functions
ShadowNinja [Wed, 6 May 2015 19:33:36 +0000 (15:33 -0400)]
Fix error messages for type-checking Lua reading functions

9 years agoImprove Redis error messages
ShadowNinja [Wed, 6 May 2015 19:04:14 +0000 (15:04 -0400)]
Improve Redis error messages

9 years agoFix build on Debian broken by b45df9d (missing include, somehow?)
kwolekr [Wed, 6 May 2015 00:40:18 +0000 (20:40 -0400)]
Fix build on Debian broken by b45df9d (missing include, somehow?)

9 years agoNodeDefManager: Improve const-correctness of interfaces
kwolekr [Tue, 5 May 2015 20:52:06 +0000 (16:52 -0400)]
NodeDefManager: Improve const-correctness of interfaces

- Add ability to explicitly reset NodeResolve state (useful for unittesting)
- Remove non-essential NodeResolve methods modifying state from INodeDefManager
- Add const qualifier to NodeDefManager and ContentFeatures serialize

9 years agoAdd core.find_nodes_with_meta() script API
kwolekr [Tue, 5 May 2015 18:30:46 +0000 (14:30 -0400)]
Add core.find_nodes_with_meta() script API

9 years agoTests: Add NodeResolver unittests
kwolekr [Tue, 5 May 2015 15:36:40 +0000 (11:36 -0400)]
Tests: Add NodeResolver unittests

Minor misc. NodeResolver cleanups
Prefix faux content type constants for testing with t_ to avoid
confusion or name collisions

9 years agoMake Git version detection use VERSION_STRING instead of tags
ShadowNinja [Mon, 4 May 2015 22:46:49 +0000 (18:46 -0400)]
Make Git version detection use VERSION_STRING instead of tags

This fixes the problem where 0.4.12-dev versions were erroneously shown as
0.4.11-dev because the tag was added on a separate branch.  It also fixes a
similar issue when builders didn't fetch new tags when updating.

This also removes the number-of-commits-since-tag field, since it's
incompatible with this.  Said field doesn't seem to be useful anyway if you
have the commit hash.

9 years agoFix GCC compiler warning
ShadowNinja [Mon, 4 May 2015 23:59:36 +0000 (19:59 -0400)]
Fix GCC compiler warning

9 years agoStop NetworkPacket methods from producing bloated packets
Jay Arndt [Mon, 4 May 2015 09:53:41 +0000 (04:53 -0500)]
Stop NetworkPacket methods from producing bloated packets

9 years agoUpdate Turkish Language
Mahmut Elmas [Sun, 22 Mar 2015 22:20:05 +0000 (00:20 +0200)]
Update Turkish Language

Added some new translations
Fixed some overlenght lines

9 years agoCache enable_3d_clouds flag
est31 [Mon, 4 May 2015 20:50:04 +0000 (22:50 +0200)]
Cache enable_3d_clouds flag

Small improvement on clouds rendering performance

9 years agoClouds: Make cloud area radius settable in .conf
paramat [Mon, 4 May 2015 17:53:58 +0000 (18:53 +0100)]
Clouds: Make cloud area radius settable in .conf

9 years agoAdd a check for animation when getting an extruded mesh
Kevin Ott [Mon, 4 May 2015 02:32:29 +0000 (22:32 -0400)]
Add a check for animation when getting an extruded mesh

Fixes issue #2667

9 years agoFix pathfinder to produce more useful paths
obneq [Sat, 25 Apr 2015 13:16:44 +0000 (15:16 +0200)]
Fix pathfinder to produce more useful paths

- Fix unintended negation of condition
- Remove line_of_sight 'optimization'

9 years agoTests: Add ObjDef unittests
kwolekr [Mon, 4 May 2015 02:19:15 +0000 (22:19 -0400)]
Tests: Add ObjDef unittests

9 years agoObjDefManager: Set replacement object's handle info after calling set()
kwolekr [Mon, 4 May 2015 02:05:24 +0000 (22:05 -0400)]
ObjDefManager: Set replacement object's handle info after calling set()

Make gamedef optional when constructing an ObjDefManager
Add note about object ownership

9 years agoBetter version detection for shallow clones
est31 [Fri, 1 May 2015 09:48:59 +0000 (11:48 +0200)]
Better version detection for shallow clones

9 years agoRotateAlongYAxis: For facedir case, return if param2 >= 4
paramat [Sun, 3 May 2015 01:44:58 +0000 (02:44 +0100)]
RotateAlongYAxis: For facedir case, return if param2 >= 4

9 years agoAdd .patch files to gitignore
est31 [Fri, 1 May 2015 05:42:08 +0000 (07:42 +0200)]
Add .patch files to gitignore

9 years agoFix several MSVC issues numeric.h
SmallJoker [Wed, 29 Apr 2015 17:28:25 +0000 (19:28 +0200)]
Fix several MSVC issues numeric.h

-> Round negative numbers correctly CMakeLists.txt
-> Link Json with the static run-time library

9 years agoFix MSVC compatibility
kwolekr [Wed, 29 Apr 2015 17:20:01 +0000 (13:20 -0400)]
Fix MSVC compatibility

Make sure to include random unittests in android builds, too
Use SWAP() macro
Ensure that negative ranges are tested as well in random unittests

9 years agoTests: Add random unittests
kwolekr [Wed, 29 Apr 2015 08:07:24 +0000 (04:07 -0400)]
Tests: Add random unittests

9 years agoAdd Russian comment translation to minetest.desktop
mich1 [Fri, 17 Apr 2015 12:57:06 +0000 (15:57 +0300)]
Add Russian comment translation to minetest.desktop

9 years agoRevert the upper-case PROJECT_NAME nonsense that was part of #2402
sfan5 [Mon, 27 Apr 2015 14:17:10 +0000 (16:17 +0200)]
Revert the upper-case PROJECT_NAME nonsense that was part of #2402

9 years agoRevert "Only lowercase project name at compile time"
sfan5 [Sun, 26 Apr 2015 20:24:48 +0000 (22:24 +0200)]
Revert "Only lowercase project name at compile time"

This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.

9 years agoNoise: Fix PcgRandom::randNormalDist() when range contains negative numbers
kwolekr [Mon, 27 Apr 2015 08:05:25 +0000 (04:05 -0400)]
Noise: Fix PcgRandom::randNormalDist() when range contains negative numbers

This fixes an issue with erroneous float-to-int rounding that resulted in
truncation toward 0, causing a biased distribution.

9 years agoReplace PRNG assertions with PrngException
kwolekr [Mon, 27 Apr 2015 05:24:37 +0000 (01:24 -0400)]
Replace PRNG assertions with PrngException

9 years agoFix minetest.clear_* creating new LOCAL table instead of clearing the existing one.
Tomas Brod [Thu, 16 Apr 2015 22:38:28 +0000 (00:38 +0200)]
Fix minetest.clear_* creating new LOCAL table instead of clearing the existing one.

On calling clear_redistered_biomes the registered_biomes table is cleared
by creating a new empty table, but the pointer is not updated to point to
the new one. So after calling more register_biome, the registered_biome
table always contains 0 items, which is an error. Instead, the table is
cleared by removing all its items so the pointer (minetest.registered_*)
remains valid.

9 years agoUpdate .gitignore
kwolekr [Sun, 26 Apr 2015 19:40:19 +0000 (15:40 -0400)]
Update .gitignore

9 years agoRemove craftdef serialisation
est31 [Tue, 21 Apr 2015 20:24:45 +0000 (22:24 +0200)]
Remove craftdef serialisation

It isn't needed anymore, sending ICraftDefManager over the network has been obsoleted
by protocol version 7.

9 years agoCraftdef refactor
est31 [Tue, 21 Apr 2015 20:24:23 +0000 (22:24 +0200)]
Craftdef refactor

Fix style, refactor assert, use '"' instead of "\"",
replace code duplicating craftGetItemName, rename iterators.

9 years agoTests: Modularize unit testing
kwolekr [Sun, 26 Apr 2015 05:24:19 +0000 (01:24 -0400)]
Tests: Modularize unit testing

Split unit tests into separate files under src/unittest/
Give better unittest diagnostics
Clean up some code

9 years agoUpdate chinese translation
fishyWET [Sat, 18 Apr 2015 18:03:03 +0000 (02:03 +0800)]
Update chinese translation

fixed some mistakes and added in some new translations

9 years agoFix fast leaves with texture_clean_transparent enabled.
Aaron Suen [Wed, 1 Apr 2015 12:26:57 +0000 (08:26 -0400)]
Fix fast leaves with texture_clean_transparent enabled.

9 years agoFix player pitch and yaw not being set properly
Kevin Ott [Sat, 25 Apr 2015 06:18:26 +0000 (02:18 -0400)]
Fix player pitch and yaw not being set properly

9 years agoRemove fly mode in simple main menu
Muhammad Rifqi Priyo Susanto [Sat, 25 Apr 2015 03:11:12 +0000 (10:11 +0700)]
Remove fly mode in simple main menu

As the fly mode option is avaiable in-game, this is not used anymore.

9 years agoGerman translation: shorter setting name
est31 [Fri, 24 Apr 2015 18:25:33 +0000 (20:25 +0200)]
German translation: shorter setting name

9 years agoRemove unused variable Client::m_active_blocks
nerzhul [Fri, 24 Apr 2015 13:33:47 +0000 (15:33 +0200)]
Remove unused variable Client::m_active_blocks

9 years agoDecoSchematic: Fix missing trees in rough terrain
paramat [Tue, 21 Apr 2015 11:09:32 +0000 (12:09 +0100)]
DecoSchematic: Fix missing trees in rough terrain

Move place_on check to before place_center_x/y/z displacement of p
Reduce displacement of p by place_center_x/y/z flags
to correctly position schematics

9 years agoProtocol 25: wstring -> string for custom access denial reasons
est31 [Wed, 22 Apr 2015 12:10:39 +0000 (14:10 +0200)]
Protocol 25: wstring -> string for custom access denial reasons

Also fix std::logic_error when server::DenyAccess() is used with only two arguments.

9 years agoRe-apply 972d17baea81ffe6d508b291ef97207a4822e1da...
nerzhul [Wed, 22 Apr 2015 09:47:22 +0000 (11:47 +0200)]
Re-apply 972d17baea81ffe6d508b291ef97207a4822e1da...
but not rename the container. Approved-By est31

9 years agoFix crash on startup (Windows)
SmallJoker [Tue, 21 Apr 2015 17:54:14 +0000 (19:54 +0200)]
Fix crash on startup (Windows)

9 years agoOnly lowercase project name at compile time
ShadowNinja [Tue, 21 Apr 2015 15:09:44 +0000 (11:09 -0400)]
Only lowercase project name at compile time

9 years agoRevert "m_active_object_messages is used like a queue. Use std::queue instead of...
kwolekr [Tue, 21 Apr 2015 22:12:01 +0000 (18:12 -0400)]
Revert "m_active_object_messages is used like a queue. Use std::queue instead of std::list. Also rename to m_active_object_messages_queue"

This reverts commit 972d17baea81ffe6d508b291ef97207a4822e1da.
The commit being reverted was unauthorized.  There had been no discussion,
review, or sign-off prior to submittal to upstream.

9 years agom_active_object_messages is used like a queue. Use std::queue instead of std::list...
Loic Blot [Tue, 21 Apr 2015 21:26:34 +0000 (23:26 +0200)]
m_active_object_messages is used like a queue. Use std::queue instead of std::list. Also rename to m_active_object_messages_queue

9 years agoAdd minetest.global_exists()
ShadowNinja [Fri, 21 Nov 2014 16:32:01 +0000 (11:32 -0500)]
Add minetest.global_exists()

9 years agoNoise: Add noise unittests
kwolekr [Tue, 21 Apr 2015 16:59:09 +0000 (12:59 -0400)]
Noise: Add noise unittests

Fix buffer size calculation for lacunarity < 1.0
Add guard against absurd noise parameters

9 years agoFix sign-compare compiler warnings in mg_ore.cpp
ShadowNinja [Tue, 21 Apr 2015 02:56:29 +0000 (22:56 -0400)]
Fix sign-compare compiler warnings in mg_ore.cpp

9 years agoFix mod store rating
ShadowNinja [Fri, 19 Sep 2014 19:41:28 +0000 (15:41 -0400)]
Fix mod store rating

9 years agoOre: Add biomes parameter
kwolekr [Tue, 21 Apr 2015 00:25:33 +0000 (20:25 -0400)]
Ore: Add biomes parameter

9 years agoFix build on OS X (Thanks neoascetic)
kwolekr [Mon, 20 Apr 2015 05:35:41 +0000 (01:35 -0400)]
Fix build on OS X (Thanks neoascetic)

9 years agoAdd 'persistence' alias for Lua noiseparams and validate more vector parameters
kwolekr [Mon, 20 Apr 2015 01:42:40 +0000 (21:42 -0400)]
Add 'persistence' alias for Lua noiseparams and validate more vector parameters

9 years agoNoise: Correct noise objects created with invalid dimensions
kwolekr [Mon, 20 Apr 2015 01:39:10 +0000 (21:39 -0400)]
Noise: Correct noise objects created with invalid dimensions

9 years agoPorting: Refactor initalizePaths()
kwolekr [Sun, 19 Apr 2015 00:12:14 +0000 (20:12 -0400)]
Porting: Refactor initalizePaths()

Add support for Solaris and HP-UX
Search additional potential procfs locations for current executable

9 years agoDisable connection timeout for singleplayer and server tabs
est31 [Sun, 19 Apr 2015 17:49:31 +0000 (19:49 +0200)]
Disable connection timeout for singleplayer and server tabs

In worlds with many mods we can easily reach timeout, waiting for the server to start.

9 years agoBiome API: Add biome-specific river water
paramat [Sun, 19 Apr 2015 02:37:55 +0000 (03:37 +0100)]
Biome API: Add biome-specific river water

9 years agofix infinite spawners
obneq [Sun, 5 Apr 2015 20:02:01 +0000 (22:02 +0200)]
fix infinite spawners

9 years agoSchematics: Fix core.schematic_create()
kwolekr [Fri, 17 Apr 2015 22:39:18 +0000 (18:39 -0400)]
Schematics: Fix core.schematic_create()

9 years ago10s timeout when connecting to server
SmallJoker [Thu, 9 Apr 2015 17:59:32 +0000 (19:59 +0200)]
10s timeout when connecting to server

9 years agoFix build since: "Remove referenced schematics from Decorations on clear"
est31 [Fri, 17 Apr 2015 08:30:59 +0000 (10:30 +0200)]
Fix build since: "Remove referenced schematics from Decorations on clear"

Fixes build, which has been broken for all platforms (except BSD?) since
grandparent 406d9ba87b9f6e57b86c6282bf157e3341aa195c.
Thanks to @SmallJoker for pointing out a solution.

9 years agoSwitch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safety
kwolekr [Fri, 17 Apr 2015 05:03:13 +0000 (01:03 -0400)]
Switch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safety

9 years agoSchematics: Remove referenced schematics from Decorations on clear
kwolekr [Fri, 17 Apr 2015 04:52:48 +0000 (00:52 -0400)]
Schematics: Remove referenced schematics from Decorations on clear

9 years agoRefactor around translatePassword
est31 [Fri, 17 Apr 2015 04:10:30 +0000 (06:10 +0200)]
Refactor around translatePassword

Change types for passed password from wstring to string, which removes converting
back and forth in most cases. Move the narrow_to_wide conversion, where its neccessary,
closer to irrlicht. Remove trailing spaces in guiPasswordChange.cpp. Make parameters for
translatePassword passed as const reference.

9 years agoBiomes: Remove referenced biomes from Decorations on clear
kwolekr [Fri, 17 Apr 2015 03:37:50 +0000 (23:37 -0400)]
Biomes: Remove referenced biomes from Decorations on clear

9 years agoFix path detection with --std= parameter
est31 [Fri, 17 Apr 2015 03:05:52 +0000 (05:05 +0200)]
Fix path detection with --std= parameter

Fixes path detection when compilers have been told to follow a standard, e.g. with -DCMAKE_CXX_FLAGS=--std=c++98.
To see the passed defines, try this with and without the --std parameter:
gcc -E -dM --std=c99 - < /dev/null | grep linux

9 years agoFix build for < C++11 since last commit
est31 [Fri, 17 Apr 2015 00:29:50 +0000 (02:29 +0200)]
Fix build for < C++11 since last commit

Build broke since last commit 479f38973e13680d6a39d9c2a7f29fd330b67d41 for compilers not supporting C++11.
Pre C++11, the constructor of std::ifstream only allows C like strings.

9 years agoSchematics: Refactor NodeResolver and add NodeResolveMethod
kwolekr [Thu, 16 Apr 2015 08:12:26 +0000 (04:12 -0400)]
Schematics: Refactor NodeResolver and add NodeResolveMethod

NodeResolver name lists now belong to the NodeResolver object instead of
the associated NodeDefManager.  In addition to minimizing unnecessary
abstraction and overhead, this move permits NodeResolvers to look up nodes
that they had previously set pending for resolution.  So far, this
functionality has been used in the case of schematics for
serialization/deserialization.

9 years agoUse std::vector instead of std::set for Environment::getObjectsInsideRadius
Loic Blot [Thu, 16 Apr 2015 12:11:46 +0000 (14:11 +0200)]
Use std::vector instead of std::set for Environment::getObjectsInsideRadius
We are only iterating sequentially, we don't need a set here
Also use a vector reference instead of a copy

9 years agoMgv5: Fix above/below ground spawn when water level is altered
paramat [Thu, 16 Apr 2015 05:16:54 +0000 (06:16 +0100)]
Mgv5: Fix above/below ground spawn when water level is altered

9 years agoMgv5/v7: Add check for water for deciding biome node stability
paramat [Thu, 16 Apr 2015 02:45:42 +0000 (03:45 +0100)]
Mgv5/v7: Add check for water for deciding biome node stability

9 years agoDefaultsettings: Add dungeons and jungles flags. Update conf.example
paramat [Mon, 13 Apr 2015 21:48:03 +0000 (22:48 +0100)]
Defaultsettings: Add dungeons and jungles flags. Update conf.example

9 years agoSchematics: Reorganize (de)serialization and add Lua serialization API
kwolekr [Sun, 12 Apr 2015 20:40:50 +0000 (16:40 -0400)]
Schematics: Reorganize (de)serialization and add Lua serialization API

9 years agoConf.example: Update, fix and improve mapgen flags docs
paramat [Mon, 13 Apr 2015 03:14:06 +0000 (04:14 +0100)]
Conf.example: Update, fix and improve mapgen flags docs

Remove dynamic weather year parameter

9 years agoAdd Spanish comment translation to minetest.desktop
ngosang [Thu, 26 Mar 2015 19:08:46 +0000 (20:08 +0100)]
Add Spanish comment translation to minetest.desktop

9 years agoMgv6: Fix taiga, allow pine tree spawning on snowblocks
paramat [Sun, 12 Apr 2015 04:11:16 +0000 (05:11 +0100)]
Mgv6: Fix taiga, allow pine tree spawning on snowblocks

9 years agoMgv6: Add optional snow biomes
paramat [Thu, 2 Apr 2015 23:56:29 +0000 (00:56 +0100)]
Mgv6: Add optional snow biomes

9 years agoFix a rare crash case un SendPlayerHP
Ner'zhul [Sat, 11 Apr 2015 08:07:23 +0000 (10:07 +0200)]
Fix a rare crash case un SendPlayerHP

If the player is disconnected while Lua API is doing a l_punch call, for example, the playersao is NULL and the server crash. Fix it.

9 years agoDocument for api functions that rely on current_modname, that it doesn't work when...
est31 [Wed, 8 Apr 2015 20:44:37 +0000 (22:44 +0200)]
Document for api functions that rely on current_modname, that it doesn't work when not loading mods

9 years agoLink against shlwapi.lib and unify linker input sources for Windows
kwolekr [Wed, 8 Apr 2015 16:55:06 +0000 (12:55 -0400)]
Link against shlwapi.lib and unify linker input sources for Windows

9 years agoFix freetype detection
Dmitry Marakasov [Wed, 8 Apr 2015 04:32:09 +0000 (00:32 -0400)]
Fix freetype detection

Don't reinvent freetype detection, use working one from cmake.

9 years agoSchematics: Prepend mod path to relative schematic filepaths
kwolekr [Wed, 8 Apr 2015 03:04:48 +0000 (23:04 -0400)]
Schematics: Prepend mod path to relative schematic filepaths

9 years agoTOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable message
Loic Blot [Tue, 7 Apr 2015 12:28:36 +0000 (14:28 +0200)]
TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable message

9 years agoFix missing SQLite3 statement pointer initialization
ShadowNinja [Tue, 7 Apr 2015 04:29:29 +0000 (00:29 -0400)]
Fix missing SQLite3 statement pointer initialization

This fixes a segfault when the database is shut down
before it finishes connecting and setting up.