]> git.localhorst.tv Git - l2e.git/log
l2e.git
12 years agosome commenting on the map classes
Daniel Karbach [Thu, 18 Oct 2012 19:04:10 +0000 (21:04 +0200)]
some commenting on the map classes

12 years agoremoved debug output from main
Daniel Karbach [Wed, 17 Oct 2012 19:40:24 +0000 (21:40 +0200)]
removed debug output from main

12 years agoremoved now superfluous Application parameter to State callbacks
Daniel Karbach [Wed, 17 Oct 2012 19:34:48 +0000 (21:34 +0200)]
removed now superfluous Application parameter to State callbacks

12 years agostore an application handle in each state
Daniel Karbach [Wed, 17 Oct 2012 19:14:31 +0000 (21:14 +0200)]
store an application handle in each state

12 years agowrapped some virtual State methods in non-virtual calls
Daniel Karbach [Wed, 17 Oct 2012 18:44:51 +0000 (20:44 +0200)]
wrapped some virtual State methods in non-virtual calls

12 years agorenamed app::State's Resize -> OnResize
Daniel Karbach [Wed, 17 Oct 2012 18:21:56 +0000 (20:21 +0200)]
renamed app::State's Resize -> OnResize

12 years agorenamed state callbacks
Daniel Karbach [Tue, 16 Oct 2012 21:02:42 +0000 (23:02 +0200)]
renamed state callbacks

12 years agocommented headers in geometry directory ^^
Daniel Karbach [Tue, 16 Oct 2012 20:41:01 +0000 (22:41 +0200)]
commented headers in geometry directory ^^

12 years agocommented headers in app/ directory
Daniel Karbach [Tue, 16 Oct 2012 20:33:33 +0000 (22:33 +0200)]
commented headers in app/ directory

12 years agohandle compare/jump instructions in script assembler
Daniel Karbach [Sun, 14 Oct 2012 21:42:59 +0000 (23:42 +0200)]
handle compare/jump instructions in script assembler

12 years agoadded script labels in parser/interpreter
Daniel Karbach [Sun, 14 Oct 2012 21:19:58 +0000 (23:19 +0200)]
added script labels in parser/interpreter

12 years agoadded compare and jump codes for scripts
Daniel Karbach [Sun, 14 Oct 2012 21:07:07 +0000 (23:07 +0200)]
added compare and jump codes for scripts

12 years agomoved map data to maps.l2s
Daniel Karbach [Sun, 14 Oct 2012 18:00:30 +0000 (20:00 +0200)]
moved map data to maps.l2s

12 years agoadded script assembler
Daniel Karbach [Sun, 14 Oct 2012 15:06:33 +0000 (17:06 +0200)]
added script assembler

12 years agoless verbose token code in parser
Daniel Karbach [Sun, 14 Oct 2012 13:34:33 +0000 (15:34 +0200)]
less verbose token code in parser

12 years agoparse scripts
Daniel Karbach [Sun, 14 Oct 2012 13:31:29 +0000 (15:31 +0200)]
parse scripts

12 years agoadded new tokens
Daniel Karbach [Sun, 14 Oct 2012 12:44:38 +0000 (14:44 +0200)]
added new tokens

12 years agoimplemented modulo operation for scripts
Daniel Karbach [Sun, 14 Oct 2012 11:56:25 +0000 (13:56 +0200)]
implemented modulo operation for scripts

12 years agouse scripts for map triggers
Daniel Karbach [Sat, 13 Oct 2012 18:40:37 +0000 (20:40 +0200)]
use scripts for map triggers

12 years agofirst scripting implementation
Daniel Karbach [Sat, 13 Oct 2012 18:10:49 +0000 (20:10 +0200)]
first scripting implementation

12 years agofixed trigger type switch in Map
Daniel Karbach [Sat, 13 Oct 2012 17:58:20 +0000 (19:58 +0200)]
fixed trigger type switch in Map

12 years agoadded directional triggers
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

