summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/StatSerializer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename files to match codeTiger Wang2021-05-041-214/+0
|
* Add player statistics to API (#5193)nshah252021-05-031-102/+99
| | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Warnings improvementsTiger Wang2020-12-181-14/+2
| | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler
* Adding new monster types to enum and saving/loading for easier future implementation (#4941)12xx122020-11-231-1/+1
| | | | | | | | | | | * added new monster types to enum added string <-> enum conversion in namespace serializer added loading functions added to saving * renamed zombie pigman to zombified piglins in enum Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-99/+108
| | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Use tracing for explosions (#4845)Tiger Wang2020-09-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | * TNT: Implement tracing algorithm + Add intensity tracing * Fix iterating over all players to SendExplosion, even those not in range * Implemented TNT entity interaction * Fixed misaligned destruction tracing * Finalise TNT algorithm - Remove BlockArea and just use chunks Using SetBlock makes it so that we can update everything properly, and does appear to be faster. * BlockInfo learns about explosion attentuation * Rename Explodinator parameters * TNT: pull block destruction into common function Co-authored-by: Alexander Harkness <me@bearbin.net>
* StatSerializer: use std::moveTiger Wang2020-08-211-5/+5
|
* Make StatSerializer a namespaceTiger Wang2020-08-211-71/+75
|
* Add statistics upgrade mappingTiger Wang2020-08-191-11/+118
|
* Add Statistics and Achievements for newer Network standards12xx122020-08-191-76/+36
|
* Update submodules (#4727)peterbell102020-05-091-4/+3
| | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
* Remove old Android leftovers (#4722)Mat2020-05-071-4/+4
|
* Add the fmt library (#4065)peterbell102018-01-031-1/+1
| | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
* Switched player statistic store to save with UUID filenames. (#4002)Lane Kolbly2017-09-071-3/+8
|
* Update Loops required for JsonCPPLukas Pioch2015-10-261-2/+2
|
* Made -Weverything an error.tycho2015-05-241-3/+3
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Fixesandrew2014-05-131-2/+5
|
* Fixed stat serializationandrew2014-05-111-5/+22
|
* Statistic Managerandrew2014-05-111-0/+126