Commit Graph

132 Commits (921649b17b492865568fd99eff84d3f94ba66021)

Author SHA1 Message Date
Auri 921649b17b Add some debug GUI back, fix CLion folder configuration. 2021-08-29 20:38:22 -07:00
Auri 2cf3e7aaea Get computed properties :) 2021-08-24 13:51:41 -07:00
Auri 9aec996b74 More Lua GuiElement functionality. 2021-08-24 01:48:53 -07:00
Auri 1c58797480 Connect Scene, Error Scene, stability, bugfixes 2021-08-23 23:31:29 -07:00
Auri 7285ba71f4 CallbackGroup madness 2021-08-22 11:58:52 -07:00
Auri 6caef42565 Container and self widths, implementation is recursive and slow, fix getComputedSize() by storing elem size in a const. 2021-08-21 02:17:09 -07:00
Auri 1ec7598ac0 Expression Parsing 2021-08-20 16:19:10 -07:00
Auri e41459090f New GUI Wip with old style getters. 2021-08-19 13:33:08 -07:00
Auri a077065aec Read description VVV
World edit mod, only selects for now.
Text Formatting
Tweak default font to look good in bold.
Fix Server locking up when too many player packets are sent.
Added chat mod, which *almost* works.
Update world noise.
2021-08-15 17:21:12 -07:00
Auri 10edb1eb60 Replaced LibNoise in MapGen with FastNoise2 for S U P E R S P E E D 2021-08-09 22:39:20 -07:00
Auri f8a3889f6d Optimize the MeshVertex format. 2021-08-04 22:17:40 -07:00
Auri e9d7fd0ee9 Performance Improvements, better MeshChunk. 2021-08-03 16:02:34 -07:00
Auri 4b28437b80 Chunk Refactor
- compressed and decompressed chunks
- remove Lockable from chunk, chunks should be cloned across threads
- Benchmarks in Main, not ready for build
2021-06-20 17:50:45 -07:00
Auri 9466d7692a Serialization API, Server -> Clients messaging.
- Added zepha.serialize & zepha.deserialize. Said methods are automatically used when message-passing.
- Revised dump() to have better formatting and configurable spacing :)
2020-12-06 23:34:25 -08:00
Auri 7618269434 Update vector library, angry rabbits.
* Add normalize/unit functions to the vector library.
* Make rabbits target players.
2020-12-06 18:58:20 -08:00
Auri a1896767eb Item use callbacks implemented, spawn keys~ 2020-12-05 23:10:22 -08:00
Auri 52ae370040 Entity collisions, gravity, & velocity.
- Refactor Collision, fix deltatime bugs.
- Apply gravity to applicable entities.
- Add callbacks to ItemDef, unused so far.
- Reorganize and document LocalPlayer class.
- Give bees, rabbits, and test entities AI that is *so cute guys seriously look at it*.
- Plains biomes now have flowers.
2020-12-05 21:17:46 -08:00
Auri f4ec97370d Player movement uses delta, entity collision.
- Entities will now acknowledge terrain when applying velocity when object.collides is true.
* Some strange movement behavior when collidable entities move on the ground.
- All player movements are now modulated by delta time.
2020-12-05 01:48:46 -08:00
Auri d4c9a431f2 Redo NetField, entity serialization & adjustments.
- NetField now has explicitly declared indexes to allow for easier debugging.
- Better serialization algorithm for ServerLuaEntity that allows for NetField::ALL
- better deserialization algorithm for LocalDimension and LocalPlayer that warns on unhandled Netfields.
- Documentation for usertype/Entity & ent/Entity & some subclasses.
- Partial setDimension implementation in LuaEntity
- Velocity in LuaEntity
- Collides and gravity properties in LuaEntity (yet unused)
- General cleanup and reorganization
2020-12-04 23:14:35 -08:00
Auri 29239b52f3 Entity collision boxes, entity selecting, Target refactor. 2020-12-04 01:32:27 -08:00
Auri a53f627acd Server side messaging, fix right click in inventory. 2020-12-03 16:26:57 -08:00
Auri 5ec480e466 New Inventory System 2020-12-02 17:36:42 -08:00
Auri 6f2e9e3bea Add health mod, re-namespace aurailus mods to auri. 2020-11-28 17:40:05 -08:00
Auri cfc99fafc4 Fix NoCulls faces getting incorect lighting. 2020-11-28 15:13:49 -08:00
Auri 1482e73534 Fix one todo 2020-11-08 21:06:40 -08:00
Auri c011641b0a Make MapGen a member of Dimension, [MORE]
* Start to set up per-dimension generation, reached a problem due to the deferred registration. Next commit will attempt to make it immediate. Why did I write it this way anyway?
2020-11-07 20:35:21 -08:00
Auri e0b8651b8a Clear MeshChunks on Dimension leave. 2020-11-07 15:55:39 -08:00
Auri 45646b4769 Networked Dimensions, dimension transitions, & dimension change functions! 2020-11-06 22:20:44 -08:00
ImgBotApp 498cf41068
[ImgBot] Optimize images
*Total -- 201.85kb -> 159.66kb (20.9%)

