Commit Graph

47 Commits (master)

Author SHA1 Message Date
Auri a08af1b260 Bump to C++ 20 2021-09-03 14:22:58 -07:00
Auri 838680f0fc Clean up TextureAtlas, fix swaying and offsetting, add pillar blockmodel. 2021-09-02 23:48:09 -07:00
Auri 921649b17b Add some debug GUI back, fix CLion folder configuration. 2021-08-29 20:38:22 -07:00
Auri 46a6a148de Optimize debug info & Dimension updates. 2021-08-15 18:30:38 -07:00
Auri f555ed79f0 Add minetest polyfill wip directory 2021-08-04 23:14:05 -07: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 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
Auri 6d715546d8 Immediate mode Item registration, docs for Register(Block / Item) 2020-11-08 17:12:45 -08:00
Auri c3210f216b CLion code style settings 2020-11-08 16:43:31 -08:00
Auri 54b3cd072f Immediate mode for block instantiation. 2020-11-08 16:43:12 -08:00
Auri 45646b4769 Networked Dimensions, dimension transitions, & dimension change functions! 2020-11-06 22:20:44 -08:00
Auri 8decf3462d Reformatted documentation and readme. 2020-11-04 16:59:10 -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 8d6e19500a Committed to Lua 5.3, polyfilled (ew) the setfenv / getfenv functions.
* Fixed a crash where an improperly formatted subgame can crash the client.
* Remove Lua 5.1 from CMakeLists.txt.
2020-11-02 15:18:09 -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
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 3c560c8ca2 MapGen rewrite pt. 1 - has DensityBehavior code. 2020-07-15 23:25:39 -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 2380c7ea31 Add a mutex to Chunk, safeguard all existing reads/writes.
* Clean up more imports.
* Create FileManipulator class.
2020-07-06 14:00:46 -07:00
Nicole Collings d268654259 Optimize Chunk serialization format slightly. 2020-06-22 18:27:27 -07:00
Nicole Collings af78490c7e UI Elements with Live manipulation & garbage collection 🦀 2020-04-15 13:09:13 -07:00
Nicole Collings 9a46f2077d Improved Any type. 2020-03-24 12:00:23 -07: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 098e5ff86d Make PlayerEntities use the Player model. 2019-10-19 14:03:07 -07:00
Nicole Collings a7088bcd1f Remove references of Zeus from CMake files and separate LoadLibs.cmake 2019-09-08 11:27:28 -07:00
Nicole Collings 43cb70da4f Seperate Chunk, Entity, and GUI mesh related structures 2019-08-24 17:29:31 -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 252c490aa2 Redo CMakeList to add more organization 2019-07-19 13:16:55 -07:00
aurailus a5dc8ae45f Overhaul of many classes to convert constructors to init lists + more 2019-07-11 23:50:24 -07:00
aurailus 76173d06d1 Revise Server Client Handling
Fix Transparency in Mushroom Textures
2019-07-03 13:24:19 -07:00
aurailus 4078e29440 Refactor the Lua code for the default game.
* Split the models and block definitions into two folders
* Gave some models more generic names
2019-04-21 15:25:06 -07:00
aurailus ebac3106b5 Complete Reorganization of file tree
* Merged ArrayTrans3D with VecUtils
* Add crack textures
2019-04-18 17:03:52 -07:00
aurailus 4a195a96cb Server debug information, distance sorted generation, faster meshing. 2019-03-15 23:22:53 -07:00
aurailus 3c14ca14da Support window resize, Histogram class.
* Resize buffers when the window resizes.
* Histogram class for displaying per-frame data.
* Histogram can either push data to the left when new data arrives
  (false) or Overwrite with a moving insertion point (true) based on the
  editInPlace variable.
2019-02-10 00:28:39 -08:00
aurailus 0706a8b457 Seperate Serialization from Packet class into its own class.
Speed up serialization with cheaty of methods which will need to be
  reviewed when communicating to systems of different architectures.
2019-02-07 19:52:47 -08:00
aurailus d191f926ef Testing, cleaner makefiles
* Makefiles use GLOBs and Libraries to have better organization
* Zeus directory renamed to src
* New test directory for unit tests
* Using Catch2 for unit tests
* Added unit tests to BlockChunk serialization
2019-02-01 16:12:37 -08:00
aurailus 4346f45c1c Completely reorganize file structure, delete unused imports,
clean all imports, surpress useless CLion warnings, clean code
2019-01-22 17:08:06 -08:00
aurailus a40c85905a Clean up code for portability and server initialization
* Practically move all non-commented code from main.cpp
* Create Client.cpp/h class and move logic out of main.cpp
* Create default constructor for Renderer
* Fix definition of default:stone
* Change GameInstance:update() to use a double instead of a GLfloat
2019-01-06 23:31:13 -08:00
aurailus 9c3aac4789 Moved debug text to DebugGui object, added FPS histogram.
Entities now have Texture field, currently only respected for GuiEntities.
2018-12-28 15:58:05 -08:00
aurailus e57718f257 GameInstance object, Renderer object, cleaned up Main. 2018-12-17 14:24:58 -08:00
aurailus b3fb9e961f - Cleaned up code using CLion inspection. 2018-12-05 23:07:00 -08:00
aurailus 74b98e4b39 - Prevent invalid memory addressing in the MeshPart construct method. 2018-12-05 20:59:12 -08:00
aurailus 537a242a5c Generic add_face function in MeshGenerator 2018-12-01 23:07:36 -08:00
aurailus ad936ba4fb Texture support, creative esque flying instead of cam-angle flying. 2018-11-30 14:42:43 -08:00
aurailus 5f4751a27e Window Class, Shader Class, Read Shaders from file 2018-11-26 17:52:44 -08:00