Commit Graph

640 Commits (master)

Author SHA1 Message Date
Nicole Collings b94be32a1b Fix some Codacy style errors. 2019-07-23 00:53:49 -07:00
Nicole Collings c391df1942 Test commit II - Discord web hook 2019-07-22 15:08:53 -07:00
Nicole Collings 28a66cc55c Test commit - Discord web hook 2019-07-22 15:04:55 -07:00
Nicole Collings 4d912949d4 Resolve some warnings pointed out by Codacy 2019-07-22 14:56:19 -07:00
Nicole Collings bfdf58cfac Fixed the block jumbling bug!
- Cleaned up BlockDef, made it more struct-like, removed getters.
- Stopped displaying TextureAtlas in DebugGUI
2019-07-22 14:53:34 -07:00
Nicole Collings 5fcbc5e75e Fix memory corruption in ConnectScene 2019-07-22 14:14:25 -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 2d4e093757 Re-commit libraries. 2019-07-19 13:18:39 -07:00
Nicole Collings 252c490aa2 Redo CMakeList to add more organization 2019-07-19 13:16:55 -07:00
Nicole Collings 32d8859e1a Delete sanitize line in CMakeLists 2019-07-17 23:02:31 -07:00
Nicole Collings 98ab5ea664 Refactor build files and libraries.
- Standardize CMake include file structure
- Build GLFW in CMake configuration
- Include libs folder in repository (with licenses!)
- Update all #include statements that were broken
2019-07-17 22:42:42 -07:00
Nicole Collings 828fb1ee75 Modified the README.md and LICENSE.md files.
Added some information and tweaked the license to allow contributions.
2019-07-15 13:32:51 -07:00
aurailus a5dc8ae45f Overhaul of many classes to convert constructors to init lists + more 2019-07-11 23:50:24 -07:00
aurailus 320c0cec0f Make PacketType an enum class 2019-07-07 20:36:55 -07:00
aurailus 76173d06d1 Revise Server Client Handling
Fix Transparency in Mushroom Textures
2019-07-03 13:24:19 -07:00
aurailus bb436e23c4 Convert Server to new API standards 2019-06-29 01:12:56 -07:00
aurailus fe80175c08 Move all API functions into their own header files
- Defer loading blocks until all files are processed
2019-06-29 00:43:48 -07:00
aurailus 0f1db62bcb Add Mesh Mods and Offset_X/Y/Z mods. 2019-06-27 16:59:16 -07:00
aurailus d25299b9ba Remove redundant SelectionBox::Face class. 2019-06-21 14:29:13 -07:00
aurailus dcb5a75e6f Rename SWAY_GROUNDED to SWAY_ATTACHED. +
Base it off of all points, not just ground.
2019-06-21 14:18:33 -07:00
aurailus 90bacd330d Implement grass waving effects.
- Renderer wind texture.
- New draw types, SWAY_GROUNDED and SWAY_FULL_BLOCK
2019-06-20 22:59:00 -07:00
aurailus 11f07c3ea1 Move "default:shaft" into a seperate mod, rename "kinetic:axle" 2019-06-19 23:02:45 -07:00
aurailus 1fa8b4f4ec ShaderMod code in vertex shaders
Compressed normal into float.
2019-06-19 22:38:29 -07:00
aurailus 262906c3a7 ShaderMod code in vertex shaders
Compressed normal into float.
2019-06-18 23:49:06 -07:00
aurailus 554456fc7a Update Rotor Shaft Lua 2019-06-18 20:05:14 -07:00
aurailus 153a7571ab Seperate Deferred World shader from Entity shader. 2019-06-18 19:48:32 -07:00
aurailus d16b34f2d5 Fixed memory leak with WireframeEntity (FINALLY) 2019-06-18 00:15:24 -07:00
aurailus 3fcb939a9a Fix ParticleEntity and PlayerEntity missing normals. 2019-06-17 13:41:52 -07:00
aurailus d500fe65c4 Deferred rendering engine 2019-06-17 00:17:24 -07:00
aurailus 6b99bbd9a0 FBO is being written to and read from 2019-06-16 23:54:28 -07:00
aurailus bfd016dfd7 Remove pointers from Renderer, move uniforms to classes. 2019-06-16 19:16:29 -07:00
aurailus 225862bdd1 Clean up & Optimize MeshGenerator class 2019-06-16 18:35:40 -07:00
aurailus 5ffd3c6dbb Fixed blocks not propagating into 'empty' chunks, fixed empty tracking. 2019-06-16 00:08:54 -07:00
aurailus 09762ebbee zeus.delay and zeus.get_block API functions. 2019-06-15 23:04:10 -07:00
aurailus 41e4883216 Add zeus.set_block & zeus.remove_block to the Lua API. 2019-06-12 18:06:51 -07:00
aurailus 2042ca1b45 New Log namespace for colored debug output.
* Converted all output to use the new log namespace.
* Fixed a bug with path.
2019-06-12 14:45:08 -07:00
aurailus b590e57b4e Client and Server both run Lua code under separate APIs + sandboxing.
* Seperate Lua API into a Client API and a Server API
* LuaApi split into 2 files and named ClientLuaParser & ServerLuaParser
* ModuleServerRegisterBlock modified to work with ServerDefs
* Lua Parsers now find mods in the mod root directory
* Path class to sandbox included lua files
* Move util.lua code into ModuleClientUtils / ModuleServerUtils
* MapGen uses block names instead of hard-coded IDs
* Moved header-only-libs implementations into Main.cpp
* Two test mods with only main.lua to test mod loading
2019-06-12 00:15:47 -07:00
aurailus 709eda6eb2 Path Class for Sanitizing Path Strings 2019-06-11 23:38:54 -07:00
aurailus eb66f9d3e6 Create a new series of classes to store block definitions on the server.
* Added ServerBlockAtlas class
* Added ServerBlockDef class
* Added ServerBlockModel class
* Added ServerMeshPart class
* Added ServerDefs class
2019-06-10 23:53:24 -07:00
aurailus 6a66282eea Add some padding to the UVs to mitigate "white line" visual glitches 2019-06-10 22:15:05 -07:00
aurailus 2a35ff808e Small change to function name 2019-06-04 17:00:29 -07:00
aurailus f35e825083 Multiplayer Block Update Synchronization 2019-06-04 00:05:52 -07:00
aurailus 00f9dff173 Finish Particles, Fix some TODOs
* Update Main
2019-05-27 23:01:22 -07:00
aurailus be62a302c9 Particles + Optimization
* Added Particles.
* Used Valgrind to identify and remove a few memory leaks.
2019-05-16 16:29:46 -07:00
aurailus cfc6430aa5 Rewrote Meshes to use a Vertex struct instead of float primitives. 2019-05-15 23:01:09 -07:00
aurailus 2e07d9b50d Placing Blocks!
* Lower terrain sampling density
* Player "model"s
* Fix updateRightMouse function on InputManager
2019-05-15 20:35:26 -07:00
aurailus 98a85c76df New Block Damaging Functionality, Chunk size = 16
* Re-enable Atlas Tex
* Rename BlockModelEntity to BlockCrackEntity
* Disable Player Crosshair
* Fix isMousePressed function in InputManager
* Clean LocalWorld update function
* Moved block break code from player to LocalWorld
* Reduced Chunk Size back to 16
2019-05-14 12:05:54 -07:00
aurailus bd777c2e08 Finished Texture Atlas deletion.
* Increase Texture Atlas size
* Improve Terrain Generation
* Block Break persistence
* Increase Chunk render distance
2019-05-01 19:57:50 -07:00
aurailus 06e16eeab5 Dynamic Atlas deletes unused Textures. 2019-05-01 15:33:32 -07:00
aurailus 20a9eaa298 Generate crack textures dynamically on the texture atlas,
Note: Atlas does not discard unused textures yet.
2019-05-01 14:49:39 -07:00