Thierry Crozat
e9c84767f7
AGS: Merged BitmapFlip with engine's GlobalFlipType (same values)
...
From upstream a747deafe67d536b6bcaf408077ca83f6e61a33d
2022-06-24 20:54:47 +01:00
Paul Gilbert
c465ba977d
AGS: Bitmap make data const in functor
...
From upstream 7581848b93ca915943139df8064e7fd51f39f7c4
2022-05-10 21:17:59 -07:00
Paul Gilbert
3b91a1124f
AGS: Made internal BitmapFlip enum match the script, for convenience
...
From upstream 8be85c08ed87a56265d2f18fb798ec463edb3ef7
2022-05-01 17:23:25 -07:00
Paul Gilbert
b9a9b00974
AGS: Graphic renderers use correct alpha as sprite transparency
...
From upstream d2502a5240c6c06eb2fb65a9bf90b30584d79051
2022-05-01 17:23:23 -07:00
Paul Gilbert
ad599a6425
AGS: In gui clipping mode prevent listbox items drawn over scrollbar
...
From upstream 37d757e88bfd7df47cf4154d37ec1a3df79e2c16
2022-04-29 22:20:39 -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
ceedf758fe
AGS: Removed room template binary resource, create one in code
...
From upstream 632a93fb38292e80f32e42e99def1b69e4de4160
2022-04-12 22:27:53 -07:00
Paul Gilbert
a57df48467
AGS: DynamicSprite.CreateFromFile supports $DATA$ path token
...
From upstream 57954026cf10593210221dbf3a796c83fc26379d
2022-03-20 22:11:54 -07:00
Paul Gilbert
189af0707d
AGS: Implement bitmap loading for passed PACKFILE
...
This is needed for an upstream commit that adds loading
images via a passed PACKFILE
2022-03-20 22:11:54 -07:00
Paul Gilbert
fd0e16ffc3
AGS: implemented stencil cache per Font for automatic outlining
...
From upstream e32c4bf46b5f74b904ac491bb6017ceb8f8e2bbf
2022-03-14 21:04:08 -07:00
Paul Gilbert
399a89825f
AGS: New auto outline supports AA TTFs in 32- and 16-bit games
...
From upstream cae84d689019313cad49b6dca7e916866b90e49e
2022-03-14 21:04:07 -07:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Paul Gilbert
42e49943c1
AGS: Fixed save_bitmap for paletted games
2021-09-06 22:07:17 -07:00
Paul Gilbert
0cfbb2a965
AGS: Fix writing 32-bit images that don't have transparencies set
2021-09-01 22:18:22 -07:00
Paul Gilbert
eeda6bc153
AGS: Fix loading of images from save folder
2021-09-01 21:30:44 -07:00
Thierry Crozat
500ee6539a
AGS: Do not add the prefix twice when saving bitmaps
...
This happened when the bitmap is saved from a script as then
the path goes through ResolveScriptPath which already adds the
prefix.
The double prefix meant that when the script tried to read the
file, the name was different (as then it only has the prefix
added once) and this failed.
One game that does this is Strangeland.
2021-09-01 12:35:31 +01:00
Paul Gilbert
50c59252c7
AGS: Added Bitmap::ResetClip() for simpler unsetting of clipping
...
From upstream a0ad337a24ec2c25822949494c717529c57e56c3
2021-08-20 21:49:39 -07:00
Paul Gilbert
cb22589207
AGS: Fix for intro text rendering in Maniac Mansion Deluxe
2021-07-03 16:20:56 -07:00
Paul Gilbert
0672ca0f2b
AGS: Fix rendering purple text that matches the transparent color
2021-07-03 11:49:23 -07:00
Paul Gilbert
d57474ce59
AGS: Provided more function variants accepting const String&
...
From upstream 44402962003db439e54d79e0c562fba1cf59e455
2021-06-13 21:08:58 -07:00
Paul Gilbert
701396361c
AGS: Import of fresh codebase
2021-06-13 21:08:44 -07:00
Thierry Crozat
4dfc191981
AGS: Fix assert when trying to save screenshots
...
The SaveFileManager triggers an assert when passed a path and not
just a file name. And we were passing "/saves/scrshotname.bmp" to
it. Now the path is stripped and we also add the game target as
prefix to the filename.
2021-04-14 23:54:48 +01:00
Thierry Crozat
d70308096c
AGS: Fix savegame screenshots for paletted games
...
We were passing an empty palette to blit, causing
black screenshots for example in Trilby's Notes.
Screenshots seemed to be working already in some
other games, such as Black Cauldron, and I have
no idea how.
2021-03-13 03:28:22 +00:00
Thierry Crozat
a2ed9906e4
AGS Cleanup surface creation
...
The main changce is that create_bitmap() now uses the current
get_color_depth(), as it is supposed to (according to the Allegro
documentation).
Also it remove cases where the surface could be created without the transparent color.
2021-03-10 00:28:29 +00:00
Paul Gilbert
354441a862
AGS: Remove deprecated assert.h
2021-03-06 19:51:04 -08:00
Paul Gilbert
cd017a73c7
AGS: Revert Standardization of number types
...
This reverts commit a96422af52 .
2021-02-16 19:45:02 -08:00
Paul Gilbert
a96422af52
AGS: Standardization of number types
...
This not only simplifies all the use of _t types to the
ScummVM equivalents, it gets rid of the int32 usage in
favor of just int, solving common type clashes with the
Amiga, for which int doesn't match int32
2021-02-13 11:38:55 -08:00
Paul Gilbert
324cacf4d9
AGS: Remove unneeded packfile image stubs
2021-02-07 09:37:33 -08:00
Paul Gilbert
f7f9ec25a7
AGS: Implement support for other image types
2021-02-07 09:37:33 -08:00
Paul Gilbert
6a5bb2c48f
AGS: Fix starting up early 2.5 paletted games
2021-02-06 16:37:31 -08:00
Paul Gilbert
5c97a54273
AGS: Implement bitmap saving code needed by KQ2
2021-02-06 16:37:31 -08:00
Paul Gilbert
5aa27892c6
AGS: Implementing drawing code used by pathfinder
2021-02-06 16:37:31 -08:00
Paul Gilbert
519004004a
AGS: Fix returning GetColorDepth for paletted surfaces
2021-02-06 16:37:31 -08:00
Paul Gilbert
9701be90f2
AGS: Implement load_pcx method
2021-02-06 16:37:31 -08:00
Paul Gilbert
14b1344aa0
AGS: Warning fixes
2021-02-06 16:37:31 -08:00
Paul Gilbert
969f4b507c
AGS: Warning fixes
2021-02-06 16:37:31 -08:00
Paul Gilbert
c16efc3a1d
AGS: Adding engine/script/ folder
2021-02-06 16:37:31 -08:00
Paul Gilbert
fdcfe8362f
AGS: Move allegro from stubs/ to lib/
2021-02-06 16:37:31 -08:00
Paul Gilbert
b12ea53326
AGS: Added shared/gfx/ and support code
2021-02-06 16:37:31 -08:00
Paul Gilbert
6c8789264d
AGS: Added shared/util/ folder
2021-02-06 16:37:31 -08:00
Paul Gilbert
a7a9ca0543
AGS: Adding AGS3 namespace to cpp files
2021-02-06 16:37:31 -08:00
Paul Gilbert
d8e471b03c
AGS: Changing Common namespace to Shared
2021-02-06 16:37:31 -08:00
Paul Gilbert
76a2e90366
AGS: Wrapping headers in an AGS3 namespace
2021-02-06 16:37:31 -08:00
dreammaster
8026e4bb30
AGS: Run astyle formatting
2021-02-06 16:37:31 -08:00
Paul Gilbert
90ec822f76
AGS: Cleaning up header file guard defines
2021-02-06 16:37:31 -08:00
Paul Gilbert
bd6a58d1a1
AGS: Adding ScummVM comment headers
2021-02-06 16:37:31 -08:00
Paul Gilbert
a60d290a08
AGS: Initial addition of engine/ and shared/ folders
2021-02-06 16:37:31 -08:00