Commit Graph

107 Commits (master)

Author SHA1 Message Date
Perttu Ahola 52b9031100 Fix coding style 2014-11-01 22:08:53 +02:00
Perttu Ahola 7ebce17fbd builtin/main_context: Fix scene reference handling 2014-10-29 21:33:20 +02:00
Perttu Ahola 8244bac731 builtin/voxelworld: Move world region to be decided by caller 2014-10-29 19:13:09 +02:00
Perttu Ahola 13b72276c8 games: Fix everything 2014-10-28 17:17:25 +02:00
Perttu Ahola 4048a51a6a games/minigame: Crappy recovery from reload 2014-10-28 15:43:59 +02:00
Perttu Ahola a32e09b9a7 games/digger/worldgen -> builtin/worldgen 2014-10-28 13:58:57 +02:00
Perttu Ahola a8c83391d8 games/digger: Update to new scene handling 2014-10-28 13:56:30 +02:00
Perttu Ahola 24636e9dd7 games/digger: Show worldgen queue size on client 2014-10-28 01:53:21 +02:00
Perttu Ahola 8d4fc82919 games/digger/worldgen: Queue generation requests so that generation progress can be measured 2014-10-28 01:52:49 +02:00
Perttu Ahola 470d77cb68 interface/server: emit_event(type) 2014-10-28 00:54:15 +02:00
Perttu Ahola 261864ff42 builtin/voxelworld, games/digger: Way more robust startup sequence 2014-10-28 00:20:52 +02:00
Perttu Ahola f2919b06bb Switch to using #define MODULE in modules, and rename Module::MODULE to Module::m_module_name 2014-10-27 16:01:23 +02:00
Perttu Ahola 76e3222e35 games/digger: Move world generation and voxel definitions to the worldgen module so that it can slowly generate the world while the main module is always responsive towards clients 2014-10-27 01:18:55 +02:00
Perttu Ahola b50656f505 Break coding style 2014-10-27 01:08:16 +02:00
Perttu Ahola 4937a83ac5 server: Run modules in separate threads 2014-10-27 01:01:47 +02:00
Perttu Ahola 9fc9f846e2 games/digger: Use force-based player movement 2014-10-23 13:59:28 +03:00
Perttu Ahola 917ef1b3ad Break coding style 2014-10-22 12:30:29 +03:00
Perttu Ahola 45a33aa8c7 games/digger: Switch to previous starting position 2014-10-22 11:53:41 +03:00
Perttu Ahola 4b63edb951 games: Fix everything to work with current interfaces 2014-10-22 01:27:22 +03:00
Perttu Ahola 2e4a1b3ed8 Rename VoxelInstance::getId() to VoxelInstance::get_id() 2014-10-21 19:08:57 +03:00
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