Commit graph

39 commits

Author SHA1 Message Date
Filippos Karapetis
7fa648f9a3
ASYLUM: Added a hack to stop the crashing with the credits icon animation (a limitation of the current resource manager) and moved the menu update code to a separate function
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@72 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:11 +02:00
Filippos Karapetis
f077b4f1e7
ASYLUM: - Partially reverted rev. 58 for now to fix graphic animations
- Implemented the "following eyes" menu animation
- Implemented menu icon animations (cycled very quickly - we need to fix frame delay)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@71 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:11 +02:00
Alexandre Fontoura
61c8211cb8
ASYLUM: Scene file manipulation skeleton added. Load scene function in go() method for testing.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@68 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:10 +02:00
Filippos Karapetis
f19c847c74
ASYLUM: Now featuring: creepy voice in menu!
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@67 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:10 +02:00
Alex Bevilacqua
9408749814
ASYLUM: delay updateScreen a bit to make mouse movement smoother. If this is the wrong way to do this, please correct me :)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@66 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:10 +02:00
Filippos Karapetis
0bce224571
ASYLUM: Added highlighting for the bottom row
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@65 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:10 +02:00
Filippos Karapetis
ce37ad7248
ASYLUM: Added a back buffer again. The icons in the top row should be highlighted properly now
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@64 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:10 +02:00
Filippos Karapetis
f6ab0ab24f
ASYLUM: Highlighting of the top row of icons sort of works now
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@63 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:10 +02:00
Filippos Karapetis
36ffff9b98
ASYLUM: Fixed compilation
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@61 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:10 +02:00
Filippos Karapetis
9c764452b1
ASYLUM: Removed the screen stuff, and replaced it with ScummVM's screen handling functions
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@60 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:09 +02:00
Alex Bevilacqua
5e72158dc5
ASYLUM: moved the music player into the resource manager. This is WIP as it still doesn't do anything but load the hardcoded file ... but it's a start
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@57 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:09 +02:00
Alex Bevilacqua
c98b39142b
ASYLUM: * better resource abstraction using resman
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@56 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:09 +02:00
Filippos Karapetis
dacb2034ca
ASYLUM: Cleanup. No need to parse the whole AsylumEngine class to the video player
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@55 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:09 +02:00
Alex Bevilacqua
a85179ebca
ASYLUM: * silenced unused variable warning (lastRefresh)
* updated headers
* fixed *nix compilation

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@54 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:09 +02:00
Filippos Karapetis
00c0efeae6
ASYLUM: Shifted some files around, and moved all the resource-related classes into resource.h
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@50 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:08 +02:00
Filippos Karapetis
fe791aaae2
ASYLUM: Set some SVN properties
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@49 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:08 +02:00
Filippos Karapetis
38f2218543
ASYLUM: Simplified the palette reading code
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@48 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:08 +02:00
Filippos Karapetis
b0bcfd7f2b
ASYLUM: Properly quit the game, and remove the forceRefresh weirdness
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@47 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:08 +02:00
Filippos Karapetis
2a5dc43ef9
ASYLUM: Some WIP code for playing music (which is just regular WAVE files)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@46 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:08 +02:00
Filippos Karapetis
de86b0003d
ASYLUM: Added a FIXME concerning the cursor palette (the mouse cursor seems to be displayed correctly now)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@44 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:08 +02:00
Filippos Karapetis
5c41806088
ASYLUM: Added convenience wrapper function to play videos
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@43 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:07 +02:00
Filippos Karapetis
bbf75e1cd4
ASYLUM: Added video player. The game introduction is played now
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@42 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:07 +02:00
Alex Bevilacqua
f44f07099a
ASYLUM: smoother cursor movement
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@40 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:07 +02:00
Alex Bevilacqua
5bb9fe1f0c
ASYLUM: fixed compilation due to stub wip code (cursor palette not right yet)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@38 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:07 +02:00
Alex Bevilacqua
c950bfab5e
ASYLUM: * rename resourcemanager to resman
* more reorganization
* moved paletteresource to palette bundle because that's technically where it belongs
* initial cursor support (VERY initial)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@36 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:07 +02:00
Alex Bevilacqua
7560a70090
ASYLUM: removed traces of menu class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@34 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:06 +02:00
Alex Bevilacqua
16463121a0
ASYLUM: cleanup
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@33 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:06 +02:00
Alex Bevilacqua
a42bf545fc
ASYLUM: overhaul of the resource management system
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@31 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:06 +02:00
Alexandre Fontoura
a179512aca
ASYLUM: First testes displaying Main Menu background image with still wrong palette.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@25 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:05 +02:00
Alexandre Fontoura
9e7d8f1dc6
ASYLUM: Include new Menu class. Add some TODO comments we need to do initially.
Add a new load Resource function indexed by resource index (filename generated automatically)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@24 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:05 +02:00
Alex Bevilacqua
9220cbd381
ASYLUM: Added the main control loop so we can test graphic drawing without the screen disappearing on us ;)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@18 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:04 +02:00
Alex Bevilacqua
4f83667803
ASYLUM: Fixed a major logic error in the graphic asset parsing. NOW it works properly
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@16 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:04 +02:00
Alex Bevilacqua
2285907cd1
ASYLUM: Reverted to r11, then re-applied updates
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@13 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:04 +02:00
Alex Bevilacqua
faaf87aea9
ASYLUM: Graphics parsing working for cursor resources...not backgrounds yet though
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@12 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:03 +02:00
Alexandre Fontoura
e466f45135
ASYLUM: Added Screen class. Engine run() method split in two, init() and go() to separate initialization and main game loop.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@11 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:03 +02:00
Alex Bevilacqua
ba12dac057
ASYLUM: More graphics implementation and testing. Utils class for little-endian data manipulation
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@6 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:03 +02:00
Alex Bevilacqua
cc25952a55
ASYLUM: Proper implementation of a resource bundle parser. Doesn't do anything but create resource items for the time being.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@5 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:03 +02:00
Alex Bevilacqua
6e4a2ace7e
ASYLUM: Beginning to unwind the resource files (based on alexfont's earlier applications)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@4 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:02 +02:00
Alex Bevilacqua
a03561aab3
ASYLUM: updated detection routines so that the engine loads properly
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@3 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:02 +02:00