]>
git.localhorst.tv Git - blank.git/log
Daniel Karbach [Tue, 8 Sep 2015 14:12:31 +0000 (16:12 +0200)]
split graphics stuff from AI spawner
Daniel Karbach [Tue, 8 Sep 2015 14:01:08 +0000 (16:01 +0200)]
fix special case in rng
Daniel Karbach [Tue, 8 Sep 2015 09:55:00 +0000 (11:55 +0200)]
sync entities with clients
Daniel Karbach [Mon, 7 Sep 2015 14:37:43 +0000 (16:37 +0200)]
also tell connection handlers about ack'd packets
Daniel Karbach [Sat, 5 Sep 2015 14:16:45 +0000 (16:16 +0200)]
send player updates from client to server
Daniel Karbach [Sat, 5 Sep 2015 13:45:11 +0000 (15:45 +0200)]
make server aware connected clients' player entity
Daniel Karbach [Sat, 5 Sep 2015 12:56:49 +0000 (14:56 +0200)]
adjust player index if entity is removed
Daniel Karbach [Sat, 5 Sep 2015 12:56:40 +0000 (14:56 +0200)]
documented packet structure
Daniel Karbach [Fri, 4 Sep 2015 22:27:15 +0000 (00:27 +0200)]
give unique IDs to entities
please don't modify from outside the world :P
Daniel Karbach [Fri, 4 Sep 2015 14:44:19 +0000 (16:44 +0200)]
fix stupid bug in packet builder
Daniel Karbach [Fri, 4 Sep 2015 14:38:56 +0000 (16:38 +0200)]
fixed transmission control
Daniel Karbach [Fri, 4 Sep 2015 08:42:45 +0000 (10:42 +0200)]
reorganized client state
Daniel Karbach [Thu, 3 Sep 2015 08:39:52 +0000 (10:39 +0200)]
defined and implemented join and part packets
Daniel Karbach [Wed, 2 Sep 2015 21:40:21 +0000 (23:40 +0200)]
tag packets withsequence numbers
acks are already transmitted to the other side,
but they're not used yet
Daniel Karbach [Wed, 2 Sep 2015 20:33:08 +0000 (22:33 +0200)]
client-side implementation of login packet
chunk loading has to change:
need to stop the client from generating chunks on its own and
the server must be able to load chunks for multiple bases
also, I've not written a single test for all this crap
shame on me
Daniel Karbach [Wed, 2 Sep 2015 19:18:49 +0000 (21:18 +0200)]
special treatment for players
with some drawbacks and cut corners, but more to come
Daniel Karbach [Wed, 2 Sep 2015 15:27:01 +0000 (17:27 +0200)]
first draft for client/server architecture
Daniel Karbach [Mon, 31 Aug 2015 11:49:38 +0000 (13:49 +0200)]
add minimal debug symbols in release build
this should make tracing core dumps much easier
and they can always be stripped anyway
Daniel Karbach [Fri, 28 Aug 2015 14:09:30 +0000 (16:09 +0200)]
give feedback to stdout when profiling
Daniel Karbach [Fri, 28 Aug 2015 14:05:27 +0000 (16:05 +0200)]
sort chunk candidates before detailed check
this makes the check from nearest to farthest which should save a
lot of work. too bad that profiling currently runs with the aim
pointing into nothingness, so results aren't visible. may have to
check that again some time
Daniel Karbach [Fri, 28 Aug 2015 13:43:51 +0000 (15:43 +0200)]
lerp random walk and make it change ang vel
Daniel Karbach [Fri, 28 Aug 2015 13:28:13 +0000 (15:28 +0200)]
fix divide by zero in Chaser AI
Daniel Karbach [Fri, 28 Aug 2015 09:15:13 +0000 (11:15 +0200)]
avoid library rand()
Daniel Karbach [Fri, 28 Aug 2015 07:03:01 +0000 (09:03 +0200)]
split composite model in template and instance
Daniel Karbach [Thu, 27 Aug 2015 14:13:41 +0000 (16:13 +0200)]
reference count entities for safer removal
Daniel Karbach [Thu, 27 Aug 2015 09:45:20 +0000 (11:45 +0200)]
split chunk redering from world model
first step towards headless
Daniel Karbach [Fri, 21 Aug 2015 07:59:01 +0000 (09:59 +0200)]
explicit reference for world coordinates
Daniel Karbach [Wed, 19 Aug 2015 09:56:29 +0000 (11:56 +0200)]
some outline improvements
Daniel Karbach [Tue, 18 Aug 2015 14:46:42 +0000 (16:46 +0200)]
display focused entity in debug overlay
Daniel Karbach [Tue, 18 Aug 2015 11:23:47 +0000 (13:23 +0200)]
use collision structures for ray tests
Daniel Karbach [Mon, 17 Aug 2015 15:29:38 +0000 (17:29 +0200)]
check for entities under crosshair
also display aim block information in debug overlay, sorry
Daniel Karbach [Mon, 17 Aug 2015 09:23:27 +0000 (11:23 +0200)]
fix some inline TODOs
Daniel Karbach [Fri, 14 Aug 2015 12:16:56 +0000 (14:16 +0200)]
make buttons configurable
Daniel Karbach [Fri, 14 Aug 2015 09:39:39 +0000 (11:39 +0200)]
the sound thing
Daniel Karbach [Thu, 13 Aug 2015 16:30:13 +0000 (18:30 +0200)]
show player orientation in debug overlay
Daniel Karbach [Thu, 13 Aug 2015 16:08:22 +0000 (18:08 +0200)]
dedicated shader for outlines
Daniel Karbach [Thu, 13 Aug 2015 06:43:15 +0000 (08:43 +0200)]
fix normal in intersection ray/box intersection
was transformed by M which apparently was wrong :)
Daniel Karbach [Thu, 13 Aug 2015 14:45:54 +0000 (16:45 +0200)]
blank screen before doing anything serious
Daniel Karbach [Thu, 13 Aug 2015 12:28:04 +0000 (14:28 +0200)]
collect and load textures required by block types
Daniel Karbach [Wed, 12 Aug 2015 11:46:09 +0000 (13:46 +0200)]
load block types from data file
Daniel Karbach [Tue, 11 Aug 2015 13:17:54 +0000 (15:17 +0200)]
allow multiple meshes per entity
organized in a tree with each node haing its local
position/orientation relative to the parent
Daniel Karbach [Tue, 11 Aug 2015 08:18:53 +0000 (10:18 +0200)]
centralize fonts
Daniel Karbach [Tue, 11 Aug 2015 08:06:11 +0000 (10:06 +0200)]
enhanced application state control
Daniel Karbach [Mon, 10 Aug 2015 15:35:46 +0000 (17:35 +0200)]
try to get every chunk change saved to disk
Daniel Karbach [Mon, 10 Aug 2015 14:48:59 +0000 (16:48 +0200)]
different limits for reading and generating chunks
Daniel Karbach [Mon, 10 Aug 2015 14:24:21 +0000 (16:24 +0200)]
save and load chunk data
currently running a one chunk per file approach for simplicity
Daniel Karbach [Sun, 9 Aug 2015 18:16:16 +0000 (20:16 +0200)]
save and load world seed
first four bytes of persistence, yay ^^
Daniel Karbach [Sun, 9 Aug 2015 17:28:12 +0000 (19:28 +0200)]
fix error in make_dirs and add is_file
trailing separator caused make_dir to be called twice with the same
path which caused it to fail the second time
Daniel Karbach [Sun, 9 Aug 2015 16:26:20 +0000 (18:26 +0200)]
configurable asset and save path
Daniel Karbach [Sat, 8 Aug 2015 21:13:45 +0000 (23:13 +0200)]
textures
textures
textures
textures
textures
Daniel Karbach [Fri, 7 Aug 2015 14:49:24 +0000 (16:49 +0200)]
check line of sight in chase ai
Daniel Karbach [Fri, 7 Aug 2015 13:19:55 +0000 (15:19 +0200)]
speed up entity rotation a little
because it's fun
Daniel Karbach [Fri, 7 Aug 2015 13:17:01 +0000 (15:17 +0200)]
tvec[234]<int> -> ivec[234]
howcome I didn't think of that before? lol
Daniel Karbach [Fri, 7 Aug 2015 13:04:47 +0000 (15:04 +0200)]
(hopefully) cross-platform directory functions
Daniel Karbach [Fri, 7 Aug 2015 11:20:03 +0000 (13:20 +0200)]
correct usage of quaternions :P
Daniel Karbach [Thu, 6 Aug 2015 16:41:46 +0000 (18:41 +0200)]
another type of entity controller
just to mix it up
also, I realy have to fix rotation, they're getting all deformed ^^
Daniel Karbach [Thu, 6 Aug 2015 15:20:23 +0000 (17:20 +0200)]
simple (text) progress display for preloader
Daniel Karbach [Thu, 6 Aug 2015 10:34:56 +0000 (12:34 +0200)]
simple preloader
Daniel Karbach [Thu, 6 Aug 2015 09:03:46 +0000 (11:03 +0200)]
state management and control
Daniel Karbach [Wed, 5 Aug 2015 16:31:16 +0000 (18:31 +0200)]
randomly spawn entities around the player
and remove those too far away
Daniel Karbach [Tue, 4 Aug 2015 16:48:19 +0000 (18:48 +0200)]
moved entity spawn and control into its own class
called "Spawner" if that is somehow non-obvious
Daniel Karbach [Tue, 4 Aug 2015 16:30:29 +0000 (18:30 +0200)]
move RandomWalk into new "ai" module
Daniel Karbach [Tue, 4 Aug 2015 16:29:04 +0000 (18:29 +0200)]
make entities removable
Daniel Karbach [Tue, 4 Aug 2015 16:12:04 +0000 (18:12 +0200)]
move init out of Application class
Daniel Karbach [Mon, 3 Aug 2015 16:40:03 +0000 (18:40 +0200)]
show camera position in debug overlay
Daniel Karbach [Mon, 3 Aug 2015 16:24:07 +0000 (18:24 +0200)]
remove positional frames argument
-n now mandatory
Daniel Karbach [Mon, 3 Aug 2015 15:37:58 +0000 (17:37 +0200)]
"streamlined" model/VAO handling
Daniel Karbach [Sat, 1 Aug 2015 13:00:07 +0000 (15:00 +0200)]
some experiments with sound
Daniel Karbach [Fri, 31 Jul 2015 13:32:21 +0000 (15:32 +0200)]
also show peak in frame counter
Daniel Karbach [Tue, 28 Jul 2015 15:40:49 +0000 (17:40 +0200)]
also post UI messages to graphical output
Daniel Karbach [Tue, 28 Jul 2015 11:10:59 +0000 (13:10 +0200)]
combine text handling stuff into a class
Daniel Karbach [Mon, 27 Jul 2015 14:52:42 +0000 (16:52 +0200)]
move font color from texture to uniform
Daniel Karbach [Mon, 27 Jul 2015 11:53:58 +0000 (13:53 +0200)]
reorganize basic rendering functionality
Daniel Karbach [Thu, 23 Jul 2015 14:25:40 +0000 (16:25 +0200)]
display frame counter
F3 to toggle
Daniel Karbach [Thu, 23 Jul 2015 11:42:28 +0000 (13:42 +0200)]
collect timing information
Daniel Karbach [Thu, 23 Jul 2015 08:34:49 +0000 (10:34 +0200)]
fancy crosshair
don't use on .5 gray ;)
Daniel Karbach [Thu, 23 Jul 2015 07:21:00 +0000 (09:21 +0200)]
propagate light into blocking blocks
this way semi-filled blocks like slabs don't blacken surfaces
behind them, but they will be bright when part of a 1 thick wall
Daniel Karbach [Wed, 22 Jul 2015 15:32:55 +0000 (17:32 +0200)]
made chunk neighbor linkage a little safer
Daniel Karbach [Wed, 22 Jul 2015 10:28:25 +0000 (12:28 +0200)]
set and display block type labels
Daniel Karbach [Tue, 21 Jul 2015 07:00:40 +0000 (09:00 +0200)]
implemented font redering
Daniel Karbach [Fri, 26 Jun 2015 13:10:10 +0000 (15:10 +0200)]
better edge light propagation on link
Daniel Karbach [Fri, 26 Jun 2015 10:39:31 +0000 (12:39 +0200)]
entity/world collision response
Daniel Karbach [Thu, 25 Jun 2015 15:44:41 +0000 (17:44 +0200)]
collect collisions for each entity
Daniel Karbach [Thu, 25 Jun 2015 13:26:58 +0000 (15:26 +0200)]
figure out depth and normal in box/box test
Daniel Karbach [Wed, 24 Jun 2015 14:26:44 +0000 (16:26 +0200)]
test entities for world collision
useless and slow as hell, but hey, it's a start ^^
Daniel Karbach [Tue, 23 Jun 2015 15:41:55 +0000 (17:41 +0200)]
plug box intersection into shapes
Daniel Karbach [Tue, 23 Jun 2015 12:54:00 +0000 (14:54 +0200)]
box/box intersection test
only boolean test for now
Daniel Karbach [Tue, 23 Jun 2015 08:26:33 +0000 (10:26 +0200)]
use a timer to limit chunk generation
this should reduce load when updating more than once per frame
which is planned
someday
Daniel Karbach [Wed, 17 Jun 2015 07:16:23 +0000 (09:16 +0200)]
added build instructions for testing
Daniel Karbach [Mon, 15 Jun 2015 10:30:34 +0000 (12:30 +0200)]
some cleaning :)
Daniel Karbach [Mon, 15 Jun 2015 08:13:25 +0000 (10:13 +0200)]
fixed light propagation after obstacle removal
regression from
4485397d
careful with the yoda conditions!
Daniel Karbach [Fri, 12 Jun 2015 13:46:46 +0000 (15:46 +0200)]
more chunk tests
Daniel Karbach [Fri, 12 Jun 2015 10:39:47 +0000 (12:39 +0200)]
weird return value is weird
but I can totally explain that...
Daniel Karbach [Fri, 12 Jun 2015 10:32:03 +0000 (12:32 +0200)]
unit test for interval timer
Daniel Karbach [Thu, 11 Jun 2015 15:46:07 +0000 (17:46 +0200)]
some tests for Chunk
Daniel Karbach [Thu, 11 Jun 2015 13:29:35 +0000 (15:29 +0200)]
fix ray/obb intersection test
again, unit tests \o/
also: careful with the signs ;)
Daniel Karbach [Thu, 11 Jun 2015 12:34:41 +0000 (14:34 +0200)]
fix faceset unset
unit tests. oh yeah
Daniel Karbach [Wed, 10 Jun 2015 14:57:25 +0000 (16:57 +0200)]
some code reorganization
Daniel Karbach [Tue, 2 Jun 2015 13:30:17 +0000 (15:30 +0200)]
minor optimizations in chunk
Daniel Karbach [Tue, 2 Jun 2015 12:30:34 +0000 (14:30 +0200)]
block place/remove timers