Commit Graph

612 Commits (921649b17b492865568fd99eff84d3f94ba66021)

Author SHA1 Message Date
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
Nicole Collings 92a2dc3c0f Merge remote-tracking branch 'origin/master' 2020-01-14 16:04:28 -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 cb47bcd872
Update README.md 2020-01-13 15:49:08 -08:00
Nicole Collings 9b36e65d7d
We are the future 2020-01-13 11:20:45 -08:00
Nicole Collings acd99ce0c6 Add XYZ axis rotation to entities, fix dropped item rotation 2020-01-12 23:22:23 -08:00
Nicole Collings b8b8957c25 Add most of the libnoise modules to the Lua Api 2020-01-11 13:57:39 -08:00
Nicole Collings 947aa6dda5 Lua libnoise parser, biomes have seperate generation parameters~
* Delete deprecated MapGen stuff
! Entire chunk's biome-gen is defined by bottom left corner.
2020-01-10 17:31:07 -08:00
Nicole Collings ccc23b45b0 Merge remote-tracking branch 'origin/master' 2020-01-10 14:58:54 -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 c0894d46c6 Change naming scheme from interp_pos & set_pos to set_pos & snap_pos 2020-01-09 15:42:04 -08:00
Nicole Collings f3a4717a1f
Delete ccpp.yml 2020-01-08 15:07:17 -08:00
Nicole Collings df17baba51
Update README.md to include a better description 2020-01-08 14:59:52 -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 72dbfd9cbf Send mods order with a vector 2020-01-07 17:03:41 -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 f82052b5fc Add Local handler for ServerEntities (unfinished) 2020-01-06 19:48:51 -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 4a497ea38d placeStack & splitStack are now secured against enemy invaders
* allow_take, allow_put, on_take, and on_put lua callbacks work.
2019-12-21 21:54:06 -08:00
Nicole Collings 3aa945046f Crafting mod and crafting recipes - Initial commit 2019-12-19 22:56:09 -08:00
Nicole Collings fcb46c18e6 Max Stack Size def property
* Index inventories in Lua by 1
2019-12-19 22:55:34 -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
Nicole Collings 6830c4adc4 Lua Inventory API
* Split inventory mod into zeus:inventory
* Redo inventory textures
* Add more textures and items to zeus:materials
* Convert zepha.is_server() to zepha.server & zepha.client bools
2019-12-17 17:26:48 -08:00
Nicole Collings 5cf3569629 Inventory stacking, splitting, and placing 2019-12-15 16:51:41 -08:00
Nicole Collings 8167bc4c85 Inventory manipulation 2019-12-15 15:32:35 -08:00