From 9e0eddfe9c03c53191fe1038068587b7deba8ca5 Mon Sep 17 00:00:00 2001 From: Quietust Date: Sat, 1 Feb 2025 13:39:22 -0600 Subject: [PATCH] Great Reorganization: DFHack-specific types --- df.block.xml | 10 - df.buildings.xml | 87 ----- df.dfhack.xml | 964 +++++++++++++++++++++++++++++++++++++++++++++++ df.functions.xml | 60 +++ df.globals.xml | 119 ------ df.graphics.xml | 26 -- df.items.xml | 20 - df.job-types.xml | 28 -- df.jobs.xml | 38 -- df.knowledge.xml | 403 -------------------- df.map.xml | 80 ---- df.materials.xml | 71 ---- df.skills.xml | 23 -- df.units.xml | 105 ------ df.version.xml | 143 ------- 15 files changed, 1024 insertions(+), 1153 deletions(-) delete mode 100644 df.buildings.xml create mode 100644 df.dfhack.xml create mode 100644 df.functions.xml delete mode 100644 df.globals.xml delete mode 100644 df.graphics.xml delete mode 100644 df.items.xml delete mode 100644 df.job-types.xml delete mode 100644 df.jobs.xml delete mode 100644 df.map.xml delete mode 100644 df.materials.xml delete mode 100644 df.skills.xml delete mode 100644 df.units.xml delete mode 100644 df.version.xml diff --git a/df.block.xml b/df.block.xml index cf47d1473..25d06bab9 100644 --- a/df.block.xml +++ b/df.block.xml @@ -1,14 +1,4 @@ - -- Fake structure - - - - - - - - - bay12: BLOCKFLAG_* diff --git a/df.buildings.xml b/df.buildings.xml deleted file mode 100644 index 552226b95..000000000 --- a/df.buildings.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - Not in DF - - Royal Throne Room | Royal Bedroom | Royal Dining Room | Royal Mausoleum - Opulent Throne Room | Grand Bedroom | Grand Dining Room | Grand Mausoleum - Throne Room | Great Bedroom | Great Dining Room | Mausoleum - Splendid Office | Fine Quarters | Fine Dining Room | Fine Tomb - Decent Office | Decent Quarters | Decent Dining Room | Tomb - Office | Quarters | Dining Room | Burial Chamber - Modest Office | Modest Quarters | Modest Dining Room | Servant's Burial Chamber - Meager Office | Meager Quarters | Meager Dining Room | Grave - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df.dfhack.xml b/df.dfhack.xml new file mode 100644 index 000000000..e801b6364 --- /dev/null +++ b/df.dfhack.xml @@ -0,0 +1,964 @@ + + -- Data types defined specifically for DFHack, as well as others that don't have a good place to live + + + + + + + + + + + + + + + + + + + + + + + Not in DF + + Royal Throne Room | Royal Bedroom | Royal Dining Room | Royal Mausoleum + Opulent Throne Room | Grand Bedroom | Grand Dining Room | Grand Mausoleum + Throne Room | Great Bedroom | Great Dining Room | Mausoleum + Splendid Office | Fine Quarters | Fine Dining Room | Fine Tomb + Decent Office | Decent Quarters | Decent Dining Room | Tomb + Office | Quarters | Dining Room | Burial Chamber + Modest Office | Modest Quarters | Modest Dining Room | Servant's Burial Chamber + Meager Office | Meager Quarters | Meager Dining Room | Grave + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Using the color names without "dark" or "light", favoring primaries. + + + + + + + + + + + + + + + + + DFHack-only + + + + + + + + + + + + An extended version of job_material_category, + for use in some plugins, like workflow. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (fmt "(~A,~A)" $.x $.y) + + + + + + + + + + + + (fmt "[~A]" $.x.count) + (loop for i from 0 below (min $.x.count 3) + collect (fmt "(~A,~A)" $.x[i] $.y[i])) + (when (> $.x.count 3) "...") + + + + + + + + + + + + + + + (fmt "(~A,~A,~A)" $.x $.y $.z) + + + + + + + + + + + + + + + + (fmt "[~A]" $.x.count) + (loop for i from 0 below (min $.x.count 3) + collect (fmt "(~A,~A,~A)" $.x[i] $.y[i] $.z[i])) + (when (> $.x.count 3) "...") + + + + -- Not an actual DF enum + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Not in DF + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/df.functions.xml b/df.functions.xml new file mode 100644 index 000000000..d288a0e7e --- /dev/null +++ b/df.functions.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/df.globals.xml b/df.globals.xml deleted file mode 100644 index cfec19cf5..000000000 --- a/df.globals.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - The storage order of "next ID" fields in the save file. - Followed by game type. The enum item name is the part between - next_ and _global_id in the Dwarf Fortress global variable table. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df.graphics.xml b/df.graphics.xml deleted file mode 100644 index 0c73604fc..000000000 --- a/df.graphics.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - Using the color names without "dark" or "light", favoring primaries. - - - - - - - - - - - - - - - - - - diff --git a/df.items.xml b/df.items.xml deleted file mode 100644 index 9fcece9b0..000000000 --- a/df.items.xml +++ /dev/null @@ -1,20 +0,0 @@ - - -- MISC TYPES - - DFHack-only - - - - - - - - - - - diff --git a/df.job-types.xml b/df.job-types.xml deleted file mode 100644 index 3823fcab0..000000000 --- a/df.job-types.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df.jobs.xml b/df.jobs.xml deleted file mode 100644 index 7e2db72a0..000000000 --- a/df.jobs.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - An extended version of job_material_category, - for use in some plugins, like workflow. - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df.knowledge.xml b/df.knowledge.xml index 1e794d6cb..93ddaf274 100644 --- a/df.knowledge.xml +++ b/df.knowledge.xml @@ -5,409 +5,6 @@ - - - - - -- All structures below this point are either DFHack-native or have yet to be reorganized - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df.materials.xml b/df.materials.xml deleted file mode 100644 index 17c60ec09..000000000 --- a/df.materials.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df.skills.xml b/df.skills.xml deleted file mode 100644 index 405f09584..000000000 --- a/df.skills.xml +++ /dev/null @@ -1,23 +0,0 @@ - - ----- SKILL ----- - - - - - - - - - - - - - - - - diff --git a/df.units.xml b/df.units.xml deleted file mode 100644 index 9ed4c2321..000000000 --- a/df.units.xml +++ /dev/null @@ -1,105 +0,0 @@ - - Not in DF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df.version.xml b/df.version.xml deleted file mode 100644 index e74f31b1e..000000000 --- a/df.version.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -