Commit Graph
21 Commits
Author SHA1 Message Date
Paul Gilbert b1649597d7 AGS: Replaced Math/std Min/Max with ScummVM macros
Inspired by 6dee5ee6f271c600e30879d892295ea6069e8cc9
2022-05-05 22:41:10 -07:00
Paul Gilbert 4fa512da6e AGS: Fixed returning error from SpriteFile::LoadSprite/RawData()
From upstream e58569f1a1a95867cba00592b131372170c81c8b
2022-04-29 22:20:39 -07:00
Paul Gilbert 7b13f47d04 AGS: Fixing unimplemented cases in switches
From upstream 55345ca2b19598aeac2362d726fcaf15adf698fd
2022-04-25 19:37:00 -07:00
Paul Gilbert f2399dc15c AGS: Fixing various "unused variable/arg" warnings
From upstream 4b3c27c1a2b39d6c6b089adee111c6889d19ad0e
2022-04-25 19:17:26 -07:00
Paul Gilbert 250190e997 AGS: Fixing various type-cast warnings
From upstream 82e89d3c3dccfa0aba0b18c1aa544130ac7e6902
2022-04-25 18:47:12 -07:00
Paul Gilbert 1d38174881 AGS: Fixed new SpriteFileWriter saving of 16-bit sprites w palette
From upstream 972145a759c9a590cdf60197668191790b474000
2022-04-23 19:04:31 -07:00
Paul Gilbert 959b8a78e1 AGS: Fixed SaveSpriteFile unintentionally restoring deleted sprites
From upstream f2973226e29120d4ef193e81a1d098c6c40f5b36
2022-04-10 19:39:07 -07:00
Paul Gilbert a2cf1dd946 AGS: Properly reset SpriteCache and SpiteFile when they reinit
From upstream 938d7300f70180f55b6f2056ec5fb0d894a63735
2022-04-10 19:39:07 -07:00
Paul Gilbert c883fb2373 AGS: fixed SpriteFile::LoadRawData()
From upstream a5743472104595276c48f96625ac6a19e76d1ca7
2022-04-10 19:39:06 -07:00
Paul Gilbert 2706e9f3a5 AGS: Fixed bpp check in SpriteFile::CreateIndexedBitmap()
From upstream 9ce174c0c3c30e91170c4c508fb62d2743b19d09
2022-04-08 22:17:51 -07:00
Paul Gilbert 60902d9277 AGS: Fixed SpriteFile::RebuildSpriteIndex() not really working
From upstream 59901dea5bc858b338f4b616769b561ab0c07134
2022-04-05 20:42:56 -07:00
D G Turner 87f2f5c196 AGS: Fixes for Various Warnings in Sprite File Code
These were introduced by:
"AGS: SpriteFile's extended format, let store as indexed bitmaps
From upstream 34f32e3b71b2f8d0f7480aa04a2fcd38d77fb83b"

This fixes various GCC Compiler Warnings, but also removes some
fallthrough in the saving of palette data in the SaveSpriteData()
calls which looks very wrong. This probably should be flagged upstream
unless this has already been fixed there.
2022-04-01 23:10:25 +01:00
Paul Gilbert 6d4a816fb4 AGS: SpriteFile supports compression type selection (RLE/LZW)
From upstream 1526a939223974a88abf4c9601f1d4e421296a65
2022-03-30 22:13:18 -07:00
Paul Gilbert 897724f110 AGS: Split VectorStream from MemoryStream and allow write C-buffer
From upstream f8d1d99bcbdadfc6f1380d978d2c7261200a73c8
2022-03-30 22:13:18 -07:00
Paul Gilbert 6912f58a2f AGS: SpriteFile's extended format, let store as indexed bitmaps
From upstream 34f32e3b71b2f8d0f7480aa04a2fcd38d77fb83b
2022-03-30 22:13:17 -07:00
Paul Gilbert 8c17e3cc7e AGS: rle_(de)compress works with arbitrary buffers, not Bitmaps
From upstream d3be1ce673455ed6bf6f715e0adad4be44eee2bd
2022-03-30 22:13:17 -07:00
Paul Gilbert 3c81cbaa1c AGS: In SpriteFile split WriteRawData() and WriteSpriteData()
From upstream eab89574be9a577ea13e4d90e7032a6d6c44c903
2022-03-30 22:13:17 -07:00
Paul Gilbert 77e4a7f520 AGS: Tidy some code in SpriteFile class
From upstream 923c4b3e9ab23359c57233802acf57430843a308
2022-03-30 22:13:17 -07:00
Paul Gilbert 7443b55507 AGS: Change MemoryStream to work with arrays of uint8_t (was char)
From upstream c9317cdf92c1729f95453182474b3063ff25deec
2022-03-29 22:24:19 -07:00
Paul Gilbert fc9473d175 AGS: Picked a sprite file writing code into SpriteFileWriter class
From upstream 62a87664fc9249bad2886b44d10affc4d60071c3
2022-03-17 21:49:23 -07:00
Paul Gilbert ea65fe3c69 AGS: Moved SpriteFile class to a separate code unit for convenience
From upstream 393ef2c24bbc835d8e7a7229d40f638a6f172304
2022-03-17 21:49:22 -07:00