Commit Graph

54 Commits

Author SHA1 Message Date
Timothy Warren
73525db8dd Some tweaks to remove some dead code 2022-02-10 11:18:21 -05:00
Timothy Warren
8f10289ed6 Replace rltk with bracket_lib, removing one layer of module redirection 2022-02-04 14:09:48 -05:00
Timothy Warren
30de2cd7ce Use rltk prelude import instead of full paths 2022-02-03 15:16:41 -05:00
Timothy Warren
fd9f8e7463 Use new rng module instead of passing around a variable. Completes section 5.31 2022-02-03 14:59:35 -05:00
Timothy Warren
dedbb0927c Update docs 2022-02-01 15:41:08 -05:00
Timothy Warren
a3f6c7b9d0 Refactor all game log useage to use the new system 2022-02-01 10:39:46 -05:00
Timothy Warren
7e3ceab2a2 Finish implmentation of ranged weapons, completing section 5.28 2022-01-31 15:00:00 -05:00
Timothy Warren
89f6470ec0 Create ParticleProjectile effect, and add to ranged attacks 2022-01-31 11:53:38 -05:00
Timothy Warren
9adee7a4dc Add RangedCombatSystem 2022-01-31 11:25:36 -05:00
Timothy Warren
868bbade36 Allow restoring of mana 2022-01-25 11:42:02 -05:00
Timothy Warren
e6a01791bf Implement system to use spells 2022-01-25 11:15:32 -05:00
Timothy Warren
969ecf7fef Setup parts of spell system 2022-01-25 09:58:30 -05:00
Timothy Warren
93a1c30b4a Add buying and selling 2022-01-13 11:29:20 -05:00
Timothy Warren
09de57f67f Add another set of keys for navigating diagonals 2022-01-12 11:15:11 -05:00
Timothy Warren
d5c48247f3 Complete Section 5.15 2022-01-12 11:12:59 -05:00
Timothy Warren
f9e73479d0 Extract spatial indexing (tile contents, and if a tile is blocked) into its own module 2022-01-12 10:45:13 -05:00
Timothy Warren
eb29e28ec6 Complete section 5.14, having refactored basically every system 2022-01-11 15:35:59 -05:00
Timothy Warren
f0ac291e6a Add initiative system, and refactor systems to use new runstate 2022-01-11 10:01:37 -05:00
Timothy Warren
902f71f57c Add cheat mode for development 2022-01-07 09:39:47 -05:00
Timothy Warren
542c05cb6c Complete section 5.12 2022-01-06 13:37:23 -05:00
Timothy Warren
dd6a4c26d9 Allow going back a level 2022-01-06 09:13:40 -05:00
Timothy Warren
0e9de911ce Complete Section 5.9 2022-01-04 13:54:57 -05:00
Timothy Warren
2e02e30bc6 Complete Section 5.7, replacing the CombatStats component with a new Pools component for more flexibility 2022-01-03 16:30:14 -05:00
Timothy Warren
3c36ee7fd3 Fix a clippy warning, complete section 5.6 2022-01-03 10:58:20 -05:00
Timothy Warren
45bedf11d2 Add vendor NPC type 2022-01-03 09:39:52 -05:00
e93573f3a0 Complete section 5.5 by swapping locations with non-hostile NPCs 2021-12-24 14:44:48 -05:00
b115f43d5d Use :: prefix on external crates 2021-12-24 10:38:44 -05:00
Timothy Warren
f749d9a9e5 Create camera, and adjust drawing code to render arbitrary size maps 2021-12-17 16:35:30 -05:00
Timothy Warren
1e969db5b0 Allow doors to be opened 2021-12-17 14:23:36 -05:00
9ff645066b Reorder use statements 2021-12-10 20:16:48 -05:00
Timothy Warren
804904dd4b Add a basic hidden trap mechanism 2021-11-29 16:00:07 -05:00
3effbdb586 Use less redundant code style with 'if let' statements 2021-11-19 19:52:15 -05:00
Timothy Warren
87d825276e Finish section 3.4 2021-11-19 11:31:27 -05:00
Timothy Warren
950c0a3ef1 Arrange key mappings in a bit more intuitive order 2021-11-18 10:56:51 -05:00
Timothy Warren
b9e499b421 Add additional set of controls for diagonals 2021-11-18 10:48:14 -05:00
Timothy Warren
e0f3b7c255 Make sure all numpad inputs are mirrored on the number row, so that Mac OS works with numpad controls 2021-11-18 10:32:50 -05:00
Timothy Warren
1dd5db42f7 Add particle effects for Melee combat 2021-11-16 11:33:58 -05:00
Timothy Warren
ffc997ce20 Cleanup code structure to match the end of the first section of the tutorial 2021-11-15 13:55:31 -05:00
Timothy Warren
a2ef1810d9 Add ability to remove equipped items 2021-11-15 11:32:09 -05:00
Timothy Warren
a51d63963f Add turn skipping and healing on skipped turns 2021-11-10 15:52:45 -05:00
Timothy Warren
f6dc758f12 Complete chapter 2.11 2021-11-09 15:50:42 -05:00
Timothy Warren
48609aee1f Implement basic game saving 2021-11-08 13:58:40 -05:00
Timothy Warren
cb475708c7 Rename the game log module 2021-11-04 10:44:52 -04:00
Timothy Warren
e4be3b6855 Add ability to drop items 2021-11-04 09:40:58 -04:00
Timothy Warren
cfd2ed887a Fix numpad navigation for Mac 2021-11-04 09:25:07 -04:00
Timothy Warren
0ac2226947 Start of inventory system 2021-11-03 15:11:19 -04:00
Timothy Warren
598032aadf Finish chapter 2.6 2021-10-29 15:15:22 -04:00
Timothy Warren
3009aa1781 Add map blocking and diagonal movement 2021-10-29 11:11:17 -04:00
Timothy Warren
30b0449e99 Complete Chapter 2.5 2021-10-26 15:43:59 -04:00
Timothy Warren
1345248b15 Finish chapter 2.4 2021-10-26 14:23:08 -04:00