12 years agofixed stepping algo again -.-
Daniel Karbach [Fri, 12 Oct 2012 19:24:18 +0000 (21:24 +0200)]
fixed stepping algo again -.-

12 years agoinitialize lastLock to an improbable position
Daniel Karbach [Fri, 12 Oct 2012 18:56:23 +0000 (20:56 +0200)]
initialize lastLock to an improbable position

12 years agomade targetless camera possible
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

12 years agoimplemented pushable entities and pushing
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

12 years agofixed entity bounds in Map
Daniel Karbach [Thu, 11 Oct 2012 21:43:25 +0000 (23:43 +0200)]
fixed entity bounds in Map

12 years agodon't alloc memory for inline literals
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

12 years agobetter allocation in interpreter
Daniel Karbach [Tue, 9 Oct 2012 21:27:55 +0000 (23:27 +0200)]
better allocation in interpreter

12 years agoclosed the gap between battle and map state (yay)
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

12 years agobetter handling of nested state changes
Daniel Karbach [Tue, 9 Oct 2012 20:40:06 +0000 (22:40 +0200)]
better handling of nested state changes

12 years agoadded readme file
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.

12 years agoadded textual type/field descriptions and wiki mode
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.

12 years agoadded 500ms blackness between map transitions
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

12 years agoadded lead in/out time option for ColorFade
Daniel Karbach [Mon, 8 Oct 2012 20:07:50 +0000 (22:07 +0200)]
added lead in/out time option for ColorFade

12 years agostore complete entity in hero
Daniel Karbach [Sun, 7 Oct 2012 19:02:25 +0000 (21:02 +0200)]
store complete entity in hero

12 years agoadded loading callback for type descriptions
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

12 years agomoved map sprites to data file
Daniel Karbach [Sun, 7 Oct 2012 18:08:43 +0000 (20:08 +0200)]
moved map sprites to data file

12 years agomoved Hero and Stats to common
Daniel Karbach [Sun, 7 Oct 2012 17:39:55 +0000 (19:39 +0200)]
moved Hero and Stats to common

12 years agoadded map transition state
Daniel Karbach [Sun, 7 Oct 2012 14:15:50 +0000 (16:15 +0200)]
added map transition state

12 years agobreak out of physics loop if a state change happened
Daniel Karbach [Sun, 7 Oct 2012 14:15:15 +0000 (16:15 +0200)]
break out of physics loop if a state change happened

12 years agoadded ColorFade to graphics fwd.h
Daniel Karbach [Sun, 7 Oct 2012 13:56:34 +0000 (15:56 +0200)]
added ColorFade to graphics fwd.h

12 years agoadded color fading state
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

12 years agomade TileAt/AreaAt fail silently
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

12 years agoextracted map loading/unloading
Daniel Karbach [Sun, 7 Oct 2012 12:54:55 +0000 (14:54 +0200)]
extracted map loading/unloading

12 years agoadded temporary map transition implementation
Daniel Karbach [Sun, 7 Oct 2012 12:40:20 +0000 (14:40 +0200)]
added temporary map transition implementation

12 years agoadded second map to transition to
Daniel Karbach [Sat, 6 Oct 2012 21:45:57 +0000 (23:45 +0200)]
added second map to transition to

12 years agouse sdl utility functions for debug drawing
Daniel Karbach [Sat, 6 Oct 2012 21:01:31 +0000 (23:01 +0200)]
use sdl utility functions for debug drawing

12 years agoadded some graphics primitive functions
Daniel Karbach [Sat, 6 Oct 2012 21:01:03 +0000 (23:01 +0200)]
added some graphics primitive functions

12 years agoadded area bounds to debug overlay
Daniel Karbach [Sat, 6 Oct 2012 20:35:34 +0000 (22:35 +0200)]
added area bounds to debug overlay

12 years agomoved test trigger to door coordinates
Daniel Karbach [Sat, 6 Oct 2012 20:22:05 +0000 (22:22 +0200)]
moved test trigger to door coordinates

