Commit Graph

768 Commits (master)

Author SHA1 Message Date
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 ee1df4fd40 impl/voxel: add_voxel(): Make sure that a voxel of the same name doesn't alrady exist 2014-10-21 18:19:26 +03:00
Perttu Ahola 6d7a88dad2 lua_bindings: VoxelName, AtlasSegmentDefinition, VoxelDefinition and VoxelRegistry::add_voxel() 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 fea7208fa0 impl/mesh: generate_voxel_physics_boxes(): Throw on undefined voxel 2014-10-21 18:19:26 +03:00
Perttu Ahola 3e84167b94 Fix coding style 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 a6d5421e98 util/extra_cpp_style.py, util/codestyle.sh: Fix stuff 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 cc9ab1a866 lua_bindings/mesh.cpp: Move code around to be more readable 2014-10-21 18:19:26 +03:00
Perttu Ahola c932742016 lua_bindings/mesh.cpp: Clean up Tolua++ glue code 2014-10-21 18:19:26 +03:00
Perttu Ahola 4c7e59138f CMakeLists.txt, core/sajson.h: Get rid of warnings 2014-10-21 18:19:26 +03:00
Perttu Ahola 9fb6eae4a0 lua_bindings: Use Luabind where handy 2014-10-21 18:19:26 +03:00
Perttu Ahola fff7682d10 core/types: inline ss_ dump(const int &v) 2014-10-21 18:19:26 +03:00
Perttu Ahola 56a5dff83d doc 2014-10-21 18:19:26 +03:00
Perttu Ahola bbc300f540 VoxelRegistry Lua interface WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola 89ed2a114c 3rdparty/luabind-deboostified 2014-10-21 18:19:25 +03:00
Perttu Ahola 5902d10a4f games/digger: More interesting world generation 2014-10-21 18:19:25 +03:00
Perttu Ahola 5cbb96396b doc/todo, doc/most_important_performance_issues 2014-10-21 18:19:25 +03:00
Perttu Ahola bee6f91275 Add build option: DEBUG_LOG_TIMING: Output log messages of interesting but floody time measurements 2014-10-21 18:19:25 +03:00
Perttu Ahola cef5dfae31 impl/worker_thread: Fix overtime cutoff 2014-10-21 18:19:25 +03:00
Perttu Ahola 7c45a79568 interface/mesh, lua_bindings/voxel: Generate physics boxes using thread pool 2014-10-21 18:19:25 +03:00
Perttu Ahola de2c956825 impl/worker_thread, client/app: Smooth post() processing of tasks 2014-10-21 18:19:25 +03:00
Perttu Ahola 339a8225da client/app, lua_bindings/voxel: Generate voxel geometry in thread pool 2014-10-21 18:19:25 +03:00
Perttu Ahola 9c861b3063 interface/worker_thread 2014-10-21 18:19:25 +03:00
Perttu Ahola 62d3c66760 interface/semaphore 2014-10-21 18:19:25 +03:00
Perttu Ahola ec0dee89a1 interface/mutex: Implement 2014-10-21 18:19:25 +03:00
Perttu Ahola ced7361400 CMakeLists.txt, server/state: Use buildat core library on the client too 2014-10-21 18:19:25 +03:00
Perttu Ahola d7394fd89e interface/mesh: Threadable voxel geometry generation 2014-10-21 18:19:25 +03:00
Perttu Ahola 8ae06bea14 interface/mesh,atlas,voxel: Split geometry and physics generation into threadable and non-threadable parts 2014-10-21 18:19:25 +03:00
Perttu Ahola f13839a270 builtin/voxelworld: Load a small region for faster testing 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 b24190810f impl/mesh: set_voxel_physics_boxes(): Create temporary boxes first to separate the process into threadable and non-threadable parts 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 34bbb085a9 doc/todo 2014-10-21 18:19:25 +03:00
Perttu Ahola 792162a0c1 builtin/voxelworld: A bit less time per frame for node updates 2014-10-21 18:19:25 +03:00
Perttu Ahola 4e6e3a423d impl/mesh.cpp: Align LOD geometry too 2014-10-21 18:19:25 +03:00
Perttu Ahola 2545485079 impl/mesh.cpp: Align integer coordinates to centers of voxels 2014-10-21 18:19:25 +03:00
Perttu Ahola d40cf52ee9 Fix coding style 2014-10-21 18:19:25 +03:00
Perttu Ahola dc84869464 util/extra_cpp_style.py: Handle more cases 2014-10-21 18:19:25 +03:00
Perttu Ahola f64adf35d6 Fix coding style 2014-10-21 18:19:25 +03:00
Perttu Ahola ad528c2443 util/codestyle.sh: Fix uncrustify's parameter lambda comment indentation using sed 2014-10-21 18:19:25 +03:00
Perttu Ahola 03cfa56831 util/uncrusfity.cfg: indent_cmt_with_tabs = true -> false; this isn't ideal but it's still better than the alternative 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 8f196bb0e6 client/main, server/main: -L redirects log to a specified file 2014-10-21 18:19:25 +03:00