1
0
Fork 0
Commit Graph

136 Commits

Author SHA1 Message Date
Timothy Warren 4a8b791acb Separate binary from game engine 2022-02-10 11:54:57 -05:00
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 206f012729 Add new rng module 2022-02-03 12:01:17 -05:00
Timothy Warren 2c0f2408a6 Add FPS display, get webassembly build working 2022-02-03 11:46:29 -05:00
Timothy Warren c835100272 Create systems module, and move the Specs systems there 2022-02-03 09:45:29 -05:00
Timothy Warren e3248519ac Refactor camera to batch render 2022-02-02 10:08:11 -05:00
Timothy Warren 4e506cd0be Use multiple console instances so we can render the log in a larger font 2022-02-02 09:34:20 -05:00
Timothy Warren 83cab40c13 Add event counting to game log, completing section 5.29 2022-02-01 11:59:44 -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 88fc0dbcea Use new logging system at setup 2022-02-01 09:22:23 -05:00
Timothy Warren 9adee7a4dc Add RangedCombatSystem 2022-01-31 11:25:36 -05:00
Timothy Warren 3ecf6ec97e Show weapon range, add Target component 2022-01-31 10:26:16 -05:00
Timothy Warren b514eec669 Refactor MeleeWeapon to handle both melee and ranged weapons 2022-01-31 09:55:56 -05:00
Timothy Warren a40f43b839 Complete section 5.26 2022-01-28 13:47:16 -05:00
Timothy Warren 830b721548 Allow multi-tile sized entities 2022-01-28 11:48:25 -05:00
Timothy Warren 408f9e6ab9 Complete section 5.24 2022-01-25 15:04:00 -05:00
Timothy Warren 1fb4bf293f Add a few more components 2022-01-25 13:45:44 -05:00
Timothy Warren bd7fa27794 Add ability to learn spells 2022-01-25 13:39:43 -05:00
Timothy Warren 868bbade36 Allow restoring of mana 2022-01-25 11:42:02 -05:00
Timothy Warren 969ecf7fef Setup parts of spell system 2022-01-25 09:58:30 -05:00
Timothy Warren ee5db23f6b Refactor confusion effect, and update gui to show confusion status 2022-01-24 10:58:37 -05:00
Timothy Warren 9e06be46f3 Add ability to handle item attribute bonuses 2022-01-24 09:56:42 -05:00
Timothy Warren 5b8d127af0 Add docs 2022-01-21 15:55:13 -05:00
Timothy Warren 53eac9d710 Add ProvidesIdentification tag component 2022-01-21 15:13:31 -05:00
Timothy Warren 5c438cc3c0 Implement scrolls to uncurse cursed items 2022-01-21 11:57:36 -05:00
Timothy Warren 9a0e931897 Implement cursed items 2022-01-21 11:18:53 -05:00
Timothy Warren 1cbb70f294 Add new components for dynamically created particle effects 2022-01-20 16:31:03 -05:00
Timothy Warren 64cc39eba1 Simplify main function by extracting game state setup code 2022-01-20 15:58:08 -05:00
Timothy Warren 6f35a4a933 Create effects module to handle damage, particles, and death more modularly 2022-01-20 11:48:58 -05:00
Timothy Warren 2dc2a4549a Allow identifying items by use or purchase 2022-01-19 11:04:10 -05:00
Timothy Warren dd8a3b4f6f Implement obfuscated names for magic scrolls 2022-01-19 10:15:51 -05:00
Timothy Warren b0bdd44e18 Add MagicItem component 2022-01-19 09:38:41 -05:00
Timothy Warren 485151e37c Move state management out of main file 2022-01-18 11:40:31 -05:00
Timothy Warren 878ee5b480 Refactor movement system, partially implement town portals 2022-01-18 11:00:13 -05:00
Timothy Warren 3cad614e78 Make color usage consistent through the use of constants 2022-01-14 12:19:46 -05:00
Timothy Warren 022a7921ce More cheating! (For developing purposes, of course ;) ) 2022-01-14 09:44:01 -05:00
Timothy Warren 93a1c30b4a Add buying and selling 2022-01-13 11:29:20 -05:00
Timothy Warren 220b00c64c Add initiative penalties to items 2022-01-13 10:14:13 -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 148e448d78 Much more ai refactoring 2022-01-11 14:16:23 -05:00
Timothy Warren 754118a209 Refactor systems to be more generic 2022-01-11 10:30:32 -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 3def036868 Add MyTurn component 2022-01-11 09:33:21 -05:00
Timothy Warren 107f190a39 Add Initiative component 2022-01-11 09:28:45 -05:00
Timothy Warren f558112836 Refactor AI systems into AI module 2022-01-11 09:24:20 -05:00
Timothy Warren 6f9aa54896 Add lighting system 2022-01-10 10:21:19 -05:00