Fix segfaults by avoiding models and animations for now

This commit is contained in:
2025-04-16 10:47:46 +02:00
parent 220a451475
commit 5bf962a18d
5 changed files with 370 additions and 74 deletions

View File

@ -22,12 +22,13 @@ type AnimationSet struct {
}
type ModelAsset struct {
Model rl.Model
Texture rl.Texture2D
Animation []rl.ModelAnimation // Keep this for compatibility
AnimFrames int32 // Keep this for compatibility
Animations AnimationSet // New field for organized animations
YOffset float32 // Additional height offset (added to default 8.0)
Model rl.Model
Texture rl.Texture2D
Animation []rl.ModelAnimation // Keep this for compatibility
AnimFrames int32 // Keep this for compatibility
Animations AnimationSet // New field for organized animations
YOffset float32 // Additional height offset (added to default 8.0)
PlaceholderColor rl.Color
}
type ChatMessage struct {