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
4cb21fcc47
ASYLUM: Shifted some more files around
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@51 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:08 +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
e7818726cf
ASYLUM: Added a FIXME concerning memory usage of graphic bundles
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@45 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
Filippos Karapetis
33bf78171a
ASYLUM: Added MSVC9 project file
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@41 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
d6b05fe2b8
ASYLUM: cleanup
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@39 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
095d9886f2
ASYLUM: cleanup and brightness adjustment
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@35 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:06 +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
61518d217f
ASYLUM: updated headers
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@32 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
Alex Bevilacqua
349eca1cb9
ASYLUM: defined brightness constant and used that in palette assignment
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@30 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:06 +02:00
Alex Bevilacqua
847df434ab
ASYLUM: boosted palette brightness
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@29 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:06 +02:00
Alexandre Fontoura
ce3b666d5b
ASYLUM: Fixed detection file.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@28 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:06 +02:00
Alex Bevilacqua
3101a5f9ff
ASYLUM: addressed a fixme to better allocate memory from a resource (replaced a for loop with memcpy)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@27 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:05 +02:00
Alexandre Fontoura
2090a62c38
ASYLUM: Fixed palette manipulation making image to display correctly. Failed attempt to create a gamma level correction that all the engine is based on.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@26 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:05 +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
Alexandre Fontoura
54ad9d5225
ASYLUM: Finished first version of Screen class. Need testing.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@23 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:05 +02:00
Alexandre Fontoura
4525b72af5
ASYLUM: Add new functions to Screen and filled some functions there.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@22 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:05 +02:00
Alexandre Fontoura
1143940d82
ASYLUM: Changed unsigned char * to uint8 * as ScummVM convention.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@21 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:05 +02:00
Alexandre Fontoura
74c6876046
ASYLUM: Fixed problems at screen.cpp file SVN tool generate while merging from previous revisions.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@20 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:04 +02:00
Alexandre Fontoura
89c84c1fc9
ASYLUM: Submit new little changes to update Screen files for the current revision.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@19 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:04 +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
913615465a
ASYLUM: Added a fixme to the graphic asset's data allocation loop (should memcpy somehow, but I'm not sure how)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@17 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
055fd0912b
ASYLUM: oops (removed unnecessary utils.h include)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@15 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:04 +02:00
Alex Bevilacqua
e0707e8fe8
ASYLUM: Formatting
...
Removed utils.h (again)
Added GraphicAsset::save()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@14 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
Alexandre Fontoura
1928f1c3d3
ASYLUM: Get reed of utils.h and use common/endian.h from ScummVM common library.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@10 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:03 +02:00
Alexandre Fontoura
c1848a1b49
ASYLUM: Fixed read offset mistaken committed in previous revision.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@9 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:03 +02:00
Alexandre Fontoura
43f9e6253a
ASYLUM: Fixed compilation. Put code according to ScummVM coding convention. Get reed of utils.h and use common/endian.h from ScummVM common library.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@8 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:03 +02:00
Alex Bevilacqua
0fab2082c9
ASYLUM: updated headers with scummvm copywrite info
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@7 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