Commit Graph

46 Commits (38b75c212b140f23cff8b5f4ff2ad73e3315a922)

Author SHA1 Message Date
Nicole Collings 38b75c212b Synchronize block interaction callbacks, wieldlists, etc. Breaking broke 2020-07-28 14:11:11 -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 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 4ed852255d Optimize *all* of the imports across *every single file*.. damn. 2020-07-06 18:34:59 -07:00
Nicole Collings 7cdd9bc270 Clean up BlockChunk 2020-06-21 12:52:13 -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 3093d53ea2 Server-side inventories can be sent to the client for viewing. 2020-02-27 17:23:42 -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 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 87eaf4058b Lua Entities can be registered on server side, don't transfer yet. 2019-12-28 20:40:29 -08:00
Nicole Collings 21b91a7249 I didn't use pointers for copying 128 1000+ char strings / frame. HELP
* Fixed like 90% of the generation lag in like 10 lines of code.
2019-11-23 13:42:46 -08:00
Nicole Collings 49da2ad701 Organized and Optimized TransPos, renamed to Space
- Clean up VecUtils
2019-11-22 00:59:55 -08:00
Nicole Collings af8fb9c5a3 Biome tinting, client side biome data 2019-11-18 23:03:51 -08:00
Jordan Snelling 6c06d0ba8d Fix Windows x64 builds 2019-10-31 01:14:17 +00:00
Nicole Collings d134eb089f Optimize GUIText setText method. Reserve and don't temp construct. 2019-10-29 20:36:46 -07:00
Nicole Collings 098e5ff86d Make PlayerEntities use the Player model. 2019-10-19 14:03:07 -07:00
Nicole Collings c576e0c58f Move Lua Entities to Dimension, add remove_entity command. 2019-10-11 01:10:18 -07:00
Nicole Collings e57f99b9c4 Register Entity & Add Entity API Functions.
- LuaEntity Usertype
- Entities with dynamic models
- Lua functionality for setting ItemDef models (Blocks and Items)
- Move interp functions to int_, make set_ immediate.
- Tweak SSAO Shader
2019-10-05 00:53:37 -07:00
Nicole Collings 7d57b7d487 Seperate Dimension into ClientDimension and ServerDimension
- Experiment with lowdef rendering
- BlockModel::createCube function
- Tweak the number of threads the helper processes get
- Fix DebugGui Mesh Updates
- Optimize BlockChunk class
- Moved Mesh Generation code to LocalDimension
2019-10-01 16:33:04 -07:00
Nicole Collings 0d1cdfb724 Move Rendering the world to Dimension 2019-09-29 23:17:34 -07:00
Nicole Collings 2ad700b63d Dimension class work 2019-09-29 22:17:05 -07:00
Nicole Collings 3946d50f73 Temp 2019-09-29 22:13:15 -07:00
Nicole Collings 59044b8f66 Not-working userdata customization point think 2019-08-31 23:58:38 -07:00
Nicole Collings 7b9c2ab563 Replace ALL include guards with #pragma once 2019-08-24 17:39:35 -07:00
Nicole Collings 9113e6c4af Generify most definition classes, add preliminary item support. Pre-cull 2019-08-13 01:38:57 -07:00
Nicole Collings f572fa8167 Refactor mod texture loading & mod directories, load textures over net. 2019-08-06 19:17:54 -07:00
Nicole Collings e8dae4c526 Codacy "Error Prone" bugfixes. 2019-07-23 22:09:13 -07:00
Nicole Collings 1eeacfb102 Send IndexIdentifier information over the network.
- Improve scene manager
- Fix title screen
- Add ConnectScene scene
2019-07-22 01:22:40 -07:00
Nicole Collings 98ab5ea664 Refactor build files and libraries.
- Standardize CMake include file structure
- Build GLFW in CMake configuration
- Include libs folder in repository (with licenses!)
- Update all #include statements that were broken
2019-07-17 22:42:42 -07:00
aurailus 153a7571ab Seperate Deferred World shader from Entity shader. 2019-06-18 19:48:32 -07:00
aurailus 5ffd3c6dbb Fixed blocks not propagating into 'empty' chunks, fixed empty tracking. 2019-06-16 00:08:54 -07:00
aurailus 41e4883216 Add zeus.set_block & zeus.remove_block to the Lua API. 2019-06-12 18:06:51 -07:00
aurailus eb66f9d3e6 Create a new series of classes to store block definitions on the server.
* Added ServerBlockAtlas class
* Added ServerBlockDef class
* Added ServerBlockModel class
* Added ServerMeshPart class
* Added ServerDefs class
2019-06-10 23:53:24 -07:00
aurailus 2a35ff808e Small change to function name 2019-06-04 17:00:29 -07:00
aurailus f35e825083 Multiplayer Block Update Synchronization 2019-06-04 00:05:52 -07:00
aurailus be62a302c9 Particles + Optimization
* Added Particles.
* Used Valgrind to identify and remove a few memory leaks.
2019-05-16 16:29:46 -07:00
aurailus 2e07d9b50d Placing Blocks!
* Lower terrain sampling density
* Player "model"s
* Fix updateRightMouse function on InputManager
2019-05-15 20:35:26 -07:00
aurailus 98a85c76df New Block Damaging Functionality, Chunk size = 16
* Re-enable Atlas Tex
* Rename BlockModelEntity to BlockCrackEntity
* Disable Player Crosshair
* Fix isMousePressed function in InputManager
* Clean LocalWorld update function
* Moved block break code from player to LocalWorld
* Reduced Chunk Size back to 16
2019-05-14 12:05:54 -07:00
aurailus fa82be9c59 New Dimension code which deletes mesh & block chunks far away [!BUG]
* Important note: There is a ram leak in this code somewhere, and probably other bugs, writing code at midnight is a bad idea.
2019-04-23 00:07:17 -07:00
aurailus 46f455939c Pre-large-scale-cleanup 2019-04-22 17:06:32 -07:00
aurailus d119cee07f Remove all Magic Numbers relating to Chunk Size, change size to 32^3 2019-04-22 01:04:43 -07:00
aurailus d83e0d5f7e LocalWorld optimization 2019-04-18 20:11:34 -07:00
aurailus ebac3106b5 Complete Reorganization of file tree
* Merged ArrayTrans3D with VecUtils
* Add crack textures
2019-04-18 17:03:52 -07:00