-
Notifications
You must be signed in to change notification settings - Fork 13
Battles ~ Current Battle Structs 2022
We are identifying which data structures that are related to the battle class. We have located where they are and provided a short description of what they are and how we might be able to integrate our data structures with them.
There are a lot of structs that have different purposes all dedicated to stats. One thing that stands out is that everything is in a hash table form.
stats_global_t/stats_global_hash_t
Makes up a hash table that keeps track of all stats available in the game. Also keeps track of all the values in the game. If we want to implement more stats, we must make sure that this global stat struct can be able to deal with other stats. Currently uses a string to store the name for the stat.
stats_t/stats_hash_t
Represents a singular stat of a player. Has a maximum value, a current value, and a modifier attached to it. Unlike the stat_t data type in Battles, this is a singular data type, almost as if it is used to make stats. In order to make this aligned, we could make a battle_stats struct instead that is dedicated for stats for battling.
stat_mod_t
Represents a modification to a stat. Has a duration as well as a pointer to the stat that it is affecting. Seems like it is similar to our stat_changes struct except it is specified to a singular stat and seems to be a linked list. Our implementations seem to be very different from one another and we will need to take time to consider how we should deal with this conflict.
npc_battle
This struct contains information used for battles with non-player characters. It consists of pointers to a stat struct and moves struct, difficulty level of ai, hostility level of the character, and the health level when the character will surrender. It also has the NPC health level, which might not be necessary considering there’s a pointer to a stat struct, which has this information in the struct. A lot of these elements could be replaced with a combatant struct as it has most of these elements in the structure.
-
Action Management
-
Battles
- Design Document
- Text Based Combat in Other Games
- User Stories
- Wishlist
- Battle Planning 2022
- Battle User Stories Review 2022
- Structs in Other Modules Related to Battles 2022
- Stat Changes Design Document
- Run Function Design Document
- CLI Integration Design Document
- Move Changes Design Document
- Unstubbing Stubs Design Document
- Battle Items and Equipment Design Document
- Battle Item Stats
- Battles Demo Design Document
- Battles Testing Moves, Items, and Equipment Design Document
- Sound integration with battle (design document)
-
Custom Actions
-
Custom Scripts
-
DSL
-
CLI
-
Enhanced CLI
-
Game-State
-
Graphics
- Design Plan
- Design document for integrating split screen graphics with chiventure
- GDL (Graphical Description Language)
- Graphics Sandbox
- Design Document for NPC Graphics and Dialogue
- Feature Wishlist (Spring 2021)
- Installing and Building raylib on a VM
- LibSDL Research
- Module Interactions
- Working with Raylib and SSH
- raylib
- GDL
-
Linking the Libzip and Json C to chiventure on CSIL machines
-
Lua
-
NPC
- Dependencies: Player class, Open world, Battle
- Action Documentation
- Design Document for NPC Generation in Openworld
- Design and Planning
- Establishing Dependencies
- Implementation of Custom Scripts
- Independent Feature: NPC Movement Design Document
- Player Interaction Design and Planning
- Dialogue
- Design Document for NPC Dialogue and Action Implementation
- Loading NPCs from WDL Files
- NPC Battle Integration Design Document
- NPC Battle Integration Changes Design Document
-
Open World
- Autogeneration and Game State
- Deciding an integration approach
- Designing approach for static integration into chiventure
- Feature Wishlist
- Generation Module Design layout
- Potential connections to the rest of chiventure
- Single Room Generation Module Design
- Source Document
- User Stories
- World Generation Algorithm Plan
- Loading OpenWorld Attribute from WDL
-
Player Class
-
Player
-
Quests
-
Rooms
-
Skill Trees
- Avoiding soft locks in skill tree integration
- Components of Exemplary Skill Trees
- Design Document and Interface Guide
- Environment interactions based on skill characteristics
- Integrating complex skill (combined, random, sequential, etc.) implementation
- Integration of a Leveling System
- Potential Integration with existing WDL
- Research on game balancing in regards to skill trees
- Research on skill tree support in modern day game engines
- SkillTree Wiki Summary
- Skilltree "effect" implementation and roadmap
- Summary of md doc file for skilltrees
- Design ideas in connection to other features
- Summary of Skill Tree Integration 2022
- The Difficulty of the Reading the World
- Complex Skills Summary
-
Sound
-
Stats
-
WDL