/subgames/zeus/mods/zeus_default/textures/painting/16x_d1.png -- 3.36kb -> 1.29kb (61.56%)
/subgames/zeus/menu/textures/zeus_background_christmas_day.png -- 34.95kb -> 19.11kb (45.31%)
/subgames/zeus/mods/zeus_inventory/textures/crafting.png -- 10.34kb -> 5.80kb (43.86%)
/subgames/zeus/mods/zeus_default/textures/leaves_opaque.png -- 0.69kb -> 0.40kb (41.9%)
/subgames/zeus/mods/zeus_default/textures/leaves_puff.png -- 1.16kb -> 0.67kb (41.81%)
/subgames/zeus/mods/zeus_inventory/textures/inventory_gridded.png -- 15.90kb -> 9.58kb (39.79%)
/subgames/zeus/mods/aurailus_hot_wheel/textures/hot_wheel.png -- 1.96kb -> 1.21kb (38.15%)
/subgames/zeus/mods/zeus_inventory/textures/inventory_wheel.png -- 2.45kb -> 1.55kb (36.59%)
/subgames/zeus/mods/aurailus_hot_wheel/textures/hot_wheel_circle.png -- 1.42kb -> 0.91kb (35.79%)
/subgames/zeus/mods/zeus_default/textures/leaves.png -- 0.74kb -> 0.48kb (34.91%)
/subgames/zeus/menu/textures/particle_group.png -- 1.69kb -> 1.25kb (25.88%)
/assets/textures/menu/menu_flag_settings.png -- 1.24kb -> 0.95kb (23.55%)
/subgames/zeus/mods/zeus_default/textures/stone.png -- 0.62kb -> 0.49kb (21%)
/assets/textures/menu/menu_flag_no.png -- 1.28kb -> 1.04kb (18.81%)
/subgames/minimal/icon.png -- 1.26kb -> 1.05kb (16.69%)
/assets/textures/menu/menu_flag_quit.png -- 1.20kb -> 1.04kb (12.9%)
/subgames/zeus/mods/zeus_default/textures/entity/raven.png -- 1.17kb -> 1.06kb (9.17%)
/subgames/zeus/mods/zeus_default/textures/entity/seagull.png -- 1.14kb -> 1.03kb (9.1%)
/subgames/zeus/mods/zeus_inventory/textures/inventory.png -- 20.04kb -> 18.29kb (8.72%)
/subgames/zeus/menu/textures/zeus_button_extex.png -- 0.58kb -> 0.53kb (8.38%)
/subgames/parentheses/icon.png -- 1.38kb -> 1.28kb (7.33%)
/subgames/zeus/menu/textures/zeus_background_christmas_night.png -- 43.33kb -> 40.29kb (7%)
/subgames/zeus/menu/textures/zeus_background_christmas.png -- 43.33kb -> 40.29kb (7%)
/assets/textures/menu/menu_flag_content.png -- 1.21kb -> 1.12kb (6.97%)
/subgames/zeus/mods/zeus_default/textures/entity/mouse.png -- 1.31kb -> 1.22kb (6.58%)
/subgames/zeus/mods/zeus_default/textures/entity/player.png -- 5.52kb -> 5.17kb (6.2%)
/assets/textures/menu/menu_flag_multiplayer.png -- 1.24kb -> 1.17kb (5.06%)
/subgames/zeus/menu/textures/zeus_button.png -- 0.56kb -> 0.53kb (4.9%)
/subgames/zeus/mods/zeus_default/textures/grass_side_ld.png -- 0.80kb -> 0.80kb (1.09%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-05 00:02:54 +00:00
Auri 376593a9f1 Clean up some Codacy issues, make scope locks more clear by using _ as name. 2020-11-04 14:22:57 -08:00
Auri 9f9cf0b8d2 Testing dimension things 2020-11-01 14:14:39 -08:00
Auri d7382c2533 Fixed threading issues & block definition props.
- Fixed deadlock when propagating light on chunk boundaries.
- Fixed culls property on block definition not being set in RegisterBlocks.h
- Properly snake_case tall_grass_*
- Welcome back~
2020-10-31 20:16:09 -07:00
Auri 52e6c00d04 Some new assets 2020-10-29 20:15:56 -07:00
Nicole Collings aafe67ce11 My life is finally complete. (Fixed entities, server-side entity anims!) 2020-08-12 19:42:27 -07:00
Nicole Collings 2a952955bf Fix a gross hack related to big refactor. 2020-08-06 22:19:49 -07:00
Nicole Collings db64794bcf Fixed segfault with non-threadsafe packet creation. Yay~ 2020-08-06 22:09:08 -07:00
Nicole Collings 71cbe034dd Added thread safety to chunks & dimensions, reimplemented animations.
* Fixed air becoming invalid when placed with lua.
* Reimplemented client-side animations.
* Update AnimationManager Usertype to new format.
* Updated AnimationState & segment to be less icky.
* Updated some entity textures, added Mouse model and textures.
2020-08-06 16:15:23 -07:00
Nicole Collings 5d46a12077 Reimplement server entities, generic LuaEntity baseclass. 2020-08-05 15:26:15 -07:00
Nicole Collings dfb90e8c03 Fix player not being initialized at mod load time. Targets have dim. 2020-08-02 20:51:22 -07:00
Nicole Collings 6a90bb4875 BIG BOI REFACTOR FOR MULTIDIMENSIONS - Doesn't segfault so i'm commit~ 2020-07-30 22:07:00 -07:00
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 c7c2e38c38 Clean up vector library, standardize parameter orders, conform to docs. 2020-07-22 00:46:06 -07:00
Nicole Collings c00ee72529 Fix a few bugs from the previous commit. 2020-07-21 19:57:21 -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