# Changes

- Add Debugstuff to main
- Add IsType and AutoLoad to AssetManager
- Add ID class for at compile time hashing
- Add A8 to image (but not supported yet)
- Fix error in Vertex constructor
- Add PathClear to PathFill func
- Add pCheckSize to check for overflows
- Make Tex in Texture a pointer ref
- Add default uv to texture
- Add own c++ exception
- Add FNV32 Hash func (compile and runtime)
- Fix Power2 check in texture loader
- Load Shader manualy in iron (cause it seems not working correctly with files)
This commit is contained in:
2025-11-27 13:32:44 +01:00
parent 2a2a670e1a
commit febf506a5e
17 changed files with 265 additions and 58 deletions

View File

@@ -3,14 +3,6 @@
namespace Amy {
namespace Utils {
ui fastHash(ksr s) {
ui hash = 5381;
for (auto& it : s) {
hash = (hash * 33) + static_cast<uc>(it);
}
return hash;
}
vec<uc> LoadFile2Mem(ksr path) {
std::ifstream iff(path, std::ios::binary);
if (!iff) {