Commit Graph
47 Commits
Author SHA1 Message Date
Tiger Wang 4f85931c42 Address comments 2020-07-12 22:00:07 +01:00
Tiger Wang 2c0fc395ba Funktions 2020-07-12 22:00:07 +01:00
Tiger Wang 6317176d7e More CMake cleanup 2020-07-12 22:00:07 +01:00
Tiger Wang 3f33b0736e Comment capitalisation 2020-07-06 20:56:05 +01:00
Tiger Wang a24dd3a2ab Use enum to represent light states 2020-07-06 20:56:05 +01:00
Tiger Wang f49f90906c Reduced packet spam when entities idle
* Try not to send look packets when nothing's changed.
2020-07-06 20:56:05 +01:00
Tiger Wang e205d4109b Made grass spreader prettier 2020-07-06 20:56:05 +01:00
Tiger Wang 8b0b800008 Configurable LTO (#4755) 2020-05-31 20:26:50 +01:00
Tiger Wang 78f72bbfc4 Resolve IPO flags mismatch 2020-05-31 13:05:19 +01:00
Tiger Wang 9e8598fb1c Upgrade to C++17 [CMake] (#4717)
* Make our CMake slightly less insane
2020-05-16 20:59:10 +01:00
Tiger WangandPeter Bell 804c3ba6e9 Upgrade to C++17 [CI] (#4716)
* Update CI

* Reduce one build to minimum cmake version

* Update compile instructions with new minimum versions

* Update more guides

* Run debug build with VS 2017

Co-authored-by: Peter Bell <peterbell10@live.co.uk>
2020-05-09 13:56:39 +00:00
Tiger Wang a9e06d33c5 Add some comments about terracing 2020-05-08 10:52:35 +01:00
Tiger Wang 6ac11925f1 Update RedstoneWireHandler style 2020-05-08 10:52:35 +01:00
Tiger Wang 24833f7386 Add two missing include guards 2020-05-04 13:58:43 +01:00
Tiger Wang eb3ca16921 Fix one definition rule violations 2020-05-04 13:29:56 +01:00
Tiger Wang 9b68fab8ed Fix incorrect formatter invocation 2020-05-04 12:19:12 +01:00
Tiger Wang 07ca095740 Improve entity position updates (#4701)
* Make puking pickups fly nicer

* Improve entity position updates

* Move determination of whether a delta is too big for a packet into the protocol handlers
+ Less jittery movement
+ Generalise CollectEntity to take any entity
2020-05-04 08:10:47 +00:00
Tiger Wang 0b9b7bc1a8 Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
Tiger Wang afd377a941 Unify 1.8 and 1.9
- Deleted ridiculous amount of duplicated code
2020-04-22 17:26:31 +01:00
Tiger Wang 246acb19f9 Delet SpawnObject params
* Fix #4679

awkward...
2020-04-19 23:29:52 +01:00
Tiger Wang 61aff2af12 Correct world access in NetherPortalScanner 2020-04-19 21:43:14 +01:00
Tiger Wang 9d124e6b0a More arrow patches
* Further reduce instances of appearing black
* Fix packet send and get arrows to more reliably lodge in blocks clientside
* Fix hit detection failing at chunk boundaries
+ Use delegating constructors
2020-04-19 20:08:24 +01:00
Tiger Wang 2976cec4c0 Reduce arrows going black on hit 2020-04-18 20:06:35 +00:00
Tiger Wang 50893667db MoveToWorld must always be provided a world 2020-04-18 19:51:30 +01:00
Tiger Wang e98f93a079 Only store IDs across ticks 2020-04-18 19:51:30 +01:00
Tiger Wang 63adc6d7dc Add API documentation for repeater metadata constants 2020-04-18 16:51:29 +01:00
Tiger Wang c1ea5f982d Re-implement repeater locking 2020-04-18 16:51:29 +01:00
Tiger Wang ede56a5750 ಠ_ಠ (#4660)
+ Provisional handling for observers
2020-04-16 22:27:04 +01:00
Tiger Wang 77731f80fb Initial support for 1.13 clients
+ Can look at *shape* of world
+ Can look at *shape* of inventory
2019-09-16 15:37:54 +02:00
Tiger Wang b8ab03bc6b At long last... Piston animations!
* Fixes #3198
* Fixes #57 (again lol)
2018-07-25 15:29:53 +01:00
Tiger Wang 74f5160332 Reimplemented fall particles
Regression when 1.9.x support introduced in #3135, originally implemented in #461.
2018-07-25 15:29:26 +01:00
Tiger Wang da0778dfaa Merge pull request #3969 from peterbell10/cuboid
cCuboid: restore default copy construct and assign
2017-08-30 15:04:09 +01:00
Tiger Wang 0e10464ac5 Merge pull request #3921 from lkolbly/removeAssert
- Removed incorrect assert in SendRespawn
2017-08-18 11:36:01 +01:00
Tiger Wang e7a5e29522 Merge pull request #3918 from peterbell10/GetBlockEntity
cChunk: Don't assume GetBlockEntity coords are valid
2017-08-18 11:33:46 +01:00
Tiger Wang 72d7027861 Merge pull request #3489 from cuberite/EntityOwnership
* Changed entity ownership model to use smart pointers
2017-08-18 11:17:56 +01:00
Tiger Wang fdd4b6e7c4 Merge pull request #3897 from peterbell10/PlaceSound
cBlockInfo: Remove/deprecate place sound
2017-08-13 12:37:37 +01:00
Tiger Wang eb4432bb62 Tentative fix for player-limit race condition (#3862)
* Attempts to fix #2257

Derived from d233e9843148313c71fbaba96ccff660e47b07b1

* Changed player count type to int

* Clarified certain actions
2017-07-28 17:54:40 +01:00
Tiger Wang 51c6606fd4 Merge pull request #3866 from lkolbly/mergeBlockEntitiesFix
Fixed check to see if block entity is in merge source.
2017-07-22 13:33:02 +01:00
Tiger Wang 38368f361d Simplified cChunkMap chunk storage (#2565) 2016-08-03 00:56:53 +02:00
Tiger Wang d46f7ce2c8 Redstone fixes (#3285)
* Comparators and pistons no longer update instantly
* Fixes #3168.
* Consolidated comparator code
* As a result, fixed an issue where GetPowerLevel didn't consider block
entities behind it (only GetFrontPowerLevel did)
2016-07-31 21:54:35 +01:00
Tiger Wang 8107d5c3ac Merge pull request #3289 from cuberite/autocompletefix2
Fix the error in #3270
2016-07-29 20:40:24 +01:00
Tiger Wang 47831ee933 Merge pull request #3226 from cuberite/redstone
Redstone fixes
2016-07-28 23:39:13 +01:00
Tiger Wang 4909e271fa Merge pull request #3035 from marvinkopf/hotfix-parentchunk
Hotfix: Add check if entity is in chunk before changing tick status
2016-02-21 00:32:38 +00:00
Tiger Wang 3c272b55ea Merge pull request #2985 from marvinkopf/poweredrail
Update RedstoneSimulator to delete unused cached PowerData
2016-02-09 22:02:50 +00:00
Tiger Wang f76a964f65 Merge pull request #2981 from Drahoslav7/master
Fix Pickups of BlockFlower
2016-02-07 14:27:34 +00:00
Tiger Wang b8752bb26e Merge pull request #2542 from Haxi52/pinkstone
Reorganised the redstone simulator
2015-12-19 21:20:56 +00:00
Tiger Wang 9de3a3f938 Examined a fix for #2588 2015-11-02 22:07:48 +00:00