alxpnv
24312ed327
ASYLUM: bring back Load Game screen thumbnails
2022-08-02 14:39:09 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
alxpnv
6a53897ac3
ASYLUM: switch lighting effects to synchronous model
2021-11-25 14:55:25 +03:00
alxpnv
a7f24a5990
ASYLUM: make sure async palette fades don't clash
...
Potential fix for bug no. 13089
2021-11-22 15:42:32 +03:00
alxpnv
37992636e7
ASYLUM: potential fix for palette fade related crashes
2021-11-18 13:09:26 +03:00
alxpnv
146941f368
ASYLUM: formatting
2021-10-25 13:07:57 +03:00
alxpnv
110af4fae4
ASYLUM: slow down puzzle animations
2021-10-19 15:18:26 +03:00
alxpnv
b49f9e755b
ASYLUM: append metadata to the saves made via the game menu
2021-09-17 13:21:43 +03:00
alxpnv
3046bcb38c
ASYLUM: (VCR puzzle) fix transition to video
2021-08-13 14:56:50 +03:00
alxpnv
da95daf727
ASYLUM: remove Screen::takeScreenshot()
2021-06-17 15:40:10 +03:00
alxpnv
670d8d85f4
ASYLUM: use Common::sort() for sorting graphics queue items
2021-06-17 15:40:10 +03:00
alxpnv
007ab8c9ff
ASYLUM: implement fade to grayscale
2021-05-20 15:36:11 +03:00
alxpnv
77a35a5c75
ASYLUM: get rid of global constructors
2021-05-17 15:37:56 +02:00
alxpnv
48e164b2d7
ASYLUM: clean up includes
2021-05-17 15:37:54 +02:00
alxpnv
7c53e7560d
ASYLUM: add const qualifier to silence a warning
2021-05-17 15:37:54 +02:00
alxpnv
ea894a619f
ASYLUM: (Writings puzzle) implement text masking
2021-05-17 15:37:40 +02:00
Littleboy
341bf99614
ASYLUM: Cleanup Screen class
2021-05-17 15:37:21 +02:00
Julien Templier
9746136ee3
ASYLUM: Fix palette fading corruption (visible in the cinematics menu when starting a video)
2021-05-17 15:37:10 +02:00
Julien Templier
6201a4cf9e
ASYLUM: Implement more palette related functions
...
- Use Screen::setupPalette() in Video class instead of setting the palette directly
- Implement Screen::updatePalette()
- Cleanup usage of Screen::setupPalette()
2021-05-17 15:37:10 +02:00
Julien Templier
86126add5f
ASYLUM: Implement palette fading timer and related functions
2021-05-17 15:37:10 +02:00
Julien Templier
fb8afdc6d6
ASYLUM: Palette and gamma functions update
...
- Identify dead code and remove unused parameters
- Rename several gamma and palette-relted functions
- Add stubs for palette fading functions
2021-05-17 15:37:10 +02:00
Julien Templier
6a31a7406d
ASYLUM: Add a set of functions to pass a GraphicResource* directly to Screen::draw()
...
This makes the drawing of text a lot faster since we don't have to decode
the font resource (and read each frame) for every character.
2021-05-17 15:37:07 +02:00
Julien Templier
4c4027200a
ASYLUM: Implement Screen::bltMasked()
...
This is still slightly buggy (every other frame is slightly corrupted)
2021-05-17 15:37:05 +02:00
Julien Templier
81c6898fa6
ASYLUM: Simplify handling of transparency tables
...
The original uses an optimization to be able to hold the transparency table address + offset into a single register by clearing the lower 16 bits of the address. Not doing so simplifies the code and saves an allocation of 65536 bytes.
2021-05-17 15:37:03 +02:00
Julien Templier
62d576eae5
ASYLUM: Add debug drawing of zoomed mask
...
- Update blit functions parameters
2021-05-17 15:37:03 +02:00
Julien Templier
3727e9a820
ASYLUM: Add option to draw the scene rects
2021-05-17 15:37:02 +02:00
Julien Templier
a5e03e18a1
ASYLUM: Implement Screen::blitCrossfade()
...
- Update parameters to some blit functions for consistency
- Revert changes to Screen::clip (our clipRect is different from the original)
2021-05-17 15:37:02 +02:00
Julien Templier
5b5cf905fa
ASYLUM: Implement Screen::blitTranstable() and Screen::blitTranstableMirrored()
2021-05-17 15:36:58 +02:00
Julien Templier
5987db75f0
ASYLUM: Implement Screen::blitMasked() and some helper methods
...
- Fix mask rectangles calculation and check
2021-05-17 15:36:58 +02:00
Julien Templier
4325184d2a
ASYLUM: Implement the rest of Screen::blit() and add stubs for all the helper blit functions
2021-05-17 15:36:58 +02:00
Julien Templier
c920613363
ASYLUM: Remove colorkey parameter to blt* functions and use _useColorKey member instead
2021-05-17 15:36:58 +02:00
Julien Templier
ee89b3837a
ASYLUM: Implement Screen::addGraphicToQueueCrossfade() and add stub for Screen::blitCrossfade()
2021-05-17 15:36:58 +02:00
Julien Templier
b9eb9f91ec
ASYLUM: Screen::blitFast() does not need flags
2021-05-17 15:36:58 +02:00
Julien Templier
3ddd300f10
ASYLUM: Update Screen::draw() with mask source and destination rectangles calculation and add stub for Screen::blitMasked()
2021-05-17 15:36:57 +02:00
Julien Templier
1db67c5c88
ASYLUM: Remove SVN keywords
2021-05-17 15:36:57 +02:00
Julien Templier
1526593cf0
ASYLUM: Replace several pairs of (x, y) parameters by Common::Point
2021-05-17 15:36:56 +02:00
Julien Templier
90d21d0ad8
ASYLUM: Add support for mirrored blit
2021-05-17 15:36:56 +02:00
Julien Templier
9f6d671569
ASYLUM: Change Screen::draw() functions to take Common::Point as source/destination parameters
2021-05-17 15:36:56 +02:00
Julien Templier
1b9c4dd404
ASYLUM: Add DrawFlags enumeration and update drawing functions parameters
2021-05-17 15:36:55 +02:00
Alex Bevilacqua
57229d51ab
ASYLUM: fix compilation against current master
2021-05-17 15:36:52 +02:00
Julien Templier
265d18ee14
ASYLUM: Implement proper Scene::hitTestPixel()
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@752 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:49 +02:00
Julien Templier
fe4560c6cd
ASYLUM: Add Screen::drawLine debug function
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@715 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:44 +02:00
Julien Templier
a3d50bb1cd
ASYLUM: Add a Screen::draw() helper function to draw backgrounds
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@710 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:43 +02:00
Julien Templier
abfbc4de6e
ASYLUM: Properly initialize GraphicQueueItem type
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@705 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:42 +02:00
Julien Templier
bedc73b5f5
ASYLUM: Implement Encounter::drawScreen() minus palette changes
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@702 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:42 +02:00
Julien Templier
ae4d75e6a0
ASYLUM: Convert Video to new event handling
...
- Change Text::LoadFont to return the previous font
- Fix AsylumEngine::processDelayedEvents not working properly for scenes
- Add two params to AsylumEvent (needed by video subtitle handling)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@681 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:39 +02:00
Julien Templier
d1235f9a64
ASYLUM: Fix Screen::clear()
...
It was only clearing the current screen and not the backbuffer
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@667 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:37 +02:00
Julien Templier
318aaf1997
ASYLUM: Add stub for screenshot function in Screen class
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@649 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:34 +02:00
Julien Templier
f0eb2a9497
ASYLUM: Fix a couple more GCC warnings
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@647 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:34 +02:00
Julien Templier
e8933a7c0b
ASYLUM: Fix scene palette not being set properly after fade
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@631 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:31 +02:00