#50 closed task (released)
Complete core loading of WarFoundry XML files
Reported by: | ibboard | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | WarFoundry 0.1 |
Component: | WarFoundry-API | Version: | |
Keywords: | Cc: | ||
Blocked By: | #61 | Blocking: |
Description (last modified by )
The WarFoundry XML factory doesn't currently load all parts of the XML files. The missing parts need completing so that all data is correctly read from the files.
This ticket is only for the requirements of WarFoundry 0.1, not the extra functionality (e.g. unit requirements) for WarFoundry 0.2
Change History (24)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
comment:4 Changed 11 years ago by
comment:5 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Summary: | Complete loading of WarFoundry XML files → Complete core loading of WarFoundry XML files |
comment:6 Changed 11 years ago by
Blocking: | 57 added |
---|
comment:7 Changed 11 years ago by
Blocked By: | 61 added |
---|
comment:8 Changed 11 years ago by
(In r108) Re #50 - Complete core loading of WarFoundry XML files
- Clean up stat loading for game systems and unit types
- Delete rogue character that stopped code compiling
comment:9 Changed 11 years ago by
(In r109) Re #50 - Complete core loading of WarFoundry XML files
- Start to restructure loading so that we can use pre-existing objects
- Break unit loading in to methods
Also:
- Pad stats list with nulls because setting capacity doesn't let you set arbitrary indexes
- Add GameSystem property to UnitType
comment:10 Changed 11 years ago by
(In r110) Re #50 - Complete core loading of WarFoundry XML files
- Make "Notes" a String value, as per schema
- Load contained units
comment:11 Changed 11 years ago by
(In r111) Re #50 - Complete core loading of WarFoundry XML files
- Rename a "create" method to a "get"
- Remove duplicate "add unit" call
comment:12 Changed 11 years ago by
(In r112) Re #50 - Complete core loading of WarFoundry XML files
- Fix XPath query to get a specific unit from a document
comment:13 Changed 11 years ago by
Owner: | ibboard deleted |
---|
Remove owner so that the team can more easily see bugs. Using default owners seems good at first but is bad practice when a team can be working on any part of the project.
comment:14 Changed 10 years ago by
(In r155) Re #50: Complete core loading of WarFoundry XML files
- Start loading of UnitEquipmentItems
- Fix XPath queries for equipment items and abilities
- Allow UnitEquipmentItem to be created without a UnitType
- Make adding UnitEquipmentItem to UnitType set UnitType of UnitEquipmentItem
- Make loading of abilities and equipment items add the item to the race
Also:
- Code cleanup (line endings)
- Make method to get equipment by ID return null instead of throwing "no such key" exception
comment:15 Changed 10 years ago by
comment:16 Changed 10 years ago by
comment:17 Changed 10 years ago by
comment:18 Changed 10 years ago by
comment:19 Changed 10 years ago by
Still to do:
- "TODO: Warn about missing item" in LoadEquipmentForUnitType method (exception?)
All other missing code can be part of #57 and WarFoundry 0.2
comment:20 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In r222) Fixes #50: Complete core loading of WarFoundry XML files
- Add exceptions on invalid data - completes WarFoundry 0.1 loading needs
comment:22 Changed 10 years ago by
released: | 1 → yes |
---|
Mark released fixes as released using radio values
comment:23 Changed 10 years ago by
Resolution: | fixed → released |
---|
Mark fix as released under a previous version
comment:24 Changed 9 years ago by
Blocking: | 57 removed |
---|
(In #57) Ticket doesn't make sense any more - we're defining the spec as we go and relying on backward/forward compatibility so there is no "complete" to load.
(In r79) Re #50 - Complete loading of WarFoundry XML