Tiger Wang
803c0c6965
Added the _UNICODE flag on Windows
2015-09-26 22:19:29 +01:00
Mattes D
ad57ce5f99
Extended and fixed the cFile API.
2015-09-26 22:54:18 +02:00
Tiger Wang
a8bfe3a4c1
Prepared ScheduleTask for threading refactor
...
* Llama-ified and condensed Schedule/QueueTask
- Removed hackery done with piston animations
2015-09-25 18:56:49 +01:00
Lukas Pioch
e56aa4032d
Maked it compileable for clang-3.7
2015-09-25 17:09:19 +02:00
Mattes D
741dc78547
Lilypads drop when not on source water.
...
Lilypad blocks now break and drop as items when the block below them changes to non-water or non-source water.
Fixes #2404 .
2015-09-25 14:42:32 +02:00
Mattes D
82d9ac1e1c
Namechange to Cuberite
2015-09-25 10:14:17 +02:00
tycho
b4f934b808
fixed cast
2015-09-24 15:54:32 +01:00
tycho
6e86d20f73
Add new "ForEach" function: ForEachLoadedChunk.
2015-09-24 15:54:32 +01:00
electromatter
a24cc01843
Merge branch 'master' into master
2015-09-21 22:44:34 -04:00
tycho
fd7b87741a
Refactored cProtocol Chat handling
2015-09-21 12:32:56 +01:00
tycho
3c5ba56aba
Ignore Sigpipe
2015-09-19 21:37:07 +02:00
tycho
a0519a487a
Fixed wrong assumtion regarding RemoveClient
...
Remove client can be called with a client that is not present in the chunk
2015-09-19 19:34:20 +01:00
tycho
49724cd427
Fixed erase
2015-09-19 00:32:08 +01:00
tycho
dd168b0e8b
Removed a significant performance issue.
...
Iterating through the list of clients in chunks was taking up a significant
amount of time with larger numbers of clients due to processor stalls.
Changing the data structure to a vector fixed the issue.
2015-09-18 16:27:32 +01:00
Mattes D
9871c0b073
Added CircleCI for stylechecking.
...
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
2015-09-17 11:20:10 +02:00
tycho
3187dbf0aa
Increase robustness of the logging subsystem
2015-09-15 16:19:49 +01:00
David Erbelding
d0fd51ea9d
Fixed flint drop rates from 1/30 to 1/10 to match the wiki.
2015-09-13 23:18:21 -04:00
Mattes D
76d2f85b9a
Fixed Lua output folders for Windows builds.
...
Fixes #2468 .
2015-09-08 09:12:02 +02:00
Eric Chai
1ef6bd8169
added bungeecord support for protocol18x
2015-09-06 09:58:18 -04:00
Mattes D
dac97826f7
Renamed output directory to Server
2015-09-05 22:01:21 +02:00
Tiger Wang
511334c500
Fixes #2485
2015-09-02 21:11:25 +01:00
Matti Hanninen
c3d84a24a9
Include signal.h jointly for POSIX systems
...
Otherwise, for example, FreeBSD the build fails due to SIGKILL not being
around.
2015-08-27 08:15:08 +03:00
Tiger Wang
3b8dc45dc3
Merge pull request #2446 from cuberite/asyncpathfinder
...
Fixed a position bug in the pathfinder
2015-08-26 23:13:13 +01:00
Tiger Wang
dfc0f2ae00
Small fix for cEvent
...
Don't bother using atomics since a synchronisation primitive is already
being used.
2015-08-26 23:02:45 +01:00
Mattes D
69a44b2fee
Merge pull request #2450 from nicodinh/patch-1
...
Fixed false-positive error message in cRankManager::SetRankVisuals().
2015-08-25 10:04:25 +02:00
AZARI Nicolas
f0fcd022a6
Update cRankManager::SetRankVisuals
2015-08-25 09:15:54 +02:00
Theo Tosini
92b1a3440d
Fix clang compile error
...
Clang would previously fail on debug builds due to the use of an old-style cast.
2015-08-23 23:11:08 -04:00
Tiger Wang
e254a76884
Removed unused function
...
* Fixes #2444
2015-08-22 19:35:56 +01:00
Tiger Wang
baf3a07804
Fixed a position bug in the pathfinder
2015-08-22 17:06:08 +01:00
Tiger Wang
3e0af6ca36
Cast UINT to WORD to appease warning
...
* Additional minor cleanups
2015-08-22 14:21:25 +01:00
Tiger Wang
f52a769761
Merge pull request #2427 from cuberite/fixes
...
Fixed and improved restarting
2015-08-22 13:07:34 +01:00
Matti Hänninen
12fb95ba2f
Namespace qualify std::abs, use explicit cast
...
Without 'std' namespace qualification Clang (at least Apple Clang 6.1)
seems to resolve 'abs' to the 'abs' function in 'cstdlib'. This in turn
triggers the 'absolute-value' warning which in turn is promoted to
error.
Implicit casts trigger 'old-style-cast' warnings which are promoted to
errors.
2015-08-22 00:36:29 +03:00
Tiger Wang
a341419b04
Merge pull request #2380 from cuberite/travis
...
Use container-based infrastructure
2015-08-20 17:18:08 +01:00
Tiger Wang
de2cce9b79
Fixed food drain bugs
2015-08-20 16:26:42 +01:00
Tiger Wang
5751ba0c1c
Use container-based infrastructure for Travis
2015-08-20 16:15:55 +01:00
Tiger Wang
4315a11393
Fixed and improved restarting
...
Restarts are now an actual, close-as-possible to application
exit+reopen.
2015-08-20 16:15:23 +01:00
Samuel Barney
cc83c4641d
* Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it.
...
* Blocks now have an effect upon plant growth, just like in vanilla.
2015-08-19 10:48:21 -06:00
Julian Laubstein
dd5201c29e
Some warning fixes
2015-08-18 08:49:00 +02:00
Matti Hänninen
b20294604c
Fix old style casts and implicit conversions
2015-08-12 16:51:38 +03:00
Mattes D
92ac33e923
Checked LeakFinder in MSVC2015, enabled support for it.
2015-08-10 13:54:19 +02:00
Mattes D
bfc698f0ed
MSVC: Ignore the deprecation warning in 3rd party StackWalker.
2015-08-09 09:23:12 +02:00
Mattes D
a985949cfe
Flush log file when a warning or error message is output.
...
Fixes #2419 .
2015-08-08 10:40:40 +02:00
Samuel Barney
4996e53bf5
Refactored code to use cLuaState
...
Fixes #2377 .
2015-08-07 21:17:21 +02:00
Nicholas W
fbbf27feea
Fixed Iron Door
2015-08-01 08:47:55 -05:00
Mattes D
6e4122e551
Unified the doxy-comment format.
2015-07-31 16:49:10 +02:00
Mattes D
d2a0c85764
Chunks that fail to load are offloaded to extra files.
...
Ref.: #1970
2015-07-31 08:49:23 +02:00
Mattes D
08aa3f6ff5
Added reason parameter to load failures.
2015-07-31 08:48:23 +02:00
Mattes D
7379848ae5
Moved AString reading hack to cFile.
2015-07-31 08:48:22 +02:00
Samuel Barney
804805d35a
Silenced and fixed many warning messages across multiple files.
2015-07-29 09:49:30 -06:00
Mattes D
5dbe1e7303
Merge pull request #2376 from mjhanninen/fix-freebsd-build
...
Fix FreeBSD build
2015-07-29 15:36:57 +02:00