From 4fac37b7f59235c8c9b1e09bba4fd6eab2c2b755 Mon Sep 17 00:00:00 2001 From: shweet Date: Fri, 13 Nov 2026 00:48:36 -0500 Subject: [PATCH] Flatten resources to gfx and sfx folders --- MODDING.md | 20 +++++++++--------- README.md | 2 +- .../braixen/gfx/{areas => }/area.anm2 | 0 .../braixen/gfx/{areas => }/area.png | Bin .../braixen/gfx/{character => }/braixen.png | Bin .../gfx/{character => }/character.anm2 | 0 .../braixen/gfx/{cursor => }/cursor.anm2 | 0 .../braixen/gfx/{cursor => }/cursor.png | Bin .../braixen/gfx/{preview => }/portrait.png | Bin .../braixen/gfx/{preview => }/render.png | Bin resources/characters/braixen/items.json | 2 +- .../characters/mini/gfx/{areas => }/area.anm2 | 0 .../characters/mini/gfx/{areas => }/area.png | Bin .../mini/gfx/{character => }/character.anm2 | 2 +- .../mini/gfx/{cursor => }/cursor.png | Bin .../characters/mini/gfx/{items => }/item.anm2 | 0 .../characters/mini/gfx/{items => }/items.png | Bin .../mini/gfx/{character => }/mini.png | Bin .../mini/gfx/{preview => }/portrait.png | Bin .../mini/gfx/{preview => }/render.png | Bin resources/characters/mini/items.json | 2 +- resources/characters/snivy/character.json | 2 +- .../snivy/gfx/{areas => }/area.anm2 | 0 .../characters/snivy/gfx/{areas => }/area.png | Bin .../snivy/gfx/{character => }/character.anm2 | 2 +- .../snivy/gfx/{cursor => }/cursor.png | Bin .../snivy/gfx/{preview => }/portrait.png | Bin .../snivy/gfx/{particle => }/puff.png | Bin .../snivy/gfx/{preview => }/render.png | Bin .../snivy/gfx/{character => }/shadow.png | Bin .../snivy/gfx/{character => }/snivy.png | Bin .../snivy/gfx/{character => }/snivy_alt.png | Bin resources/characters/snivy/items.json | 2 +- resources/common/character.json | 4 ++-- .../common/gfx/{particle => }/circle.anm2 | 0 .../common/gfx/{particle => }/circle.png | Bin resources/common/gfx/{cursor => }/cursor.anm2 | 0 resources/common/gfx/{ui => }/icons.anm2 | 0 resources/common/gfx/{ui => }/icons.png | Bin .../gfx/{ui/LICENSE.txt => icons_license.txt} | 0 resources/common/gfx/{items => }/item.anm2 | 0 resources/common/gfx/{items => }/items.png | Bin resources/common/gfx/{particle => }/puff.anm2 | 0 resources/common/gfx/{particle => }/puff.png | Bin src/character.cpp | 8 +++---- src/character.h | 4 ++-- 46 files changed, 25 insertions(+), 25 deletions(-) rename resources/characters/braixen/gfx/{areas => }/area.anm2 (100%) rename resources/characters/braixen/gfx/{areas => }/area.png (100%) rename resources/characters/braixen/gfx/{character => }/braixen.png (100%) rename resources/characters/braixen/gfx/{character => }/character.anm2 (100%) rename resources/characters/braixen/gfx/{cursor => }/cursor.anm2 (100%) rename resources/characters/braixen/gfx/{cursor => }/cursor.png (100%) rename resources/characters/braixen/gfx/{preview => }/portrait.png (100%) rename resources/characters/braixen/gfx/{preview => }/render.png (100%) rename resources/characters/mini/gfx/{areas => }/area.anm2 (100%) rename resources/characters/mini/gfx/{areas => }/area.png (100%) rename resources/characters/mini/gfx/{character => }/character.anm2 (99%) rename resources/characters/mini/gfx/{cursor => }/cursor.png (100%) rename resources/characters/mini/gfx/{items => }/item.anm2 (100%) rename resources/characters/mini/gfx/{items => }/items.png (100%) rename resources/characters/mini/gfx/{character => }/mini.png (100%) rename resources/characters/mini/gfx/{preview => }/portrait.png (100%) rename resources/characters/mini/gfx/{preview => }/render.png (100%) rename resources/characters/snivy/gfx/{areas => }/area.anm2 (100%) rename resources/characters/snivy/gfx/{areas => }/area.png (100%) rename resources/characters/snivy/gfx/{character => }/character.anm2 (99%) rename resources/characters/snivy/gfx/{cursor => }/cursor.png (100%) rename resources/characters/snivy/gfx/{preview => }/portrait.png (100%) rename resources/characters/snivy/gfx/{particle => }/puff.png (100%) rename resources/characters/snivy/gfx/{preview => }/render.png (100%) rename resources/characters/snivy/gfx/{character => }/shadow.png (100%) rename resources/characters/snivy/gfx/{character => }/snivy.png (100%) rename resources/characters/snivy/gfx/{character => }/snivy_alt.png (100%) rename resources/common/gfx/{particle => }/circle.anm2 (100%) rename resources/common/gfx/{particle => }/circle.png (100%) rename resources/common/gfx/{cursor => }/cursor.anm2 (100%) rename resources/common/gfx/{ui => }/icons.anm2 (100%) rename resources/common/gfx/{ui => }/icons.png (100%) rename resources/common/gfx/{ui/LICENSE.txt => icons_license.txt} (100%) rename resources/common/gfx/{items => }/item.anm2 (100%) rename resources/common/gfx/{items => }/items.png (100%) rename resources/common/gfx/{particle => }/puff.anm2 (100%) rename resources/common/gfx/{particle => }/puff.png (100%) diff --git a/MODDING.md b/MODDING.md index e00e6b8..1d36a7b 100644 --- a/MODDING.md +++ b/MODDING.md @@ -28,11 +28,11 @@ Know that despite Anm2Ed supporting sounds for animations, don't expect these to # Resources -There's two folders inside resources; "characters" and "font". +There's three folders inside resources; "characters", "common" and "font". Each character folder (and "common") holds its JSON files, a "gfx" folder with every graphic (anm2s and their spritesheets side by side) and an "sfx" folder with every sound. There are no deeper folders. "font" holds the one font the whole game uses (Mali, under the SIL Open Font License; see its LICENSE.txt). -"common" holds files characters share (sounds, particles, the cursor and so on). Whenever a character names a file, the game looks in the character's folder first, then in "common", so a character can use anything there as is, or replace it by having its own file at the same path. This includes the taskbar's icons, `gfx/ui/icons.anm2`: one region per icon, named after its button (`talk`, `mood`, `spawn`, `autofeed`, `home`, `stats`, `catalog`, `settings`, `cheats`, `help`, plus whatever `icon`s the interaction types name). A character with its own `gfx/ui/icons.anm2` gets its own icons. +"common" holds files characters share (sounds, particles, the cursor and so on). Whenever a character names a file, the game looks in the character's folder first, then in "common", so a character can use anything there as is, or replace it by having its own file at the same path. This includes the taskbar's icons, `gfx/icons.anm2`: one region per icon, named after its button (`talk`, `mood`, `spawn`, `autofeed`, `home`, `stats`, `catalog`, `settings`, `cheats`, `help`, plus whatever `icon`s the interaction types name). A character with its own `gfx/icons.anm2` gets its own icons. EVERYTHING ELSE is stored inside character folders in the "characters" folder; one folder per character, named however you like (the folder name is also the name of its save file). This has all data associated with characters. Think of characters more as tailored game experiences rather than literally being just the characters. Not only is there the character graphics, but backgrounds, items, parameters, etc. These are intensely customizable to suit whatever experience you'd like (within the confines of the engine, of course). @@ -57,10 +57,10 @@ Some things aren't set in the data, they're always found at the same place or by | What | Where | |---|---| -| The character's anm2 | `gfx/character/character.anm2` | -| Select screen render and portrait | `gfx/preview/render.png` and `gfx/preview/portrait.png` (both optional) | -| The background | `gfx/areas/area.anm2`, with the world's bounds in its `Bounds` null and where items spawn in its `ItemSpawn` null | -| The cursor | `gfx/cursor/cursor.anm2`, with the animations `Default`, `Click`, `Hover` (over an item), `Grab` (an item), `Pan` (with middle mouse), `Zoom` (with the mouse wheel) and `Dispose` (right clicking an item) | +| The character's anm2 | `gfx/character.anm2` | +| Select screen render and portrait | `gfx/render.png` and `gfx/portrait.png` (both optional) | +| The background | `gfx/area.anm2`, with the world's bounds in its `Bounds` null and where items spawn in its `ItemSpawn` null | +| The cursor | `gfx/cursor.anm2`, with the animations `Default`, `Click`, `Hover` (over an item), `Grab` (an item), `Pan` (with middle mouse), `Zoom` (with the mouse wheel) and `Dispose` (right clicking an item) | | Stage names | Stages are named `Stage1`, `Stage2` and so on. Past the first, the stage's name is added to every animation's name, and each stage's "How are you feeling?" dialogue is the pool of its name. | | Dialogue when over capacity | An interaction plays its pool with `Full` added (e.g. `BellyRubFull`) instead, if there is one. | @@ -160,7 +160,7 @@ The first expand area is treated as the belly: it breathes, jiggles when smacked | `type` | string | (Areas only) The interaction type to use. | | `null` | string | (Areas) The null in which the interact area can be triggered. | | `layer` | string | The layer that the scale effect (e.g. smacks) applies to. | -| `icon` | string | The region of `gfx/ui/icons.anm2` shown on this type's taskbar button. | +| `icon` | string | The region of `gfx/icons.anm2` shown on this type's taskbar button. | | `isHold` | bool | If true, the interaction is held rather than clicked once. | | `cursorHover` | string | The animation the cursor will play when hovering over the interact area. | | `cursorActive` | string | The animation the cursor will play when interacting. | @@ -183,10 +183,10 @@ The first expand area is treated as the belly: it breathes, jiggles when smacked | `gurgle` | Ambient sounds that play randomly based on capacity; see `gurgleChance`. | ### area -How items move in the background (`gfx/areas/area.anm2`): `gravity` (applied to items' velocities per tick), `friction` (applied when items are grounded or hit walls) and `airResistance`. +How items move in the background (`gfx/area.anm2`): `gravity` (applied to items' velocities per tick), `friction` (applied when items are grounded or hit walls) and `airResistance`. ### cursor -The cursor's sounds and particles. Its look is `gfx/cursor/cursor.anm2` (see "Fixed files and names"). +The cursor's sounds and particles. Its look is `gfx/cursor.anm2` (see "Fixed files and names"). | Key | Meaning | |---|---| @@ -209,7 +209,7 @@ Has all items and their parameters, alongside additional behavior. Items share o ```json { - "anm2": "gfx/items/item.anm2", + "anm2": "gfx/item.anm2", "spawnDelay": 10, "rarities": {"Common": {"weight": 1, "sound": "sfx/common.ogg"}}, "items": [ diff --git a/README.md b/README.md index 9ae9ff4..d0b5e62 100644 --- a/README.md +++ b/README.md @@ -62,4 +62,4 @@ See [MODDING.md](MODDING.md). ## License -See [LICENSE](LICENSE). The taskbar icons are from [Tabler Icons](https://tabler.io/icons) (MIT), see `resources/common/gfx/ui/LICENSE.txt`. +See [LICENSE](LICENSE). The taskbar icons are from [Tabler Icons](https://tabler.io/icons) (MIT), see `resources/common/gfx/icons_license.txt`. diff --git a/resources/characters/braixen/gfx/areas/area.anm2 b/resources/characters/braixen/gfx/area.anm2 similarity index 100% rename from resources/characters/braixen/gfx/areas/area.anm2 rename to resources/characters/braixen/gfx/area.anm2 diff --git a/resources/characters/braixen/gfx/areas/area.png b/resources/characters/braixen/gfx/area.png similarity index 100% rename from resources/characters/braixen/gfx/areas/area.png rename to resources/characters/braixen/gfx/area.png diff --git a/resources/characters/braixen/gfx/character/braixen.png b/resources/characters/braixen/gfx/braixen.png similarity index 100% rename from resources/characters/braixen/gfx/character/braixen.png rename to resources/characters/braixen/gfx/braixen.png diff --git a/resources/characters/braixen/gfx/character/character.anm2 b/resources/characters/braixen/gfx/character.anm2 similarity index 100% rename from resources/characters/braixen/gfx/character/character.anm2 rename to resources/characters/braixen/gfx/character.anm2 diff --git a/resources/characters/braixen/gfx/cursor/cursor.anm2 b/resources/characters/braixen/gfx/cursor.anm2 similarity index 100% rename from resources/characters/braixen/gfx/cursor/cursor.anm2 rename to resources/characters/braixen/gfx/cursor.anm2 diff --git a/resources/characters/braixen/gfx/cursor/cursor.png b/resources/characters/braixen/gfx/cursor.png similarity index 100% rename from resources/characters/braixen/gfx/cursor/cursor.png rename to resources/characters/braixen/gfx/cursor.png diff --git a/resources/characters/braixen/gfx/preview/portrait.png b/resources/characters/braixen/gfx/portrait.png similarity index 100% rename from resources/characters/braixen/gfx/preview/portrait.png rename to resources/characters/braixen/gfx/portrait.png diff --git a/resources/characters/braixen/gfx/preview/render.png b/resources/characters/braixen/gfx/render.png similarity index 100% rename from resources/characters/braixen/gfx/preview/render.png rename to resources/characters/braixen/gfx/render.png diff --git a/resources/characters/braixen/items.json b/resources/characters/braixen/items.json index 71b4514..7c9b768 100644 --- a/resources/characters/braixen/items.json +++ b/resources/characters/braixen/items.json @@ -1,5 +1,5 @@ { - "anm2": "gfx/items/item.anm2", + "anm2": "gfx/item.anm2", "spritesheet": 0, "spawnDelay": 10, "spawnDelayMultiplier": 0.75, diff --git a/resources/characters/mini/gfx/areas/area.anm2 b/resources/characters/mini/gfx/area.anm2 similarity index 100% rename from resources/characters/mini/gfx/areas/area.anm2 rename to resources/characters/mini/gfx/area.anm2 diff --git a/resources/characters/mini/gfx/areas/area.png b/resources/characters/mini/gfx/area.png similarity index 100% rename from resources/characters/mini/gfx/areas/area.png rename to resources/characters/mini/gfx/area.png diff --git a/resources/characters/mini/gfx/character/character.anm2 b/resources/characters/mini/gfx/character.anm2 similarity index 99% rename from resources/characters/mini/gfx/character/character.anm2 rename to resources/characters/mini/gfx/character.anm2 index 3de73f4..b2d1430 100644 --- a/resources/characters/mini/gfx/character/character.anm2 +++ b/resources/characters/mini/gfx/character.anm2 @@ -717,7 +717,7 @@ {"name": "ButtBack", "showRect": true} ], "events": ["Eat", "Grow", "Groan"], - "sounds": ["../../sfx/eat1.ogg", "../../sfx/eat2.ogg", "../../sfx/eat3.ogg", "../../sfx/grow.ogg", "../../sfx/groan.ogg", "../../sfx/rip.ogg", "../../sfx/step.ogg", "../../sfx/step2.ogg", "../../sfx/rustle.ogg"], + "sounds": ["../sfx/eat1.ogg", "../sfx/eat2.ogg", "../sfx/eat3.ogg", "../sfx/grow.ogg", "../sfx/groan.ogg", "../sfx/rip.ogg", "../sfx/step.ogg", "../sfx/step2.ogg", "../sfx/rustle.ogg"], "defaultAnimation": "Neutral", "animations": { "Appear": { diff --git a/resources/characters/mini/gfx/cursor/cursor.png b/resources/characters/mini/gfx/cursor.png similarity index 100% rename from resources/characters/mini/gfx/cursor/cursor.png rename to resources/characters/mini/gfx/cursor.png diff --git a/resources/characters/mini/gfx/items/item.anm2 b/resources/characters/mini/gfx/item.anm2 similarity index 100% rename from resources/characters/mini/gfx/items/item.anm2 rename to resources/characters/mini/gfx/item.anm2 diff --git a/resources/characters/mini/gfx/items/items.png b/resources/characters/mini/gfx/items.png similarity index 100% rename from resources/characters/mini/gfx/items/items.png rename to resources/characters/mini/gfx/items.png diff --git a/resources/characters/mini/gfx/character/mini.png b/resources/characters/mini/gfx/mini.png similarity index 100% rename from resources/characters/mini/gfx/character/mini.png rename to resources/characters/mini/gfx/mini.png diff --git a/resources/characters/mini/gfx/preview/portrait.png b/resources/characters/mini/gfx/portrait.png similarity index 100% rename from resources/characters/mini/gfx/preview/portrait.png rename to resources/characters/mini/gfx/portrait.png diff --git a/resources/characters/mini/gfx/preview/render.png b/resources/characters/mini/gfx/render.png similarity index 100% rename from resources/characters/mini/gfx/preview/render.png rename to resources/characters/mini/gfx/render.png diff --git a/resources/characters/mini/items.json b/resources/characters/mini/items.json index af33828..8113d8b 100644 --- a/resources/characters/mini/items.json +++ b/resources/characters/mini/items.json @@ -1,5 +1,5 @@ { - "anm2": "gfx/items/item.anm2", + "anm2": "gfx/item.anm2", "spritesheet": 0, "spawnDelay": 10, "spawnDelayMultiplier": 0.75, diff --git a/resources/characters/snivy/character.json b/resources/characters/snivy/character.json index 3e1c60e..5fbfdbf 100644 --- a/resources/characters/snivy/character.json +++ b/resources/characters/snivy/character.json @@ -7,7 +7,7 @@ "capacity": 300, "overstuffedDigestBonus": 0.25, "caloriesToKilogram": 0.0005, - "alternate": {"texture": "gfx/character/snivy_alt.png", "sound": "sfx/shiny.ogg", "chance": 0.001}, + "alternate": {"texture": "gfx/snivy_alt.png", "sound": "sfx/shiny.ogg", "chance": 0.001}, "stages": [10, 12.5, 17.5, 27.5, 40, 55, 75, 100, 130], "blink": {"destination": "Head"}, "expandAreas": [{"layer": "Torso", "null": "Belly", "scaleMax": 7.5}, {"layer": "Tail", "null": "Tail", "scaleMax": 7.5}], diff --git a/resources/characters/snivy/gfx/areas/area.anm2 b/resources/characters/snivy/gfx/area.anm2 similarity index 100% rename from resources/characters/snivy/gfx/areas/area.anm2 rename to resources/characters/snivy/gfx/area.anm2 diff --git a/resources/characters/snivy/gfx/areas/area.png b/resources/characters/snivy/gfx/area.png similarity index 100% rename from resources/characters/snivy/gfx/areas/area.png rename to resources/characters/snivy/gfx/area.png diff --git a/resources/characters/snivy/gfx/character/character.anm2 b/resources/characters/snivy/gfx/character.anm2 similarity index 99% rename from resources/characters/snivy/gfx/character/character.anm2 rename to resources/characters/snivy/gfx/character.anm2 index f772ae2..08b92d4 100644 --- a/resources/characters/snivy/gfx/character/character.anm2 +++ b/resources/characters/snivy/gfx/character.anm2 @@ -1083,7 +1083,7 @@ {"name": "TailBack", "showRect": true} ], "events": ["Eat"], - "sounds": ["../../sfx/cry.ogg", "../../sfx/stage_up_start.ogg", "../../sfx/stage_up_end.ogg", "../../sfx/eat.ogg", "../../sfx/pat.ogg", "../../sfx/stomp.ogg", "../../sfx/muffled.ogg", "../../sfx/burp1.ogg", "../../sfx/burp2.ogg", "../../sfx/burp3.ogg"], + "sounds": ["../sfx/cry.ogg", "../sfx/stage_up_start.ogg", "../sfx/stage_up_end.ogg", "../sfx/eat.ogg", "../sfx/pat.ogg", "../sfx/stomp.ogg", "../sfx/muffled.ogg", "../sfx/burp1.ogg", "../sfx/burp2.ogg", "../sfx/burp3.ogg"], "defaultAnimation": "Neutral", "animations": { "Appear": { diff --git a/resources/characters/snivy/gfx/cursor/cursor.png b/resources/characters/snivy/gfx/cursor.png similarity index 100% rename from resources/characters/snivy/gfx/cursor/cursor.png rename to resources/characters/snivy/gfx/cursor.png diff --git a/resources/characters/snivy/gfx/preview/portrait.png b/resources/characters/snivy/gfx/portrait.png similarity index 100% rename from resources/characters/snivy/gfx/preview/portrait.png rename to resources/characters/snivy/gfx/portrait.png diff --git a/resources/characters/snivy/gfx/particle/puff.png b/resources/characters/snivy/gfx/puff.png similarity index 100% rename from resources/characters/snivy/gfx/particle/puff.png rename to resources/characters/snivy/gfx/puff.png diff --git a/resources/characters/snivy/gfx/preview/render.png b/resources/characters/snivy/gfx/render.png similarity index 100% rename from resources/characters/snivy/gfx/preview/render.png rename to resources/characters/snivy/gfx/render.png diff --git a/resources/characters/snivy/gfx/character/shadow.png b/resources/characters/snivy/gfx/shadow.png similarity index 100% rename from resources/characters/snivy/gfx/character/shadow.png rename to resources/characters/snivy/gfx/shadow.png diff --git a/resources/characters/snivy/gfx/character/snivy.png b/resources/characters/snivy/gfx/snivy.png similarity index 100% rename from resources/characters/snivy/gfx/character/snivy.png rename to resources/characters/snivy/gfx/snivy.png diff --git a/resources/characters/snivy/gfx/character/snivy_alt.png b/resources/characters/snivy/gfx/snivy_alt.png similarity index 100% rename from resources/characters/snivy/gfx/character/snivy_alt.png rename to resources/characters/snivy/gfx/snivy_alt.png diff --git a/resources/characters/snivy/items.json b/resources/characters/snivy/items.json index 859f6e4..bd03180 100644 --- a/resources/characters/snivy/items.json +++ b/resources/characters/snivy/items.json @@ -1,5 +1,5 @@ { - "anm2": "gfx/items/item.anm2", + "anm2": "gfx/item.anm2", "spritesheet": 0, "spawnDelay": 10, "spawnDelayMultiplier": 0.75, diff --git a/resources/common/character.json b/resources/common/character.json index 4e239b0..91906c5 100644 --- a/resources/common/character.json +++ b/resources/common/character.json @@ -56,8 +56,8 @@ } }, "particles": { - "Circle": {"anm2": "gfx/particle/circle.anm2", "animation": "Main"}, - "Puff": {"anm2": "gfx/particle/puff.anm2", "animation": "Main"} + "Circle": {"anm2": "gfx/circle.anm2", "animation": "Main"}, + "Puff": {"anm2": "gfx/puff.anm2", "animation": "Main"} }, "area": {"gravity": 0.95, "friction": 0.75, "airResistance": 0.975} } diff --git a/resources/common/gfx/particle/circle.anm2 b/resources/common/gfx/circle.anm2 similarity index 100% rename from resources/common/gfx/particle/circle.anm2 rename to resources/common/gfx/circle.anm2 diff --git a/resources/common/gfx/particle/circle.png b/resources/common/gfx/circle.png similarity index 100% rename from resources/common/gfx/particle/circle.png rename to resources/common/gfx/circle.png diff --git a/resources/common/gfx/cursor/cursor.anm2 b/resources/common/gfx/cursor.anm2 similarity index 100% rename from resources/common/gfx/cursor/cursor.anm2 rename to resources/common/gfx/cursor.anm2 diff --git a/resources/common/gfx/ui/icons.anm2 b/resources/common/gfx/icons.anm2 similarity index 100% rename from resources/common/gfx/ui/icons.anm2 rename to resources/common/gfx/icons.anm2 diff --git a/resources/common/gfx/ui/icons.png b/resources/common/gfx/icons.png similarity index 100% rename from resources/common/gfx/ui/icons.png rename to resources/common/gfx/icons.png diff --git a/resources/common/gfx/ui/LICENSE.txt b/resources/common/gfx/icons_license.txt similarity index 100% rename from resources/common/gfx/ui/LICENSE.txt rename to resources/common/gfx/icons_license.txt diff --git a/resources/common/gfx/items/item.anm2 b/resources/common/gfx/item.anm2 similarity index 100% rename from resources/common/gfx/items/item.anm2 rename to resources/common/gfx/item.anm2 diff --git a/resources/common/gfx/items/items.png b/resources/common/gfx/items.png similarity index 100% rename from resources/common/gfx/items/items.png rename to resources/common/gfx/items.png diff --git a/resources/common/gfx/particle/puff.anm2 b/resources/common/gfx/puff.anm2 similarity index 100% rename from resources/common/gfx/particle/puff.anm2 rename to resources/common/gfx/puff.anm2 diff --git a/resources/common/gfx/particle/puff.png b/resources/common/gfx/puff.png similarity index 100% rename from resources/common/gfx/particle/puff.png rename to resources/common/gfx/puff.png diff --git a/src/character.cpp b/src/character.cpp index d8349e8..a2ddae9 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -1,12 +1,12 @@ #include "character.h" #include "json.h" -constexpr const char* AREA_PATH = "gfx/areas/area.anm2"; +constexpr const char* AREA_PATH = "gfx/area.anm2"; constexpr const char* BOUNDS_NULL = "Bounds"; -constexpr const char* CURSOR_PATH = "gfx/cursor/cursor.anm2"; +constexpr const char* CURSOR_PATH = "gfx/cursor.anm2"; constexpr const char* DATA_FILE = "character.json"; -constexpr const char* PORTRAIT_PATH = "gfx/preview/portrait.png"; -constexpr const char* RENDER_PATH = "gfx/preview/render.png"; +constexpr const char* PORTRAIT_PATH = "gfx/portrait.png"; +constexpr const char* RENDER_PATH = "gfx/render.png"; constexpr const char* SPAWN_NULL = "ItemSpawn"; constexpr const char* STAGE_PREFIX = "Stage"; constexpr const char* TAG_NAMES[] = {"animation", "big", "color", "delay", "screenshake", diff --git a/src/character.h b/src/character.h index 719414b..5379caf 100644 --- a/src/character.h +++ b/src/character.h @@ -62,9 +62,9 @@ enum Hook HOOK_COUNT }; -constexpr const char* ANM2_PATH = "gfx/character/character.anm2"; +constexpr const char* ANM2_PATH = "gfx/character.anm2"; constexpr const char* COMMON_FOLDER = "common/"; -constexpr const char* ICONS_PATH = "gfx/ui/icons.anm2"; +constexpr const char* ICONS_PATH = "gfx/icons.anm2"; constexpr const char* CURSOR_ANIMATION_CLICK = "Click"; constexpr const char* CURSOR_ANIMATION_DISPOSE = "Dispose"; constexpr const char* CURSOR_ANIMATION_GRAB = "Grab";