Commit Graph
71 Commits
Author SHA1 Message Date
alxpnv dad4565809 ASYLUM: add a simple resource viewer 2021-09-28 15:27:29 +03:00
alxpnv 3c71f32950 ASYLUM: add Insert Disc screen 2021-09-28 15:27:29 +03:00
alxpnv 8ba3df6821 ASYLUM: refactor inventory 2021-06-04 12:53:52 +03:00
alxpnv 139d15347f ASYLUM: remove an unused puzzle (Puzzle 11) 2021-05-17 15:37:56 +02:00
Joseph Davies 19d343e82f ASYLUM: Split detection features & adapt to new plugins. 2021-05-17 15:37:32 +02:00
Littleboy b1493f5be3 ASYLUM: Move puzzles handling to Puzzles class (formerly PuzzleData) 2021-05-17 15:37:18 +02:00
Littleboy 5aad67007b ASYLUM: Change SharedData into a class and move method implementations into cpp file 2021-05-17 15:37:12 +02:00
Julien Templier 365ceb1b4f ASYLUM: Add base PuzzleBoard class for Board puzzles
- Move reset() and activate() methods to base class
- Add stopSound() helper function

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@762 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:50 +02:00
Alex Bevilacqua beb8ef9da9 ASYLUM: fix linux compile
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@743 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:48 +02:00
Julien Templier 26eacef2fc ASYLUM: Move Video class to views
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@680 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:38 +02:00
Julien Templier 574abfd1b2 ASYLUM: Add stubs for puzzles
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@675 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:38 +02:00
Julien Templier b729447782 ASYLUM: Rename ActionList to ScriptManager and move to engine class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@626 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:31 +02:00
Julien Templier 0047d10a67 ASYLUM: Add Savegame class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@599 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:27 +02:00
Julien Templier d2c8b7e83f ASYLUM: Move VCR puzzle to a separate file
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@581 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:24 +02:00
Julien Templier df58690e9c ASYLUM: Move puzzle class to a separate puzzles directory
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@580 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:23 +02:00
Julien Templier e2c0ac1ee2 ASYLUM: Implement sound reactions
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@526 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:15 +02:00
Julien Templier ef1ebc55da ASYLUM: Extract SceneTitle to its own file
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@511 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 582794ff12 ASYLUM: Implement special logic for chapters 1, parts of 2, 3, 4 and 6
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@488 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:10 +02:00
Julien Templier ce330b1a45 ASYLUM: Rename Barrier to Object
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@486 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:09 +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
Alex Bevilacqua 5d48974ebd ASYLUM: reimplement main menu
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@455 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00
Alex Bevilacqua da61880d8e ASYLUM: This commit breaks A LOT of existing functionality. It also introduces a slew of new functions (namely hittests). For the time being, I'm disabling Menus, Encounters and BlowupPuzzles, as these were all implemented with incorrect cursor handling.
Feel free to revert to a previous version if you want to try something out, but for the next little while (as I get cursors working more accurately), these features will be unavailable.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@427 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:00 +02:00
Alex Bevilacqua efa59ec92a ASYLUM: Removed the commonRes struct from Worldstats, as there's really no need for it to be an entity unto itself. Rolled those struct members into worldstats where they belong.
Also split actionarea out into it's own class. This is just for logical seperation at the moment.

