Commit Graph

248 Commits (master)

Author SHA1 Message Date
Dorian Wouters 91ede2629a Add minimal README about dependencies 2016-01-30 12:24:27 +01:00
Dorian Wouters 180f2dda08 Add doc directory readme 2016-01-02 20:03:37 +01:00
Dorian Wouters 880cb5b595 Rename spec to spec.md 2016-01-02 20:03:37 +01:00
Dorian Wouters b674f9d955 Remove deprecated CaveGenerator code; update spec 2016-01-02 20:03:37 +01:00
Dorian Wouters 89424f4c9a Add comment about C++11 constructors parameters reverse eval order 2016-01-02 20:03:37 +01:00
Dorian Wouters efe3d20177 Remove unused variable 2016-01-02 20:03:37 +01:00
Dorian Wouters 939a39c57b Texture: inline getId, fix signedness warning, reindent switches 2016-01-02 20:03:37 +01:00
Dorian Wouters 61f89a5dcc Change rmod (Real Modulo) to std::remainder
C++11's std::remainder is equivalent to what rmod was achieving with
std::fmod, plus the standard implementation and possible platform-
specific optimizations that are then handled by the compiler/libstdc++
itself, and minus the possible imprecision issues arising from std::fmod
usage (see http://stackoverflow.com/questions/26519082/why-
am-i-getting-a-different-result-from-stdfmod-and-stdremainder).
2016-01-02 20:03:37 +01:00
Dorian Wouters ebb287411c Remove Datrees (to be replaced by MsgPack maps) 2016-01-02 20:03:37 +01:00
Dorian Wouters cddc4f9a02 Work on UI and UI::Manager. GL Viewport is now automatically scaled on resize. 2016-01-02 20:03:37 +01:00
Dorian Wouters 118f8c9443 Fix chunks being swapped X/Z, basic mapgen 2016-01-02 20:03:37 +01:00
Dorian Wouters 47ecebae40 Fix round-down division bug causing issues with block position
This fixes rendering issues with weird transparent blocks.
Also deletes underscore pointer manager, replacing it with
std::unique_ptr.
2016-01-02 20:03:37 +01:00
Dorian Wouters ad6aed5179 Convert to GL ES 2.0, batch Chunk transfer 2016-01-02 20:03:37 +01:00
Dorian Wouters 0c7d72a76d Switch to libEpoxy
Among other things.
2016-01-02 20:03:37 +01:00
Dorian Wouters 82db863f4e Introduce Universe, infinite Worlds, dynamic block creation 2016-01-02 20:03:37 +01:00
Dorian Wouters 0a7ae04bef Add MSVC compiler handling, continue work on Particle emitter, Chunk InMem compression ratio counter 2016-01-02 20:03:37 +01:00
Dorian Wouters df0fe011c7 In-mem chunk compression experiment, begin Lua scripting 2016-01-02 20:03:37 +01:00
Dorian Wouters 5d2e1b6263 Better player pos interpolation 2016-01-02 20:03:37 +01:00
Dorian Wouters e7d8954ab9 Chatbox (display) cursor, transparent blocks rendered last (local chunk only), resize escape menu 2016-01-02 20:03:37 +01:00
Dorian Wouters f2062d6fe7 Faster atlas creation
Block selection
Chunk de/compression now uses internal buffer directly (0-copy)
Optimized Chunk vertices list order (faster vert access from GPU cache)
F5 Debug info: added triangle count
Implemented ladder climb
Road + jump pad makes you jump farther
Fixed bad fog color blending (alpha-channel)
Changed LZFX and enet compilation to Release, -O3
2016-01-02 20:03:37 +01:00
Dorian Wouters 8e0e3babde Move Clouds class to new Renderer structure (+delete Arr3) 2016-01-02 20:03:37 +01:00
Dorian Wouters 6b2b2d8e75 Fix diamond generation 2016-01-02 20:03:37 +01:00
Dorian Wouters 0bedf5c690 Chunk update optimizations (don't recompute verts if not shown) 2016-01-02 20:03:37 +01:00
Dorian Wouters 118fdd016d New cave gen 2016-01-02 20:03:37 +01:00
Dorian Wouters a906b1c99e Added waving lava 2016-01-02 20:03:37 +01:00
Dorian Wouters 44b590b798 Reworked some IO parts: IO streams are now generic 2016-01-02 20:03:37 +01:00
Dorian Wouters d8d323a76e Implemented (display) player rotation 2016-01-02 20:03:37 +01:00
Dorian Wouters 0557621415 Begin player sprite implementation 2016-01-02 20:03:37 +01:00
Dorian Wouters 1fa38eb0e3 Shaders reorganize, stat bar background, GLM SIMD usage line print 2016-01-02 20:03:37 +01:00
Dorian Wouters a22eb07488 PNG compression, crosshair, beginnings of builder gun code 2016-01-02 20:03:37 +01:00
Dorian Wouters 3ece2545cf Add .gitignore 2016-01-02 20:03:37 +01:00
Dorian Wouters 2532e1e2b7 Draw clouds first 2016-01-02 20:03:37 +01:00
Dorian Wouters 0962b35a24 add map edition by client 2016-01-02 20:03:37 +01:00
Dorian Wouters 70c31db103 Add fall death 2016-01-02 20:03:37 +01:00
Dorian Wouters 30c547da28 Better block pointing, i.e. faced face detection (somehow does edges) 2016-01-02 20:03:37 +01:00
Dorian Wouters 00ee3430b2 Added block pointing 2016-01-02 20:03:37 +01:00
Dorian Wouters 756339cf2a Fix texture resize leading to wrong rendering when maximizing then rewindowing 2016-01-02 20:03:37 +01:00
Dorian Wouters a4076d4355 Woops 2016-01-02 20:03:37 +01:00
Dorian Wouters 1d28bfae73 Minor fixes 2016-01-02 20:03:37 +01:00
Dorian Wouters 20a26c23fc Move main Game ownership, fix some memory leaks 2016-01-02 20:03:37 +01:00
Dorian Wouters af6f4c62b3 Fix bad sound paths leading to crash by std::out_of_range 2016-01-02 20:03:37 +01:00
Dorian Wouters eba028f389 things 2016-01-02 20:03:37 +01:00
Dorian Wouters a7d6b915dc move & indent 2016-01-02 20:03:37 +01:00
Dorian Wouters dd300b2cf9 mouse hold 2016-01-02 20:03:37 +01:00
Dorian Wouters d859094a58 begin implementing death 2016-01-02 20:03:37 +01:00
Dorian Wouters 08e0ea27a0 wooohooooo 2016-01-02 20:03:37 +01:00
Dorian Wouters 693e5a2a80 updayte 2016-01-02 20:03:37 +01:00
Dorian Wouters 3c0ae6f49e Init commit 2016-01-02 20:00:07 +01:00