Commit Graph

12 Commits (master)

Author SHA1 Message Date
kts 7a739584dc Updated VS project and removed a debug line of spammage. 2015-04-03 19:36:00 -07:00
kts 191814cb7f Added AiController - no real substance yet. UI shaders may now have a vertical 'fade' (darkening, ultimately). UI shader should have outlining be toggle-able via a boolean or similar (or perhaps separate shaders for text). GodHand now succesfully swaps entities when used. UI elements may be rotated now. Added a silly Ui Time element that simply rotates each tick. Added remove and check for Thing abilities. Need to flesh out needed Thing logic more. Also need to update Ui character sheet based on GodHand swap. 2015-03-23 04:21:36 -07:00
kts 798e298ca5 Map/Thing collision detection more or less works. Lacking in functionality, but checking/blocking works. 2015-03-16 04:52:01 -07:00
kts f92517fe55 Updated linux build. Things now are added to QMaps (and hold a pointer to their current QMap). 2015-03-15 17:16:03 -07:00
kts 3901d586c8 Added all the assets. Ability system now partially implemented - it needs to interface with the current QMap to check for collisions, etc.. Things may now possess up to 10 abilities, from 1 to 0 on the keyboard. The GodHand ability is always in the first slot. onThought should probably be moved back into Thing, as it has become more generalized - perhaps unhandled thoughts can be passed to the subclass's onThought. 2015-03-15 16:47:00 -07:00
kts 129640a781 Created a crummy looking portal with bad colors. Separated majority of the ui functionality into UiSubState. Added GnashingGibber class for kicks. 2015-03-15 08:43:20 -07:00
kts 804a64164e Updated Linux build. Thought now specifies the delay. Ability Thoughts now use almost no delay. Ability thoughts now prompt for a casting direction, at least for SightSeer. Waiting will waste the turn and moving will cast in that direction. Maximum thoughts now increased to 2 per default. 2015-03-15 06:13:06 -07:00
kts e43860da0f Lots of things added. Sprites work, with animation/frame offsets. Sprite outline shader works and is applied to the PlayerController's current Thing. Ui class works akin to Sprite class and also relies on its own shader. UiText sub-class uses the new (basic) Font system. It is capable of rendering multiple lines of text if the provided string has newlines. GameState ballooned outwards and should have a separate Ui sub-state to keep things clean. Basic console messaging system works via Core::pushMessage(string) triggering State::refreshConsole(). 2015-03-15 05:45:25 -07:00
kts 1f0b52f669 Added Texture HashTable to Core, along with a function to retrieve textures. Added sprite shader that does not work. Fleshed out Sprite class, but still incomplete. Removed Spritesheet as it is redundant. Code for rendering in place, but not working as of yet. 2015-03-14 16:02:42 -07:00
kts 4c4cf00499 Move Thing to things/Thing. Added some basic doThink operations. Basically a Thing has a deque of Thoughts that are added by the Thing's Controller. A Thought takes some time to be realized (the default of which is 100ms), upon which the action takes place. At the moment, the Thought just does the action, but it may be worthwhile to create an Action deque for actions that could take some time to execute. 2015-03-14 03:28:58 -07:00
kts 82e1b54819 Woop woop, added Visual Studio project - runs phine on winderps. 2015-03-13 18:09:44 -07:00
kts c88618efc7 Initial commit of 7DRL2015/GodEater. Has lots of framework, but not much content (yet\!). 2015-03-13 17:54:19 -07:00