Nicole Collings
38b75c212b
Synchronize block interaction callbacks, wieldlists, etc. Breaking broke
2020-07-28 14:11:11 -07:00
Nicole Collings
ad029752ef
Reorganize filesystem.
2020-07-26 19:59:03 -07:00
Nicole Collings
e45baf8901
Remove exit(1)s, fix main menu error handler.
2020-07-26 18:21:33 -07:00
Nicole Collings
ca3f99fdc7
Tweak Game class, rename to Subgame class, refactor more of the lua API.
2020-07-25 20:19:18 -07:00
Nicole Collings
3de0c561e2
Generalize Game class for use with Lua Api Modules
...
In the future, I would like to split item and block defs in two arrays,
and put all definitions inside a `defs` class.
2020-07-25 11:55:48 -07:00
Nicole Collings
d56d6f890a
Update to sol3, vec3 customization, C++ 17 now required.
2020-07-23 18:54:11 -07:00
Nicole Collings
a5e57716ee
Rewrite inventory networking, player networking, tools.
...
+ Made wield and hand lists.
+ Made tool props & block defenses.
+ Crazyblocks mod to test various API features.
2020-07-21 19:33:26 -07:00
Nicole Collings
b3c52031c4
Optimizations, Asynchronous MapGen packets.
2020-07-16 19:38:25 -07:00
Nicole Collings
3c560c8ca2
MapGen rewrite pt. 1 - has DensityBehavior code.
2020-07-15 23:25:39 -07:00
Nicole Collings
4b3a3b36bc
Move src/util/net to src/net, src/server to src/net/server.
2020-07-06 20:00:00 -07:00
Nicole Collings
4ed852255d
Optimize *all* of the imports across *every single file*.. damn.
2020-07-06 18:34:59 -07:00
Nicole Collings
2380c7ea31
Add a mutex to Chunk, safeguard all existing reads/writes.
...
* Clean up more imports.
* Create FileManipulator class.
2020-07-06 14:00:46 -07:00
Nicole Collings
7cdd9bc270
Clean up BlockChunk
2020-06-21 12:52:13 -07:00
Nicole Collings
d38b81705f
Added Vector functionality, remove venus parser, add new blocks.
...
- Add colored lights to default for testing
- Add vector divide function
- Remove Venus Parser
2020-06-20 23:36:13 -07:00
Nicole Collings
0bfe269308
Split lighting functionality and block functionality
2020-05-26 17:16:56 -07:00
Nicole Collings
83dc74004e
Refactor LuaKeybindHandler, Error catching on keybinds and callbacks.
...
* Hotwheel implementation pt 1
2020-05-07 17:21:56 -07:00
Nicole Collings
b9b3db77fd
Fix client-side segfault with uninitialized values.
2020-04-16 22:59:30 -07:00
Nicole Collings
49d9ad73ae
Remove SerialGuiElement, use LuaGuiElement in GuiBuilder
2020-04-13 18:10:39 -07:00
Nicole Collings
afa1b5621d
LocalGuiElement
2020-04-13 16:33:15 -07:00
Nicole Collings
a59e1d2a82
Various shit.
2020-04-06 17:18:57 -07:00
Nicole Collings
4febca7ef8
Lua Defined structures - WIP, New UI Library, move Base from mods~
...
Refactor GUIBuilder and MenuSandbox
Added outlined textures
2020-03-25 18:27:05 -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
af9c38abf3
* Add double-press space fly toggle
...
* Clean GuiComponent interactions
2020-03-04 19:20:44 -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
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
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
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
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
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
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
83f6c78056
Change world to 3d noise, Lua animation control. Rabbit entity w/ ai
2020-01-14 16:04:22 -08:00
Nicole Collings
7c54de84fa
Clean up the Register* functions, make them all one header file
...
* Reorganize src/lua
* Add `environment` table to Biome Definitions
2020-01-10 14:58:46 -08:00
Nicole Collings
732a166dab
Change naming scheme from interp_pos & set_pos to set_pos & snap_pos
2020-01-09 21:04:31 -08:00
Nicole Collings
5d59e013d2
Synchronized Server side entities! Many integer vectors changed to ivecs
2020-01-08 14:42:14 -08:00
Nicole Collings
57770cb34f
Finish Deserializer, remove old serializer, fix numerous std bugs
2020-01-07 16:49:39 -08:00
Nicole Collings
7e06774c21
New Serializer & Deserializer class. All functions use new Serializer
2020-01-07 14:57:44 -08:00
Nicole Collings
ce07aa24b9
Transfer dirty lua entities to client -- no client handling at this time
2020-01-06 00:02:32 -08:00
Nicole Collings
12bfa015fe
Add exceptions to server api methods
2019-12-28 22:42:46 -08:00
Nicole Collings
87eaf4058b
Lua Entities can be registered on server side, don't transfer yet.
2019-12-28 20:40:29 -08:00
Nicole Collings
bce33e9bc5
Inventory can have blocks in it! GuiShader supports 3d models.
...
* Increased contrast in plant_twine.png & plant_fibre.png
2019-12-18 17:12:34 -08:00