scawful
a393303d41
Refactor tile handling functions to use std::span for improved performance and safety
...
- Updated UnpackBppTile and ConvertBpp functions to accept std::span instead of std::vector, enhancing flexibility and reducing unnecessary copies.
- Refactored LoadSNES4bppGFXToIndexedColorMatrix to return a std::vector instead of modifying a destination span, improving usability.
- Cleaned up variable names for consistency and readability throughout the affected functions.
2025-05-10 11:00:38 -04:00
scawful
fb015523dc
Refactor SNES tile handling and introduce new graphics loading functionality
...
- Removed unused conversion functions for 3bpp to 4bpp and vice versa to streamline code.
- Updated SnesTo8bppSheet function to use std::span for improved performance and flexibility.
- Added LoadSNES4bppGFXToIndexedColorMatrix function to handle loading graphics data into an indexed color matrix, enhancing graphics management capabilities.
2025-05-08 11:44:22 -04:00
scawful
c99a4b0bc4
rename ApplyPalette with SetPalette
2025-03-02 17:06:46 -05:00
scawful
809282edad
remove nonstandard type aliases
2025-01-19 20:16:40 -05:00
scawful
e05e7c35db
remove app namespace
2024-12-28 21:28:51 -05:00
scawful
d13407c8e2
Refactor tile structures and functions to use snes_tile8; introduce GraphicsBuffer class for better data management
2024-11-13 08:52:12 -05:00
scawful
0035176f86
Add CopyTile8bpp16 function and refactor usage in OverworldMap
2024-11-10 17:16:46 -05:00
scawful
9657c5c499
add num_sheets arg to SnesTo8bppSheet
2024-10-05 11:06:40 -04:00
scawful
dc244ac02d
Refactor sprite editor to use Zelda3 namespace for default sprite names
2024-08-20 21:42:50 -04:00
scawful
49611d4944
big cleanup, replace Bytes alias with std::vector<uint8_t> to reduce ambiguity
2024-08-20 12:02:47 -04:00
Justin Scofield
478230e543
include <stdexcept>
2024-08-08 18:03:40 -04:00
scawful
0d1fda488e
housekeeping
2024-08-06 01:57:16 -04:00
scawful
6afa707d14
refactor Rom class and constants
2024-08-04 21:04:26 -04:00
scawful
1dcca478cd
Update SnesTo8bppSheet args and impl
2024-04-13 13:18:00 -04:00
scawful
adb7f0666e
Fix the dumbest bug in the universe
2024-01-31 18:00:37 -05:00
scawful
77d99724ef
Overworld map saving epic
2024-01-31 13:17:14 -05:00
scawful
0a388e60b4
Fix Tile32 unsigned long value cast constructor
2024-01-29 16:11:07 -05:00
scawful
fb398351d8
cleanup rom, gfx, overworld and add comments
2023-10-20 02:17:35 -04:00
scawful
1ed9f98933
Add TileInfoToWord and WorldToTileInfo
2023-10-17 17:03:26 -04:00
scawful
eda294d9de
Cgx preview works finally
2023-08-17 22:56:12 -04:00
scawful
c10f43a948
Add UnpackBppTile and PackBppTile
2023-08-17 20:31:22 -04:00
scawful
c336c60066
Add scad_format for CGX, COL, OBJ files
2023-08-09 00:19:07 -04:00
scawful
8cac0b71b4
add push_back to ROM and cleanup some stuff
2023-08-03 19:24:17 -04:00
Justin Scofield
7b2e017bb3
Add BitmapCanvasPipeline, more CgxViewer updates
2023-08-02 12:53:05 -04:00
scawful
d51bb7b3d0
Add BPP8SNESToIndexed to snes_tile for cgx
2023-08-02 07:15:55 -04:00
scawful
5852213f49
Move SnesTo8bppSheet to gfx namespace
2023-07-09 10:36:07 -04:00
Justin Scofield
7daeeea14e
bug: fix tile16 issue with toint16 method
2022-09-05 13:03:05 -05:00
Justin Scofield
6e50beb2ba
update includes
2022-07-27 20:13:08 +00:00
Justin Scofield
92252c548f
Remove unused methods
2022-07-27 17:34:32 +00:00
Justin Scofield
b084208760
housekeeping snes types
2022-07-23 16:34:08 -04:00
Justin Scofield
9f760d922a
Removed constants namespace
2022-07-19 15:37:56 +00:00
Justin Scofield
647c975ead
housekeeping snes_tile
2022-07-11 21:35:23 -04:00
Justin Scofield
08590d824d
changed tile.h and tile16.cc to snes_tile
2022-07-11 20:39:08 -04:00