12 years agoadded triggers to map debug render
Daniel Karbach [Sat, 6 Oct 2012 20:21:48 +0000 (22:21 +0200)]
added triggers to map debug render

12 years agoadded debug mode for maps
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

12 years agoadded 4 debug keys
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

12 years agoadded second map area
Daniel Karbach [Sat, 6 Oct 2012 19:46:05 +0000 (21:46 +0200)]
added second map area

12 years agoreversed order of monster checks
Daniel Karbach [Sat, 6 Oct 2012 00:06:41 +0000 (02:06 +0200)]
reversed order of monster checks

and added some TODOs

12 years agobegun monster vicinity checking
Daniel Karbach [Fri, 5 Oct 2012 20:48:02 +0000 (22:48 +0200)]
begun monster vicinity checking

12 years agofix blocking flag of guy
Daniel Karbach [Fri, 5 Oct 2012 20:47:27 +0000 (22:47 +0200)]
fix blocking flag of guy

12 years agocheck for blocking entities when trying to move
Daniel Karbach [Fri, 5 Oct 2012 16:52:22 +0000 (18:52 +0200)]
check for blocking entities when trying to move

12 years agoadded monster dummy
Daniel Karbach [Fri, 5 Oct 2012 16:27:27 +0000 (18:27 +0200)]
added monster dummy

12 years agodon't lock player character onto its tile
Daniel Karbach [Fri, 5 Oct 2012 15:03:33 +0000 (17:03 +0200)]
don't lock player character onto its tile

12 years agoimplemented followers
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

12 years agomore Vector operations
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

12 years agoextracted tile coordinates calculation
Daniel Karbach [Fri, 5 Oct 2012 13:11:59 +0000 (15:11 +0200)]
extracted tile coordinates calculation

12 years agoadded movement timer to track blocked movement
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 ?

12 years agoadded entity follower list
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

12 years agoadded map sprites for 3 other heroes
Daniel Karbach [Wed, 3 Oct 2012 13:55:43 +0000 (15:55 +0200)]
added map sprites for 3 other heroes

12 years agotrigger handling in map state
Daniel Karbach [Wed, 3 Oct 2012 13:09:02 +0000 (15:09 +0200)]
trigger handling in map state

12 years agoadded map trigger prototype
Daniel Karbach [Wed, 3 Oct 2012 13:05:51 +0000 (15:05 +0200)]
added map trigger prototype

12 years agoshift walking animation by one frame
Daniel Karbach [Tue, 2 Oct 2012 20:25:38 +0000 (22:25 +0200)]
shift walking animation by one frame

12 years agoframe shiftability in animation runner
Daniel Karbach [Tue, 2 Oct 2012 20:25:17 +0000 (22:25 +0200)]
frame shiftability in animation runner

12 years agostart/stop animation of player character
Daniel Karbach [Tue, 2 Oct 2012 20:08:44 +0000 (22:08 +0200)]
start/stop animation of player character

12 years agoallow checking of multiple keys at once
Daniel Karbach [Tue, 2 Oct 2012 20:03:12 +0000 (22:03 +0200)]
allow checking of multiple keys at once

12 years agochanged how animation runners handle sprite overrides
Daniel Karbach [Tue, 2 Oct 2012 20:01:22 +0000 (22:01 +0200)]
changed how animation runners handle sprite overrides

12 years agoadded grid lock checking in map state
Daniel Karbach [Sun, 30 Sep 2012 18:32:45 +0000 (20:32 +0200)]
added grid lock checking in map state

12 years agoadded comparison operators to vector template
Daniel Karbach [Sun, 30 Sep 2012 18:13:29 +0000 (20:13 +0200)]
added comparison operators to vector template

12 years agoinitialize MapState::nextDirection
Daniel Karbach [Sun, 30 Sep 2012 16:50:44 +0000 (18:50 +0200)]
initialize MapState::nextDirection

whoops

