Small cleanup/comments.

This commit is contained in:
2026-07-10 08:37:14 +02:00
parent 445b451fcd
commit deaa0f9121
3 changed files with 19 additions and 3 deletions
+11 -1
View File
@@ -1,17 +1,27 @@
// -----------------------------------------------------------------------------
// Asset Manager
//
// Responsible for loading, owning, and unloading all game assets.
// Assets are loaded once, shared throughout the game, and released on close
// -----------------------------------------------------------------------------
package game
import rl "vendor:raylib"
// import rl "vendor:raylib"
Asset_Manager :: struct {
// Empty for now.
//player: rl.Texture2D,
}
asset_manager_init :: proc() -> Asset_Manager {
assets := Asset_Manager{}
// assets.player = rl.LoadTexture("assets/sprites/player.png")
return assets
}
asset_manager_destroy :: proc(assets: ^Asset_Manager) {
// unload textures here later.
//rl.UnloadTexture(assets.player)
}