Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
57cdbc9072
ASYLUM: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
alxpnv
146941f368
ASYLUM: formatting
2021-10-25 13:07:57 +03:00
alxpnv
c81c046450
ASYLUM: clean up destructors
2021-05-17 15:37:58 +02:00
alxpnv
ac43968c47
ASYLUM: formatting
2021-05-17 15:37:55 +02:00
alxpnv
48e164b2d7
ASYLUM: clean up includes
2021-05-17 15:37:54 +02:00
Littleboy
341bf99614
ASYLUM: Cleanup Screen class
2021-05-17 15:37:21 +02:00
Littleboy
5b0da5965c
ASYLUM: Cleanup more base classes
2021-05-17 15:37:15 +02:00
Littleboy
44540643e8
ASYLUM: Cleanup base classes
...
- Made some public members of cursors private and add accessors
- Add const modifiers as needed
- Add missing casts
- Add some null-pointers checks
- etc.
2021-05-17 15:37:15 +02:00
Littleboy
ff0d80587f
ASYLUM: Change text coordinates parameters to use Common::Point
2021-05-17 15:37:14 +02:00
Alex Bevilacqua
2e9ab6929a
ASYLUM: revert commits aac7e28, 326ec63 and bfe63c2
2021-05-17 15:37:14 +02:00
Alex Bevilacqua
0ea5649869
ASYLUM: remove unused variable
2021-05-17 15:37:14 +02:00
Alexander
c51cd5dea9
ASYLUM: Attempt to fix a bug in Text::draw(int32, int32, TextCentering, ...)
2021-05-17 15:37:13 +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
1db67c5c88
ASYLUM: Remove SVN keywords
2021-05-17 15:36:57 +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
eriktorbjorn
96c6b1cd3f
ASYLUM: Fix text centering for multi-line texts
...
The first example of this is the subtitles in the intro movie
2021-05-17 15:36:53 +02:00
Julien Templier
26eae3bd44
ASYLUM: Fix a typo in Text::draw and add some comments
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@749 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:48 +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
5b43d804d9
ASYLUM: Implement Encounter::drawText()
...
- Remove unused ResourcePack::count() method
- Add proper text centering calculation to drawText()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@660 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:36 +02:00
Julien Templier
e75170cc14
ASYLUM: Implement proper blitting methods in Screen class
...
- Convert Text class to use Screen draw methods
- Update screen queue to use draw methods instead of direct copy
- Properly read additional graphic resource data
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@617 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:29 +02:00
Julien Templier
1286a8bdc4
ASYLUM: Add back Menu credits, new game, quit and return to game
...
- Fix text flickering
- Remove obsolete methods in Screen and Text classes
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@603 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:27 +02:00
Julien Templier
98ee55b9f3
ASYLUM: Update Text class
...
- Add missing text output methods
- Fix displaying of subtitles
- Add comments for obsolete methods (to be removed later)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@589 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:25 +02:00
Julien Templier
8528b9d964
ASYLUM: Cleanup Pass 2
...
- Add proper init code for WorldStats
- Add some missing deletes in destructors (in particular Scene)
- Add const modifiers & casts in several places
- Fix some off-by-one array accesses
- Add checks for NULL in several classes
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@546 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:18 +02:00
Julien Templier
d38322ebca
ASYLUM: Cleanup Pass 1
...
- Add proper init code in some classes
- Add some missing deletes in destructors
- Add const modifiers in several places
- Switch tick variables (and several others) to uint32
- Update Polygon struct slightly (with count() method instead of variable)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@545 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:18 +02:00
Julien Templier
25fac6195d
ASYLUM: Rename some methods of Text class
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@517 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:14 +02:00
Julien Templier
32f3eed36c
ASYLUM: Refactor Speech class
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@516 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:14 +02:00
Julien Templier
d7c22354a6
ASYLUM: Add ResourceManager class
...
It will keep track of opened resource files and simplify handling of resource packs
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@513 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:13 +02:00
Julien Templier
ee438adbdc
ASYLUM: Introduce ResourcePackId
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@512 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:13 +02:00
Julien Templier
659a3e281e
ASYLUM: Reduce header inter-dependency
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@494 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:10 +02:00
Julien Templier
ffddfcd8db
ASYLUM: Use typed resource ID
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@468 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Alex Bevilacqua
afb4a6a3b5
ASYLUM: re-organize trunk
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@456 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00