Commit Graph

621 Commits (a08af1b2606387a9cad300d331111f5ff8673e69)

Author SHA1 Message Date
Auri a08af1b260 Bump to C++ 20 2021-09-03 14:22:58 -07:00
Auri 22a6c4c28f Fixed Vector directions, tweaked colors, fixed entity scaling. Entities aren't updating, unsure if that's a new thing or not. 2021-09-03 01:20:56 -07:00
Auri 838680f0fc Clean up TextureAtlas, fix swaying and offsetting, add pillar blockmodel. 2021-09-02 23:48:09 -07:00
Auri Collings 60051a7d41
Merge pull request #22 from SamCZ/master
Fixed CMAKE and submodules
2021-09-01 15:43:05 -07:00
Auri 207f867c5e Merge branch 'master' of https://github.com/Aurailus/Zepha into SamCZ_master
 Conflicts:
	src/CMakeLists.txt
	src/Main.cpp
	src/lua/LuaParser.h
2021-09-01 15:30:29 -07:00
Auri 73b2994fdd Update some textures, for fun! 2021-09-01 15:05:11 -07:00
SamCZ 5364d12013 CMake fixes 2021-09-01 21:18:21 +02:00
Auri f19199dbb3 Make Chatbox a menu, update menu api. 2021-08-30 16:59:01 -07:00
Auri 921649b17b Add some debug GUI back, fix CLion folder configuration. 2021-08-29 20:38:22 -07:00
SamCZ c89a945363 WIP cmake rework 2021-08-30 01:14:23 +02: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 5bf82c4963 Lua parsing of Gui Elements!!! 2021-08-20 22:48:38 -07:00
Auri 22bc36c9f2 Expression token caching. 2021-08-20 18:28:13 -07:00
Auri 1ec7598ac0 Expression Parsing 2021-08-20 16:19:10 -07:00
Auri d8dac4d74e BACKGROUND_HOVER style, hover events. 2021-08-19 20:45:39 -07:00
Auri 455ef5da6a New Style API that throws if type is invalid. 2021-08-19 20:18:55 -07:00
Auri e41459090f New GUI Wip with old style getters. 2021-08-19 13:33:08 -07:00
Auri 46a6a148de Optimize debug info & Dimension updates. 2021-08-15 18:30:38 -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 8bb8752b73 Merge remote-tracking branch 'origin/master' 2021-08-09 22:39:31 -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 Collings c8f046a0d3
Update FUNDING.yml 2021-08-04 23:16:26 -07:00
Auri c2831a84bc Merge remote-tracking branch 'origin/master' 2021-08-04 23:14:12 -07:00
Auri f555ed79f0 Add minetest polyfill wip directory 2021-08-04 23:14:05 -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 4519147c84 Fix server diffing chunks to send 2021-07-07 15:39:04 -07:00
Auri 38bec3ab25 Fixed connection & many network packets. 2021-06-22 18:13:39 -07:00
Auri 4487997b92 Supercharged Serialization, Fixed Size types
- Serialization classes can now handle **all** trivially copyable types, all vectors / arrays of trivially copyable types, strings (and vectors / arrays of strings), and enums.
- Serialization classes are way shorter and more readable.
- FIXED SIZE integrs, floating points, and vecs
- Shorthands for pointers, vectors, and arrays
- More efficient use of memory in many places
- A lot of network stuff is using fixed-size integers now.
2021-06-21 22:09:35 -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 Collings 8a8c20bca4
Update README.md 2021-03-11 12:20:25 -08: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 eda8fe4a37 new structure format which is kinda broke. 2020-11-28 17:40:10 -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 7027c687fd Document and revise Chunk class, and re-implement MapGen-side-lighting. 2020-11-10 17:00:29 -08:00
Auri 2c97101c39 Documentation on the MapGen class, fix hint in setBlock. 2020-11-09 11:27:22 -08:00
Auri e49ab18617 Apply new Code Styling to all files. 2020-11-08 22:57:34 -08:00