Commit Graph

640 Commits (master)

Author SHA1 Message Date
Nicole Collings 3ed1aad854 Any type. 2020-03-23 22:40:19 -07:00
Nicole Collings 2baf847828 Create PacketView, a more efficient packet handler.
* Include higher level functions in the vector library.
* Optimize more includes.
* Add outlined textures to repo and switch the graphics.
2020-03-15 14:26:39 -07:00
Nicole Collings 0a41147846 Amazing new vector library, safeties on arbitrary fn calls.
* Vectors have a full set of mathematic operations now.
* Vectors are indexed using 1, 2, 3 instead of xyz.
* Now using a Capital V for shorthand constructor.
* More safety on vector operators.
2020-03-06 18:07:22 -08:00
Nicole Collings 7886dc8097 Clean up NoiseSample class & MapGen, allow heightmap and volume noise. 2020-03-05 15:31:32 -08:00
Nicole Collings af9c38abf3 * Add double-press space fly toggle
* Clean GuiComponent interactions
2020-03-04 19:20:44 -08:00
Nicole Collings 24991f4590 Add ability to parent entity rotations, WIP. 2020-03-03 21:45:22 -08:00
Nicole Collings 8bd2e404cd Server-side inventory functionality! **yay** 2020-03-01 14:33:47 -08:00
Nicole Collings 26e770b1bd Refactor and clean GuiComponent 2020-03-01 12:57:53 -08:00
Nicole Collings 5cd56de9d0 Parent implemetation for Server/Local InventoryList shared methods 2020-02-28 19:12:37 -08:00
Nicole Collings 7c0e1cefd7 Client can no longer interact with unloaded inventory lists
* Rename InventoryList to ServerInventoryList
2020-02-28 18:44:01 -08:00
Jordan Snelling 37f20b9978 Fix windows build
Signed-off-by: Nicole Collings <100Toby1@gmail.com>
2020-02-28 18:19:46 -08:00
Nicole Collings 338cae6a1e add readme 2020-02-28 13:04:43 -08:00
Nicole Collings c1dc594d54 SSEs will get deleted when deleted on the server, ortho model shading.
* register_on supports place & break, not after_* yet
* fixed a potential segfault loading an invalid mod
* added @aurailus:item_collection, converted `drop` params to `yields`
2020-02-28 13:03:19 -08:00
Nicole Collings 3093d53ea2 Server-side inventories can be sent to the client for viewing. 2020-02-27 17:23:42 -08:00
Nicole Collings 6b4c866ba7 Fix Codacy issues 2020-02-26 13:42:15 -08:00
Nicole Collings 228e0e4d30 Create server side inventories, callbacks, seperate class & userdatas
* Create LocalInventoryRefs - unfinished
* Create WATCH_INV and UNWATCH_INV packet types
* Add player_join, player_connect, and player_disconnect callbacks
* Begin networked inventory support
2020-02-25 15:14:07 -08:00
Nicole Collings e4de8f2556 Remove colons and at signs from mod folders for windows compat 2020-02-25 15:12:53 -08:00
Nicole Collings cc7163d61b Add clamping support to the ortho shader
* Biome tint leaves, tweak fluff texture to be less dense
2020-02-21 00:07:13 -08:00
Nicole Collings 96e03db1d6 Optimize player update sending 2020-02-20 22:44:16 -08:00
Nicole Collings 391a90d399 Standarize Gui casing 2020-02-20 16:58:36 -08:00
Nicole Collings 707ccb6a51 Refactor GUI Library 2020-02-20 16:31:37 -08:00
Nicole Collings 1f3acbcce6 RIE Keeps vector slack within sane ranges 2020-02-20 11:29:12 -08:00
Nicole Collings a73f5d3030 Made LocalDimension delete distant chunks. Still a mem leak somewhere.
* Cleaned up some imports
* Reorganized some files
2020-02-20 11:23:12 -08:00
Nicole Collings 9c48fb694d Create ClientModHandler, rename Local/ServerDefs to Client/ServerGame 2020-02-19 15:55:48 -08:00
Nicole Collings 3c128c95d6 Add (dis)connect events, add ServerLuaPlayer, create ServerModHandler
* Remove drop callbacks from all blocks
* Create chest inventory background
2020-02-19 15:20:59 -08:00
Nicole Collings 2097d3a954 Remove ServerPlayer, clean up ServerClient 2020-02-17 15:55:39 -08:00
Nicole Collings f27a40abeb Updated CMakeLists 2020-02-17 13:04:19 -08:00
Nicole Collings 7c87b002d2 Generify RIE parsing, implement setBiome 2020-02-14 14:39:39 -08:00
Nicole Collings ee94e691ae BlockChunks now use Run Index Encoding, 80% reduction in mem usage. 2020-02-14 13:04:07 -08:00
Nicole Collings c209b2a372 Fix Low definition Blend Masking, Server deletes far MapBlocks.
* remove* commands in Dimension
* Remove grid from inventory - for testing
2020-02-13 11:36:18 -08:00
Nicole Collings dad2f216fa Implement blend masking, fix block_foliage model hack. 2020-02-12 16:16:10 -08:00
Nicole Collings 32f4a9414c Fix some model errors, add texture atlas debug info. 2020-02-12 14:44:15 -08:00
Nicole Collings 797d9f19a6 Remove hiccups 2020-02-12 14:16:27 -08:00
Nicole Collings f7ea3e6b59 Allow low-def models to be biome tinted 2020-02-12 14:15:27 -08:00
Nicole Collings aee43750f4 Fix a couple mapgen bugs from last commit 2020-02-11 23:19:37 -08:00
Nicole Collings 119b6dfa55 Improve model support, QUINTUPLE map generation speeds. 2020-02-11 19:48:35 -08:00
Nicole Collings 7ba58799e9 Uproot GuiVertex, GuiMesh, GuiEntity, use generic entities.
* Add update method to GUIComponent
* Cursory 'model' GUIType support.
* Fix zeus:default/entity/bee.venus
2020-02-11 16:54:20 -08:00
Nicole Collings 41719bc67d Converted all remaining Zeus mods to venus except base. 2020-02-11 14:33:48 -08:00
Nicole Collings a1b68b0501 Add ErrorFormatter, make VenusParser and ServerLuaParser use it.
* Better error formatting with ErrorFormatter.
* Cleaned up VenusParser, made it use std::runtime_errors
* Server logs mods that have been loaded.
* Make NetHandler force exit if it fails to initialize a server.
2020-02-11 14:27:48 -08:00
Nicole Collings d7aea41234 Add VenusParser class, zepha-venus submodule. 2020-02-10 11:20:42 -08:00
Nicole Collings 17380d83fa Change most of the Lua files into Venus files. 2020-02-09 22:58:10 -08:00
Nicole Collings 2338d5b96c Fix GUI model rendering
* Un-hardcode inventory lists
* Begin implementation of the hotwheel
2020-02-06 22:31:08 -08:00
Nicole Collings 0b60d433e6 Implement Schematic struct, fix MeshChunks disappearing. 2020-02-03 15:30:55 -08:00
Nicole Collings b7641e466c Fix orientation of textures on block models 2020-02-03 12:08:25 -08:00
Nicole Collings 3bbae8a371 TODOFix: clean up some todos 2020-02-02 13:13:10 -08:00
Nicole Collings 99d26ed71f TODOFix: Un-hardcode the flying keybind 2020-02-01 16:09:50 -08:00
Nicole Collings 06bbb0ca5f Remove the tumours left by g++ uints and ushorts, as well as Pointer.h 2020-02-01 15:47:18 -08:00
Nicole Collings fb0fd13d4a Chunk Partials, functional tree generation, happy happy happy 2020-01-30 23:53:47 -08:00
Nicole Collings dbcfe5c822 Tweaked the MapGen class to begin adding half-generated chunks.WIP Trees
* Added turbulence to biome noises, and made their sampling 2D.
* Added bees and ravens to test animation library.
* Added TNT to test large scale world destruction (some work needs to be done).
2020-01-30 20:54:18 -08:00
Nicole Collings 8065520c71 Reimplement local server and add a temporary function to start it from the main menu 2020-01-14 16:46:34 -08:00