aurailus
84cff00a3c
Update texture atlas to support creating crack textures.
...
* Add Halfslab models
* Add grass slab block
2019-04-30 00:39:33 -07:00
aurailus
9565851b09
TextEntity line height tweak
2019-04-29 15:11:54 -07:00
aurailus
17d92f0f9e
Remove every single pointer from DebugGui
2019-04-29 14:54:22 -07:00
aurailus
7a036cfee9
Refactor DebugGui, modify HUD classes
...
* Add StatGraph class to encapsulate common graph things
* Merge TextBuilder with TextEntity
* Add Util class for the float / vec to string conversions
2019-04-29 00:58:01 -07:00
aurailus
6cddfe3bd8
Tweak mapgen and generation range
2019-04-24 17:28:58 -07:00
aurailus
fa82be9c59
New Dimension code which deletes mesh & block chunks far away [!BUG]
...
* Important note: There is a ram leak in this code somewhere, and probably other bugs, writing code at midnight is a bad idea.
2019-04-23 00:07:17 -07:00
aurailus
46f455939c
Pre-large-scale-cleanup
2019-04-22 17:06:32 -07:00
aurailus
8e48bb1021
Un-template the RegionHandler & derivatives.
2019-04-22 14:12:55 -07:00
aurailus
57b6915ac5
Missing texture files commit
2019-04-22 13:41:46 -07:00
aurailus
d119cee07f
Remove all Magic Numbers relating to Chunk Size, change size to 32^3
2019-04-22 01:04:43 -07:00
aurailus
91cbc6591b
Added bushes to MapGen
...
* Erased some nearly-transparent pixels from default_leaves_puff.
* Increased the discard threshold for transparent fragments.
2019-04-21 19:05:57 -07:00
aurailus
a853cfbdbf
Load util.lua in LuaApi.cpp instead of default
...
Finish some misc TODOs
2019-04-21 18:02:31 -07:00
aurailus
d9b4e852e9
New lua functions and C++ dofile
...
- Override lua dofile with a C++ implementation for future security
- LModuleUtil containing zeus.get_path()
- zeus.get_path() function for relative paths
- Register air node in C++ so there isn't strange lua code in default
- Move unused textures to a folder that isn't scanned temporarily
- Temporarily shrink texture atlas
2019-04-21 17:20:16 -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
91e3cc81ca
Remove most pointers from BlockDef, BlockModel, and BlockAtlas classes.
2019-04-20 15:15:25 -07:00
aurailus
1d8962d14c
Rewrite Register_Block method, add docs to Register_BlockModel func.
2019-04-19 16:50:11 -07:00
aurailus
c154670f2e
Convert Lua functions to Lambdas
2019-04-19 15:33:16 -07:00
aurailus
d83e0d5f7e
LocalWorld optimization
2019-04-18 20:11:34 -07:00
aurailus
7ac199127d
Rename DynamicAtlas to match it's filename (TextureAtlas)
2019-04-18 19:02:36 -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
c716fe3afd
Dynamic Texture Atlas (oh my god)
2019-04-17 23:09:12 -07:00
aurailus
e6c4baeb2b
Remove a ton of unnecessary pointers in Block Mesh related code.
...
Add BlockModelEntity class
2019-04-15 14:12:59 -07:00
aurailus
7fe09b579d
Fix FOV being incorrectly in Radians
...
* Implement Desert Biome, disabled
2019-04-15 14:12:10 -07:00
aurailus
e71a3c57ab
Convert WireframeGenerator to WireframeEntity
2019-04-11 00:45:45 -07:00
aurailus
61ccef158b
Roll back changes.
2019-04-11 00:11:42 -07:00
aurailus
294c3ec938
Merge remote-tracking branch 'origin/master'
2019-04-10 18:44:25 -07:00
aurailus
860254e51c
InputManager
2019-04-10 18:44:17 -07:00
aurailus
dd9ea0038a
Drawable/DrawableGroup class, remove temporary render code in GameScene
2019-04-09 21:42:27 -07:00
Benjamin Collings
4e5467d92f
Create LICENSE.md
2019-04-09 15:57:02 -07:00
Benjamin Collings
41e07e8589
Fix broken line break in README.md
2019-04-09 15:55:25 -07:00
Benjamin Collings
5028df4d3e
Create README.md
2019-04-09 15:55:00 -07:00
aurailus
b1c10e4d90
Fix debugGui pointed block field.
2019-04-09 15:49:31 -07:00
aurailus
d8e9f0eb7a
Wireframe is partially transparent and keeps a constant visual scale,
...
Allow Partial Transparency in world.fs,
Fix partially transparent pixels in tallgrass.
2019-04-09 12:13:07 -07:00
aurailus
bc52cd6e02
SelectionBox support for block collision boxes.
2019-04-09 00:51:38 -07:00
aurailus
2653cc46d7
Simple WireframeGenerator and collision box
2019-04-08 22:55:19 -07:00
aurailus
2539352728
Modify Vertex Attributes to allow colored vertices.
2019-04-08 20:21:15 -07:00
aurailus
5e9a0774be
BugFixes, Optimizations, Speed Improvements
...
#Fixes
* Fix Segfault when you go back to previously generated chunks
* Make dimension & BlockChunks use shared_ptrs (finally)
* MeshGenStream no longer unnecessarily duplicates BlockChunks
* Different Vertical Gen Range to Horizontal
# Clean Up
* Convert most MeshGenerator functions to using references (safety)
* Optimize Flora noise
* Remove raw C array Mesh Initializer (it was messy)
* Pre-generate ActiveRange positions and remove runtime sorting
2019-04-08 19:18:03 -07:00
aurailus
a1e5f39652
Changed Region & MapBlock Sizes to 4
2019-04-07 18:07:36 -07:00
aurailus
128c220ae7
Generic RegionHandler class, make Dimension extend said class.
2019-04-07 01:47:19 -07:00
aurailus
25a73fa480
Use the new Dimension class
...
* Fix the DebugGui Background Box
2019-04-07 01:22:36 -07:00
aurailus
bf24541551
Merge remote-tracking branch 'origin/master'
2019-04-07 00:54:23 -07:00
aurailus
63046936e7
Add Dimension Class, Clean up DebugGui
...
* Clean up DebugGui's terrible update function.
* Fix TransPos functions and add namespacing for clarity.
* Dimension, MapBlock, and Region classes.
* Tests for Dimension functionality.
2019-04-07 00:54:07 -07:00
100To
7bf41aac67
Delete Zeus Folder
2019-04-06 15:59:23 -07:00
aurailus
ec87cec560
TransPos class commit
2019-04-06 01:47:07 -07:00
aurailus
a80c192a25
Move NoiseSample class to gen folder, delete noise folder.
2019-04-04 01:12:41 -07:00
aurailus
f69b1bbfc9
Adjust player move speed
2019-04-03 23:32:24 -07:00
aurailus
1217969102
Font is no longer monospaced!
...
* Font is not monospaced
* Minor texture changes for font glyphs
* Shadow under letters
2019-04-03 23:21:43 -07:00
aurailus
cd6d62696b
MapBlock & Region functions in TransPos.h
2019-04-03 23:21:05 -07:00
aurailus
7771db2eb5
Fixed Coordinate System
...
* For some reason, there was a "negative" 0, (two block positions were
* considered 0 in each axis), there was also a 16 in some chunks. This
* was super weird, and problematic.
2019-04-03 19:26:37 -07:00
aurailus
f962ddb4b3
Procedural Chunk Generation & Bugfixes
...
* Fix shader making bottom faces transparent.
* Change FOV to 70
* Fix chunk generation(previously was using position vector incorrectly)
* Reimplement movement generation
* Add username class to player
2019-04-03 13:27:06 -07:00