Finally, deleted the OLD_UPDATE from the scene. There's also a bug in the update() logic where left-clicking causes the barrier animations to referesh when they shouldn't (added a comment for now).

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@418 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:59 +02:00
Alex Bevilacqua d9aaf26c18 ASYLUM: Removed the actionarray class and rolled it into actionlist (which makes way more sense).
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@394 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:55 +02:00
Alex Bevilacqua a33b9e677a ASYLUM: Added the ActionArray type. Slowly working on implementing this, but it looks to be what ties the actionlist to the character.
Also started implementing more standardized music handling.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@393 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:55 +02:00
Alexandre Fontoura abf0365eaa ASYLUM: New player speech implementation.(Missing subtitles)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@386 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:54 +02:00
Alex Bevilacqua e60a1293cf ASYLUM: created a configuration management singleton. I know I've made a few of these and then factored them out in the past, but I think common options are a good candidate for this pattern.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@374 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:52 +02:00
Alex Bevilacqua ddcb9beab2 ASYLUM: Removed Shared singleton. Moved getAngle() to actor class (only place it's used so far). Added screen() and scene() getters to the engine for classes that need the references.
Moved a couple methods from the barrier class to worldstats (makes a bit more sense)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@355 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:49 +02:00
Alex Bevilacqua b4385f8e9e ASYLUM: Removed the ScriptManager. The singleton functionality is rolled into the actionlist class (where it belongs)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@348 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:48 +02:00
Alex Bevilacqua 2cb80c6d8d ASYLUM: Removed sceneres. Scene resource loading is now handled in the scene constructor, and the parsing of worldstats, polygons and actions is farmed out to the relevant classes.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@347 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:48 +02:00
Alex Bevilacqua afff3e7222 ASYLUM: refactored worldstats into it's own class file
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@343 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:47 +02:00
Alex Bevilacqua d1234430c2 ASYLUM: refactored actionlist into it's own class file
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@342 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:47 +02:00
Alex Bevilacqua 4e7c4a478b ASYLUM: refactored polygon code out to seperate class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@340 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:47 +02:00
Alex Bevilacqua 7c330b4b8a ASYLUM: Refactored BarrierItem into it's own class. Also moved the sound item structs into sound.h
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@333 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:46 +02:00
Alex Bevilacqua bccc36a69c ASYLUM: This is still WIP, but it's the first steps towards refactoring the cursor code.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@324 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:45 +02:00
Alex Bevilacqua 54682e1f44 ASYLUM: Utilities class renamed to Shared. All common resources bound to shared singleton so they can be used by all engine components without needing a direct reference back to the engine variables (Screen, Sound, Video, Scene).
Better Pathfinding (you can actually walk around now)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@292 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:40 +02:00
Alex Bevilacqua 1769959bf8 ASYLUM: * A little work on Encounters (not much)
* The beginnings of actor pathfinding
* Created a new singleton called Utils (utilities.cpp/h). Need feedback as to whether or not we should use this as the common container for objects we only ever need to instantiate once (like screen, sound, video .. etc).

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@288 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:39 +02:00
Alexandre Fontoura 927804b212 ASYLUM: First steps for BlowUpPuzzles
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@259 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:34 +02:00
Alex Bevilacqua 3cfa2cbb4c ASYLUM: Reworked the interpreter into a singleton ScriptManager. This will allow scripts to be run without needing access to an engine variable, and will allow us to remove some of the scene processing hacks.
Scripts are now being run on click events. This is pretty buggy, but it's to be expected at this point :)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@240 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:32 +02:00
Joseph Davies 34e750d48d ASYLUM: Added preliminary script interpreter and associated support functions and fixes. Added Debug channels.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@224 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:30 +02:00
Filippos Karapetis 762c5d0fa2 ASYLUM: Added a debug console, with a command to play any of the game's videos. Cleaned up the AsylumEngine class a bit
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@188 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:26 +02:00
Alex Bevilacqua df94a2aa43 ASYLUM: Started working on implementing the encounter variable store
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@160 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:22 +02:00
Alex Bevilacqua adb7d3ef73 ASYLUM: * preliminary support for drawing the main actor
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@145 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:20 +02:00
Alex Bevilacqua 9f08842406 ASYLUM: * renaming of a couple classes
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@135 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:19 +02:00
Filippos Karapetis 8b7c13b26f ASYLUM: Renamed GameState to Scene
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@133 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:19 +02:00
Filippos Karapetis 68a33a5b7c ASYLUM: Renamed Scene to SceneResource
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@132 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:19 +02:00
Alexandre Fontoura 689a7484be ASYLUM: Add GameState to handle scenes. Clean some stuffs. Changed scene constructor.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@110 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:16 +02:00
Filippos Karapetis c2fe7353bf ASYLUM: - Merged the State and MenuState classes into the MainMenu Class
- Renamed state.* to menu.*
- Added resource loader wrappers which take a resource pack and a resource entry as parameters

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@96 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:14 +02:00