Commit Graph

152 Commits (master)

Author SHA1 Message Date
Auri Collings 2543efec36
Update EventEmitter.h 2021-10-11 14:45:40 -07:00
Auri Collings e83d8f46f5
Update EventEmitter.h 2021-10-11 14:44:34 -07:00
Auri Collings 8338932eb2
Update EventEmitter.h 2021-10-11 14:43:48 -07:00
Auri 4003a9c169 new EventEmitter template class that can have arbitrary event parameters, and is awesome 2021-10-11 12:46:57 -07:00
Auri 3eccd8e7e7 "working" texture atlas, but cropping is gimped 2021-10-10 14:26:21 -07:00
Auri f532ee4fe6 Mod tweaks and perf improvements
- zeus:flowers -> zeus:vegetation
- Added tall grass to zeus:vegetation
- Added new plants
- Better Voronoi diagram, output debug images
2021-09-26 16:22:07 -07:00
Auri b2087fda66 Remove unused source file, remove a wasted assignment. 2021-09-23 14:22:53 -07:00
Auri 05af3222ee Document StringParser because otherwise I'd have no idea what it's doing in two months. 2021-09-23 14:09:14 -07:00
Auri 29a082aa9c Use StringParser for texture atlas :) 2021-09-23 11:10:22 -07:00
Auri 075226bfcf Complete String Parser except context. 2021-09-22 23:00:53 -07:00
Auri a481f23dfd WIP String function parser (for texture modifiers) 2021-09-22 21:57:45 -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 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
SamCZ c89a945363 WIP cmake rework 2021-08-30 01:14:23 +02:00
Auri 1c58797480 Connect Scene, Error Scene, stability, bugfixes 2021-08-23 23:31:29 -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 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 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 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 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 eda8fe4a37 new structure format which is kinda broke. 2020-11-28 17:40:10 -08:00
Auri e49ab18617 Apply new Code Styling to all files. 2020-11-08 22:57:34 -08:00
Auri 0879ae5493 PER DIMENSION MAPGEN!
* Per-MapGen Voronoi.
* More generalized Voronoi3D.
* Biome tags.
2020-11-08 18:49:17 -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 5419d0a5f6 Bounds helper class, prioritize nearby existing chunks when sending to client. 2020-11-07 16:34:47 -08: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 041636254a Remove redundant assignment, thanks Codacy. 2020-11-04 14:11:59 -08:00
Auri a9a12a89d9 Removed ClientState entirely and restructured client data passing.
* Updated the fenv polyfill.
* Added a fromString helper to Address.
* Added documentation comments to some classes. More to come!
* Configured CLion code style settings.
2020-11-03 23:29:30 -08:00
Auri 9f9cf0b8d2 Testing dimension things 2020-11-01 14:14:39 -08:00
Jordan Snelling c0a60aac09 Fix build on Linux systems, notes added for Linux compiling. 2020-10-19 01:33:45 +01:00
Nicole Collings 31cdfbdaa8 reorganize ALL THE THINGS!! 2020-08-13 00:55:18 -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 b312193969 Covariant Ptr type 2020-08-02 17:16:40 -07:00
Nicole Collings 6fd5acae0a Covariant Pointer 2020-08-02 12:21:07 -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 e45baf8901 Remove exit(1)s, fix main menu error handler. 2020-07-26 18:21:33 -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