]>
git.localhorst.tv Git - l2e.git/log
Daniel Karbach [Wed, 17 Oct 2012 19:40:24 +0000 (21:40 +0200)]
removed debug output from main
Daniel Karbach [Wed, 17 Oct 2012 19:34:48 +0000 (21:34 +0200)]
removed now superfluous Application parameter to State callbacks
Daniel Karbach [Wed, 17 Oct 2012 19:14:31 +0000 (21:14 +0200)]
store an application handle in each state
Daniel Karbach [Wed, 17 Oct 2012 18:44:51 +0000 (20:44 +0200)]
wrapped some virtual State methods in non-virtual calls
Daniel Karbach [Wed, 17 Oct 2012 18:21:56 +0000 (20:21 +0200)]
renamed app::State's Resize -> OnResize
Daniel Karbach [Tue, 16 Oct 2012 21:02:42 +0000 (23:02 +0200)]
renamed state callbacks
Daniel Karbach [Tue, 16 Oct 2012 20:41:01 +0000 (22:41 +0200)]
commented headers in geometry directory ^^
Daniel Karbach [Tue, 16 Oct 2012 20:33:33 +0000 (22:33 +0200)]
commented headers in app/ directory
Daniel Karbach [Sun, 14 Oct 2012 21:42:59 +0000 (23:42 +0200)]
handle compare/jump instructions in script assembler
Daniel Karbach [Sun, 14 Oct 2012 21:19:58 +0000 (23:19 +0200)]
added script labels in parser/interpreter
Daniel Karbach [Sun, 14 Oct 2012 21:07:07 +0000 (23:07 +0200)]
added compare and jump codes for scripts
Daniel Karbach [Sun, 14 Oct 2012 18:00:30 +0000 (20:00 +0200)]
moved map data to maps.l2s
Daniel Karbach [Sun, 14 Oct 2012 15:06:33 +0000 (17:06 +0200)]
added script assembler
Daniel Karbach [Sun, 14 Oct 2012 13:34:33 +0000 (15:34 +0200)]
less verbose token code in parser
Daniel Karbach [Sun, 14 Oct 2012 13:31:29 +0000 (15:31 +0200)]
parse scripts
Daniel Karbach [Sun, 14 Oct 2012 12:44:38 +0000 (14:44 +0200)]
added new tokens
Daniel Karbach [Sun, 14 Oct 2012 11:56:25 +0000 (13:56 +0200)]
implemented modulo operation for scripts
Daniel Karbach [Sat, 13 Oct 2012 18:40:37 +0000 (20:40 +0200)]
use scripts for map triggers
Daniel Karbach [Sat, 13 Oct 2012 18:10:49 +0000 (20:10 +0200)]
first scripting implementation
Daniel Karbach [Sat, 13 Oct 2012 17:58:20 +0000 (19:58 +0200)]
fixed trigger type switch in Map
Daniel Karbach [Fri, 12 Oct 2012 19:25:18 +0000 (21:25 +0200)]
added directional triggers
these are useful e.g. for implementing doors
refs #18
Daniel Karbach [Fri, 12 Oct 2012 19:24:18 +0000 (21:24 +0200)]
fixed stepping algo again -.-
Daniel Karbach [Fri, 12 Oct 2012 18:56:23 +0000 (20:56 +0200)]
initialize lastLock to an improbable position
Daniel Karbach [Fri, 12 Oct 2012 18:55:03 +0000 (20:55 +0200)]
made targetless camera possible
also removed target dummy of map state which is no longer needed
Daniel Karbach [Fri, 12 Oct 2012 18:38:20 +0000 (20:38 +0200)]
implemented pushable entities and pushing
also fixed the stepping algorithm by accident
Daniel Karbach [Thu, 11 Oct 2012 21:43:25 +0000 (23:43 +0200)]
fixed entity bounds in Map
Daniel Karbach [Thu, 11 Oct 2012 19:44:42 +0000 (21:44 +0200)]
don't alloc memory for inline literals
those are copied into their destination and never ever linked anywhere else anyway
Daniel Karbach [Tue, 9 Oct 2012 21:27:55 +0000 (23:27 +0200)]
better allocation in interpreter
Daniel Karbach [Tue, 9 Oct 2012 20:43:37 +0000 (22:43 +0200)]
closed the gap between battle and map state (yay)
also introduces a GameConfig struct that should hold all global game data
Daniel Karbach [Tue, 9 Oct 2012 20:40:06 +0000 (22:40 +0200)]
better handling of nested state changes
Daniel Karbach [Tue, 9 Oct 2012 16:02:52 +0000 (18:02 +0200)]
added readme file
this contains some instructions for building and launching as well as pointers
to the wiki, bugtracker, me, myself, and I.
Daniel Karbach [Mon, 8 Oct 2012 21:46:34 +0000 (23:46 +0200)]
added textual type/field descriptions and wiki mode
the data types part of the loader source wiki page
(http://luke.redirectme.net/redmine/projects/l2e/wiki/LoaderSource)
can now be generated by passing -S as an argument.
Daniel Karbach [Mon, 8 Oct 2012 20:08:16 +0000 (22:08 +0200)]
added 500ms blackness between map transitions
dunno if that's the right amount, but should be something along those lines
Daniel Karbach [Mon, 8 Oct 2012 20:07:50 +0000 (22:07 +0200)]
added lead in/out time option for ColorFade
Daniel Karbach [Sun, 7 Oct 2012 19:02:25 +0000 (21:02 +0200)]
store complete entity in hero
Daniel Karbach [Sun, 7 Oct 2012 19:00:48 +0000 (21:00 +0200)]
added loading callback for type descriptions
this can be used if additional setup is needed after raw data loading is complete
Daniel Karbach [Sun, 7 Oct 2012 18:08:43 +0000 (20:08 +0200)]
moved map sprites to data file
Daniel Karbach [Sun, 7 Oct 2012 17:39:55 +0000 (19:39 +0200)]
moved Hero and Stats to common
Daniel Karbach [Sun, 7 Oct 2012 14:15:50 +0000 (16:15 +0200)]
added map transition state
Daniel Karbach [Sun, 7 Oct 2012 14:15:15 +0000 (16:15 +0200)]
break out of physics loop if a state change happened
Daniel Karbach [Sun, 7 Oct 2012 13:56:34 +0000 (15:56 +0200)]
added ColorFade to graphics fwd.h
Daniel Karbach [Sun, 7 Oct 2012 13:49:42 +0000 (15:49 +0200)]
added color fading state
this can fade a state to and from a solid color
Daniel Karbach [Sun, 7 Oct 2012 13:00:20 +0000 (15:00 +0200)]
made TileAt/AreaAt fail silently
this way the game does not halt when the player walks off the map
Daniel Karbach [Sun, 7 Oct 2012 12:54:55 +0000 (14:54 +0200)]
extracted map loading/unloading
Daniel Karbach [Sun, 7 Oct 2012 12:40:20 +0000 (14:40 +0200)]
added temporary map transition implementation
Daniel Karbach [Sat, 6 Oct 2012 21:45:57 +0000 (23:45 +0200)]
added second map to transition to
Daniel Karbach [Sat, 6 Oct 2012 21:01:31 +0000 (23:01 +0200)]
use sdl utility functions for debug drawing
Daniel Karbach [Sat, 6 Oct 2012 21:01:03 +0000 (23:01 +0200)]
added some graphics primitive functions
Daniel Karbach [Sat, 6 Oct 2012 20:35:34 +0000 (22:35 +0200)]
added area bounds to debug overlay
Daniel Karbach [Sat, 6 Oct 2012 20:22:05 +0000 (22:22 +0200)]
moved test trigger to door coordinates
Daniel Karbach [Sat, 6 Oct 2012 20:21:48 +0000 (22:21 +0200)]
added triggers to map debug render
Daniel Karbach [Sat, 6 Oct 2012 20:08:11 +0000 (22:08 +0200)]
added debug mode for maps
currently shows tile blocking flags as little red lines
Daniel Karbach [Sat, 6 Oct 2012 20:07:19 +0000 (22:07 +0200)]
added 4 debug keys
you never know when you're gonna need those
Daniel Karbach [Sat, 6 Oct 2012 19:46:05 +0000 (21:46 +0200)]
added second map area
Daniel Karbach [Sat, 6 Oct 2012 00:06:41 +0000 (02:06 +0200)]
reversed order of monster checks
and added some TODOs
Daniel Karbach [Fri, 5 Oct 2012 20:48:02 +0000 (22:48 +0200)]
begun monster vicinity checking
Daniel Karbach [Fri, 5 Oct 2012 20:47:27 +0000 (22:47 +0200)]
fix blocking flag of guy
Daniel Karbach [Fri, 5 Oct 2012 16:52:22 +0000 (18:52 +0200)]
check for blocking entities when trying to move
Daniel Karbach [Fri, 5 Oct 2012 16:27:27 +0000 (18:27 +0200)]
added monster dummy
Daniel Karbach [Fri, 5 Oct 2012 15:03:33 +0000 (17:03 +0200)]
don't lock player character onto its tile
Daniel Karbach [Fri, 5 Oct 2012 14:52:55 +0000 (16:52 +0200)]
implemented followers
all entities are now snapped to their nearest tile position when the player character locks onto a tile
fixes #17
Daniel Karbach [Fri, 5 Oct 2012 13:54:50 +0000 (15:54 +0200)]
more Vector operations
there are not real vector operations in a mathematical sense, but are useful nonetheless
Daniel Karbach [Fri, 5 Oct 2012 13:11:59 +0000 (15:11 +0200)]
extracted tile coordinates calculation
Daniel Karbach [Fri, 5 Oct 2012 11:39:39 +0000 (13:39 +0200)]
added movement timer to track blocked movement
this should correct the behaviour of OnMove and OnGridLock calls even when walking into a wall
fixes #21 ?
Daniel Karbach [Wed, 3 Oct 2012 15:23:31 +0000 (17:23 +0200)]
added entity follower list
still unfinished due to movement detection bugs
refs #17
refs #20
Daniel Karbach [Wed, 3 Oct 2012 13:55:43 +0000 (15:55 +0200)]
added map sprites for 3 other heroes
Daniel Karbach [Wed, 3 Oct 2012 13:09:02 +0000 (15:09 +0200)]
trigger handling in map state
Daniel Karbach [Wed, 3 Oct 2012 13:05:51 +0000 (15:05 +0200)]
added map trigger prototype
Daniel Karbach [Tue, 2 Oct 2012 20:25:38 +0000 (22:25 +0200)]
shift walking animation by one frame
Daniel Karbach [Tue, 2 Oct 2012 20:25:17 +0000 (22:25 +0200)]
frame shiftability in animation runner
Daniel Karbach [Tue, 2 Oct 2012 20:08:44 +0000 (22:08 +0200)]
start/stop animation of player character
Daniel Karbach [Tue, 2 Oct 2012 20:03:12 +0000 (22:03 +0200)]
allow checking of multiple keys at once
Daniel Karbach [Tue, 2 Oct 2012 20:01:22 +0000 (22:01 +0200)]
changed how animation runners handle sprite overrides
Daniel Karbach [Sun, 30 Sep 2012 18:32:45 +0000 (20:32 +0200)]
added grid lock checking in map state
Daniel Karbach [Sun, 30 Sep 2012 18:13:29 +0000 (20:13 +0200)]
added comparison operators to vector template
Daniel Karbach [Sun, 30 Sep 2012 16:50:44 +0000 (18:50 +0200)]
initialize MapState::nextDirection
whoops
Daniel Karbach [Sun, 30 Sep 2012 16:47:44 +0000 (18:47 +0200)]
moved grid logic to world update routine
fixes #16
Daniel Karbach [Sun, 30 Sep 2012 15:49:57 +0000 (17:49 +0200)]
check blocking flags of tiles in map state
Daniel Karbach [Sun, 30 Sep 2012 15:08:29 +0000 (17:08 +0200)]
added entity orientation awareness
Daniel Karbach [Sun, 30 Sep 2012 14:50:17 +0000 (16:50 +0200)]
check tile lock in Entity
Daniel Karbach [Sun, 30 Sep 2012 14:49:28 +0000 (16:49 +0200)]
added tile flags in main
Daniel Karbach [Sun, 30 Sep 2012 14:26:27 +0000 (16:26 +0200)]
added test entity
Daniel Karbach [Sun, 30 Sep 2012 14:26:13 +0000 (16:26 +0200)]
plugged entities into map state
Daniel Karbach [Sun, 30 Sep 2012 14:25:20 +0000 (16:25 +0200)]
added Entity class
Daniel Karbach [Sun, 30 Sep 2012 14:24:14 +0000 (16:24 +0200)]
changed camera target to float
Daniel Karbach [Sun, 30 Sep 2012 14:23:24 +0000 (16:23 +0200)]
added mixed-type operators to Vector template
Daniel Karbach [Sat, 29 Sep 2012 19:02:34 +0000 (21:02 +0200)]
added test tileset, area and map
Daniel Karbach [Sat, 29 Sep 2012 19:01:54 +0000 (21:01 +0200)]
added application state for map
Daniel Karbach [Sat, 29 Sep 2012 17:52:27 +0000 (19:52 +0200)]
added camera class
Daniel Karbach [Sat, 29 Sep 2012 17:21:29 +0000 (19:21 +0200)]
added forwarding header for map namespace
Daniel Karbach [Sat, 29 Sep 2012 16:45:01 +0000 (18:45 +0200)]
added basic map classes
Daniel Karbach [Sat, 29 Sep 2012 17:18:44 +0000 (19:18 +0200)]
added forwarding headers
Daniel Karbach [Wed, 19 Sep 2012 20:34:04 +0000 (22:34 +0200)]
added Caster class to simplify the code in main()
Daniel Karbach [Sat, 15 Sep 2012 20:12:22 +0000 (22:12 +0200)]
added error message for missing definitions in PLAY mode
Daniel Karbach [Sat, 15 Sep 2012 19:53:10 +0000 (21:53 +0200)]
removed some leftover lines from linker branch
Daniel Karbach [Sat, 15 Sep 2012 19:14:04 +0000 (21:14 +0200)]
generate header when output file ends with 'h'
Daniel Karbach [Sat, 15 Sep 2012 19:01:11 +0000 (21:01 +0200)]
added dump option
supply -d as an argument to dump read files
Daniel Karbach [Sat, 15 Sep 2012 18:30:10 +0000 (20:30 +0200)]
added argument interpreter
Daniel Karbach [Sat, 15 Sep 2012 17:01:05 +0000 (19:01 +0200)]
made fields of type descriptions accessible
Daniel Karbach [Thu, 13 Sep 2012 21:16:18 +0000 (23:16 +0200)]
added l2 object files to gitignore