Commit Graph

248 Commits (master)

Author SHA1 Message Date
Dorian Wouters 8bcb4499f6
AABB: don't use glm detail types 2016-07-02 14:23:10 +02:00
Dorian Wouters 09d405a4cc
Fix broken lds submodule ref 2016-07-02 12:57:39 +02:00
Dorian Wouters a6f7c1b8db
Start splitting renderer, add BlockUpdate MsgType 2016-07-02 12:35:52 +02:00
Dorian Wouters a74b4bcf30
src/CMakeLists: add error when not compiling w/ root CMakeLists 2016-07-02 11:13:02 +02:00
Dorian Wouters 7d4a214b9a
Player: remove Infiniminer leftovers, sprite 2016-07-02 11:09:23 +02:00
Dorian Wouters 4940f8a776
Remove GameState::BuilderGun 2016-07-02 01:10:37 +02:00
Dorian Wouters 3823e82410
Switch chat to MsgType; put msgpack::zones in them 2016-07-02 00:52:28 +02:00
Dorian Wouters 8433deb3e0
CMake: add C++14 support checks 2016-07-01 23:24:14 +02:00
Dorian Wouters c959e579e2
Fix compiler warning about MsgType not having virtual destructor 2016-07-01 21:41:45 +02:00
Dorian Wouters 20a5d73a91
Make LightData a POD struct; rename Metadata to Extdata 2016-07-01 21:20:39 +02:00
Dorian Wouters 930f9a0504
Remove Infiniminer-like UI leftovers 2016-07-01 11:48:12 +02:00
Dorian Wouters 1b6ce4c515
Add net TX/RX to F5 debug info 2016-07-01 11:37:30 +02:00
Dorian Wouters 16db465be3
Convert tabs to 2 spaces 2016-07-01 11:35:08 +02:00
Dorian Wouters 194e4941de
Rename (Dis)Connect into Net(Dis)Connect (to show its specialness) 2016-06-30 20:11:38 +02:00
Dorian Wouters c0d498456a
net: create structs to (un)serialize Message data
Create {In,Out}MemoryStream, convert {In,Out}Message into them
2016-06-30 20:06:53 +02:00
Dorian Wouters 1073eac8a5
Stream: make tell() const, alias seek with PosT instead of OffT
Also make InMessage::getCursorPtr return a const pointer, and add
InMessage::data() to access the backing buffer.
2016-06-23 21:06:14 +02:00
Dorian Wouters d6ec72d859
Update README 2016-06-23 19:52:03 +02:00
Dorian Wouters 3a01fefc42
OutMessage/Host: data buffer is now zero-copied when sending message 2016-06-23 17:26:56 +02:00
Dorian Wouters 843c0b3f65
Clarify which GLFW+ENet version is in use, and which was linked to 2016-06-22 20:50:50 +02:00
Dorian Wouters b0c22dca36
FBO: remove use of Desktop GL functionality 2016-06-22 20:38:49 +02:00
Dorian Wouters 1749f49fb4
GameWindow: add GLFW error callback 2016-06-22 19:43:39 +02:00
Dorian Wouters 96e765da4d
CMakeLists: change "GLM" to "glm" so CMake finds glmConfig.cmake 2016-06-22 12:42:29 +02:00
Dorian Wouters 4f3110681c
Message: add remaining(), count of bytes till buffer end 2016-06-20 09:44:52 +02:00
Dorian Wouters 5273470260
InMessage: inline getCursorPtr, OutMessage: add msgpack::pack compat 2016-06-19 23:29:10 +02:00
Dorian Wouters f5c2ca3d57
Sort src/CMakeLists.txt 2016-06-19 23:01:33 +02:00
Dorian Wouters 3ddf156f17
World.hpp: rename old include guard 2016-06-19 22:58:14 +02:00
Dorian Wouters 9d6a867773
net: zero-copy encapsulation of ENet packets into InMessage 2016-06-19 18:50:17 +02:00
Dorian Wouters 3e68bdc89b
net: do not hardcode header size 2016-06-19 18:28:16 +02:00
Dorian Wouters 36df9a74b5
net::Host: add RX and TX bytes counter 2016-06-19 17:50:48 +02:00
Dorian Wouters aaee5ff25e
Rename AtlasCreator to TexturePacker 2016-06-18 16:46:14 +02:00
Dorian Wouters 00e7236f3f
OutMessage: inline write(I)Vec3 2016-06-18 00:01:24 +02:00
Dorian Wouters 35b1110e51
net::{Peer,Host}: use unsigned timeouts and ports 2016-06-17 23:55:29 +02:00
Dorian Wouters 2239dcdfed
Network.cpp: avoid C-style casts 2016-06-17 23:44:11 +02:00
Dorian Wouters cc8cd4ae73
Move InMessage::fromData length param to last, change to SizeT 2016-06-17 23:31:41 +02:00
Dorian Wouters 42ee3efdba
Fix InMessage::readIVec3 member read order 2016-06-17 23:24:52 +02:00
Dorian Wouters 0e0313a4c5
InMessage::readVec3: remove use of pointless struct 2016-06-17 23:23:34 +02:00
Dorian Wouters eee759cd17
Make OutMessage::writeIVec3 actually take a glm::ivec3 2016-06-17 23:22:06 +02:00
Dorian Wouters 12a11f768a
Streams: use SizeT instead of int for lengths 2016-06-17 23:19:52 +02:00
Dorian Wouters cd293aee13
Make {In,Out}Message seekable, ditch Event subtypes 2016-06-17 23:07:25 +02:00
Dorian Wouters ad2e9eb5f0
util: create BitmapDumper; dumps PPM bitmaps 2016-06-17 09:54:44 +02:00
Dorian Wouters 3922754906
ui::Manager: fix uninitalized button enum variable 2016-06-17 09:54:36 +02:00
Dorian Wouters c5ec1e567d README: add LuaJIT as dependency 2016-05-01 22:33:02 +02:00
Dorian Wouters 4f8e79eb24 s/Lua/LuaJIT/, add isRemote to Universe & World, add msgpack 2016-05-01 18:55:57 +02:00
Dorian Wouters 1ae57bd01b Prepare Chunk for future mmap MADV_FREE 2016-04-18 12:41:35 +02:00
Dorian Wouters c495009058 Lua modding structure test: improve loading 2016-04-18 12:06:39 +02:00
Dorian Wouters 2af489e9fa Step up, use C++14 2016-04-18 11:57:32 +02:00
Dorian Wouters ee0767ba6d ProgramManager.hpp: fix some indentation 2016-04-18 11:49:49 +02:00
Dorian Wouters 4187a2c994 Add better ray tracing facilities; broken swept AABB collisions 2016-02-23 22:04:18 +01:00
Dorian Wouters e1b8b5baa8 Revert "Change rmod (Real Modulo) to std::remainder"
This reverts commit 61f89a5dcc.
2016-01-30 15:42:05 +01:00
Dorian Wouters eb7864a662 Fix CMake not building when running in top dir 2016-01-30 13:09:00 +01:00