12 years agomoved grid logic to world update routine
Daniel Karbach [Sun, 30 Sep 2012 16:47:44 +0000 (18:47 +0200)]
moved grid logic to world update routine

fixes #16

12 years agocheck blocking flags of tiles in map state
Daniel Karbach [Sun, 30 Sep 2012 15:49:57 +0000 (17:49 +0200)]
check blocking flags of tiles in map state

12 years agoadded entity orientation awareness
Daniel Karbach [Sun, 30 Sep 2012 15:08:29 +0000 (17:08 +0200)]
added entity orientation awareness

12 years agocheck tile lock in Entity
Daniel Karbach [Sun, 30 Sep 2012 14:50:17 +0000 (16:50 +0200)]
check tile lock in Entity

12 years agoadded tile flags in main
Daniel Karbach [Sun, 30 Sep 2012 14:49:28 +0000 (16:49 +0200)]
added tile flags in main

12 years agoadded test entity
Daniel Karbach [Sun, 30 Sep 2012 14:26:27 +0000 (16:26 +0200)]
added test entity

12 years agoplugged entities into map state
Daniel Karbach [Sun, 30 Sep 2012 14:26:13 +0000 (16:26 +0200)]
plugged entities into map state

12 years agoadded Entity class
Daniel Karbach [Sun, 30 Sep 2012 14:25:20 +0000 (16:25 +0200)]
added Entity class

12 years agochanged camera target to float
Daniel Karbach [Sun, 30 Sep 2012 14:24:14 +0000 (16:24 +0200)]
changed camera target to float

12 years agoadded mixed-type operators to Vector template
Daniel Karbach [Sun, 30 Sep 2012 14:23:24 +0000 (16:23 +0200)]
added mixed-type operators to Vector template

12 years agoadded test tileset, area and map
Daniel Karbach [Sat, 29 Sep 2012 19:02:34 +0000 (21:02 +0200)]
added test tileset, area and map

12 years agoadded application state for map
Daniel Karbach [Sat, 29 Sep 2012 19:01:54 +0000 (21:01 +0200)]
added application state for map

12 years agoadded camera class
Daniel Karbach [Sat, 29 Sep 2012 17:52:27 +0000 (19:52 +0200)]
added camera class

12 years agoadded forwarding header for map namespace
Daniel Karbach [Sat, 29 Sep 2012 17:21:29 +0000 (19:21 +0200)]
added forwarding header for map namespace

12 years agoadded basic map classes
Daniel Karbach [Sat, 29 Sep 2012 16:45:01 +0000 (18:45 +0200)]
added basic map classes

12 years agoadded forwarding headers
Daniel Karbach [Sat, 29 Sep 2012 17:18:44 +0000 (19:18 +0200)]
added forwarding headers

12 years agoadded Caster class to simplify the code in main()
Daniel Karbach [Wed, 19 Sep 2012 20:34:04 +0000 (22:34 +0200)]
added Caster class to simplify the code in main()

12 years agoadded error message for missing definitions in PLAY mode
Daniel Karbach [Sat, 15 Sep 2012 20:12:22 +0000 (22:12 +0200)]
added error message for missing definitions in PLAY mode

12 years agoremoved some leftover lines from linker branch
Daniel Karbach [Sat, 15 Sep 2012 19:53:10 +0000 (21:53 +0200)]
removed some leftover lines from linker branch

12 years agogenerate header when output file ends with 'h'
Daniel Karbach [Sat, 15 Sep 2012 19:14:04 +0000 (21:14 +0200)]
generate header when output file ends with 'h'

12 years agoadded dump option
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

12 years agoadded argument interpreter
Daniel Karbach [Sat, 15 Sep 2012 18:30:10 +0000 (20:30 +0200)]
added argument interpreter

12 years agomade fields of type descriptions accessible
Daniel Karbach [Sat, 15 Sep 2012 17:01:05 +0000 (19:01 +0200)]
made fields of type descriptions accessible