87 Commits

Author SHA1 Message Date
Perttu Ahola
78d7184b2c games/digger: Fix bug when p_above is nil 2014-10-21 18:19:27 +03:00
Perttu Ahola
fb55cbb759 games/digger: Better voxel selection visual 2014-10-21 18:19:27 +03:00
Perttu Ahola
d979851969 games/digger: Better pointed voxel visualization 2014-10-21 18:19:27 +03:00
Perttu Ahola
4eed264064 games/digger: Digging and placing pointed voxels 2014-10-21 18:19:27 +03:00
Perttu Ahola
73855c556d games/digger: Add and update textures: dirt.png, rock.png, tree.png, tree_top.png 2014-10-21 18:19:27 +03:00
Perttu Ahola
d8fe3e2089 games/digger: Adjust camera.nearClip properly 2014-10-21 18:19:27 +03:00
Perttu Ahola
d2839d5cf3 client: voxelworld.get_static_voxel() 2014-10-21 18:19:27 +03:00
Perttu Ahola
3c25b40bae Re-align integer coordinates to voxel center points 2014-10-21 18:19:27 +03:00
Perttu Ahola
4fb4742c88 WIP 2014-10-21 18:19:27 +03:00
Perttu Ahola
265860cf62 WIP 2014-10-21 18:19:27 +03:00
Perttu Ahola
d5c0bed9c6 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
4313287a10 Move stuff from games/digger to builtin/ground_plane_lighting 2014-10-21 18:19:26 +03:00
Perttu Ahola
adbb3290e7 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
b9b47ee6d9 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
ddb0e2e8c8 games/digger: Move lights to client side 2014-10-21 18:19:26 +03:00
Perttu Ahola
496afd2273 games/digger: Digging stuff (also define voxels at core:start instead of init()) 2014-10-21 18:19:26 +03:00
Perttu Ahola
0f1f6764dd games/digger: Place voxel with the correct mouse button 2014-10-21 18:19:26 +03:00
Perttu Ahola
aff341b135 builtin/voxelworld, games/digger: Proper synchronization for using voxelworld's registries on the client 2014-10-21 18:19:26 +03:00
Perttu Ahola
17b09fabdb games/digger: Use voxelworld's voxel/atlas_reg for custom node 2014-10-21 18:19:26 +03:00
Perttu Ahola
bc4ac09c1a builtin/voxelworld and things: Transmit VoxelRegistry over network and deserialize it in Lua 2014-10-21 18:19:26 +03:00
Perttu Ahola
692c0d1418 Global rename: TextureAtlas -> Atlas 2014-10-21 18:19:26 +03:00
Perttu Ahola
4d43efa466 Fix coding style 2014-10-21 18:19:26 +03:00
Perttu Ahola
997bf1bc94 client: Lua owns VoxelRegistry and TextureAtlasRegistry 2014-10-21 18:19:26 +03:00
Perttu Ahola
5902d10a4f games/digger: More interesting world generation 2014-10-21 18:19:25 +03:00
Perttu Ahola
1d8c7c8e3f interface/mesh: namespace interface -> namespace interface::mesh 2014-10-21 18:19:25 +03:00
Perttu Ahola
a8196cf3db games/digger: Faster and less cramped map generation 2014-10-21 18:19:25 +03:00
Perttu Ahola
bb07809f2a games/digger: Mouse button 3 places voxels, instead of button 1 2014-10-21 18:19:25 +03:00
Perttu Ahola
f64adf35d6 Fix coding style 2014-10-21 18:19:25 +03:00
Perttu Ahola
12465d8e3b everything: voxelworld::Interface::set_voxel() and everything from there to updating geometry and physics on the client 2014-10-21 18:19:25 +03:00
Perttu Ahola
74c835a077 games/digger: Back to previous player size 2014-10-21 18:19:24 +03:00
Perttu Ahola
ed741ed353 games/digger: Fix flying trees 2014-10-21 18:19:24 +03:00
Perttu Ahola
1805a3e02f builtin/voxelworld, games/digger: Speed up voxelworld::Interface::set_voxel() by various means 2014-10-21 18:19:24 +03:00
Perttu Ahola
a905b7ed05 games/digger: 2x higher player with rouching 2014-10-21 18:19:24 +03:00
Perttu Ahola
29c9515d15 games/digger: Switch back to old starting direction 2014-10-21 18:19:24 +03:00
Perttu Ahola
110812af6c LOD stuff 2014-10-21 18:19:24 +03:00
Perttu Ahola
503a83ea72 games/digger, builtin/voxelworld: add leaves.png; change grass.png 2014-10-21 18:19:24 +03:00
Perttu Ahola
a54ab428ba games/digger/main/main.cpp: Generate trees and wider terrain 2014-10-21 18:19:24 +03:00
Perttu Ahola
33a9c146b5 games/digger/main: Generate a spherical hole in the ground 2014-10-21 18:19:24 +03:00
Perttu Ahola
125bbd8fae builtin/voxelworld: Clear voxel geometry and physics boxes when camera moves far from them 2014-10-21 18:19:24 +03:00
Perttu Ahola
a2890529bf Very ugly LOD mechanism 2014-10-21 18:19:24 +03:00
Perttu Ahola
6115d92f3f builtin/voxelworld, games/digger: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
93661819b3 games/digger/main: Delay setting player's mass so that it's possible to wait for the world to load before dropping into it 2014-10-21 18:19:23 +03:00
Perttu Ahola
333e7749b1 games/digger/main: Make code thread-safe 2014-10-21 18:19:23 +03:00
Perttu Ahola
edb1008f80 builtin/voxelworld, impl/mesh,voxel: Remove TextureAtlasRegistry from VoxelRegistry 2014-10-21 18:19:23 +03:00
Perttu Ahola
6a82e1fee7 builtin/voxelworld: WIP: Set player direction 2014-10-21 18:19:23 +03:00
Perttu Ahola
5a8679b7e1 builtin/voxelworld: WIP: 24x24x24 chunks, set ambient color explicitly 2014-10-21 18:19:23 +03:00
Perttu Ahola
f7a3719991 builtin/voxelworld: WIP: Fix jumping 2014-10-21 18:19:23 +03:00
Perttu Ahola
6402c5c246 builtin/voxelworld: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
3f69453efe builtin/voxelworld: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
cd3abc2048 builtin/voxelworld: WIP: Physics don't work 2014-10-21 18:19:22 +03:00