89705 Commits

Author SHA1 Message Date
Jaromir Wysoglad
1cf7bd073f SUPERNOVA: Fix segfault in axacuss 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
01d601b237 SUPERNOVA: Reformat StringId enums and gametext.h 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
8125f7b67d SUPERNOVA: Fix street animation.
Street animation was changing memory that it shouldn't, so
going into the kiosk resulted in a segfault.
Also remove 2 debug lines from supernova2/state.cpp
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
9cac9a8592 SUPERNOVA: Fix bugs
Fix GUI not working after leaving text edit field

Forbid showing help, info, doc screens, when GUI isn't alowed,
this should mimic the original game better and also resolves
some issues.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
a637cea700 SUPERNOVA: Remove unused getImage(CursorId) 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
0912b6a48d SUPERNOVA: Implement lazy loading of resources 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
714a4f909b SUPERNOVA: Refactor graphics 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
ab4af5c614 SUPERNOVA: Add info, doc, help screens for MS2 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
b1f37566ea SUPERNOVA: Refactor game-manager 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
2f84e6d22a SUPERNOVA: Refactor sound initialization 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
3cf9cfbf78 SUPERNOVA: Merge in the supernova2 engine. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
eb2a017a68 SUPERNOVA: Generate new dat files for supernova. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
cefdf8220a SUPERNOVA2: Delete supernova2, it's getting merged 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
d1edf0e467 SUPERNOVA: Reorder strings in devtools 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
33d7391f4a SUPERNOVA: Move part 1 files to it's own directory 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
4dd72f4ae0 SUPERNOVA: Divide rooms into 2 files 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
bc8393deaf SUPERNOVA: Divide GameManager into 2 classes
GameManager got divided into a base class, that will be used
for both parts and a derived class specific to only the first
part.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
5f355734fd SUPERNOVA: Partial merge of the engine
I am merging the second engine to the first one. Both should be
fully functional as before right now

Current merge file status:
console: should be done
graphics: should be done
detection: 0% merged
imageid: appears to not be used anywhere, so it may be removed
resman: partialy merged
rooms: totaly different, 0% merged
screen: should be done
screenstatic: done
sound: partialy done
state: a lot different, just started to merge
supernova: mostly done
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
ee5b907f62 SUPERNOVA: Rearange supernova and supernova2 files
Rearange files so that similar code is in the same order in
both engines.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
de4dac5693 SUPERNOVA2: Fix bug, add pyramid door translation
Combining rod and magnet didn't work if the magnet was clicked
before the rod.
Add subtitle to the pyramid door and an English translated
password (FAST)
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
d09b286054 SUPERNOVA2: Fix more bugs
1. Saving and loading correct time when saving in front of museum
2. Saving and loading correct time left for the pyramid (1 hour)
3. Add sound when entering a correct address inside taxi
4. Show message when leaving museum via taxi in the middle of
    the haist
5. Reset elevator possition to floor 0, so it can be exited
    if the player enters it again after completing the museum.
6. Ignore clicking during editing
7. Add open and close sounds to doors
8. Add "death" when getting arested by the museum guard
9. Don't allow saving / loading during the appearance animation
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
83e05ea13f SUPERNOVA2: Add english translated image
This adds translated image of cyphered text inside Cabin room
I don't think I can get any closer to the original looks with
.pbm format.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
76142e2e7d SUPERNOVA2: Add outro 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
800621cb8e SUPERNOVA2: Fix some noticable bugs
1. Remove string from dialog with boss, that shouldn't be there
2. Make some of Fade ins and Fade outs faster.
3. Hide cable in ship after using it
4. Disable option to save inside museum
5. Fix animation inside cabin
6. Change cursor to hourglass when cracking in museum
7. Remove message when cracking alarm in museum that shouldn't
   be there
8. Make quitting the game instanteous even inside animatins
9. Add shouts to the public while performing on music competiton
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
1fb6437cdc SUPERNOVA2: Fix bugs in museum
1. Clock and time in museum now behaves similarly to the original.
2. Leaving the museum after completing the robery now works.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
d0c9a676d5 SUPERNOVA2: Add missing strings 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
44c20ab45e SUPERNOVA2: Add rest of rooms (MUS12 to MUS22) 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
d768680534 SUPERNOVA2: Add MusRound room 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
01a3f82886 SUPERNOVA2: Add rooms Mus8 to Mus11 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
a8ca6b9f52 SUPERNOVA2: Simplify code for generating siren.
The code is now simpler, and generates better sound even
with lower audio rate thanks to Criezy.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
e7dbd78995 SUPERNOVA2: Update code formating. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
d93656c10a SUPERNOVA2: Add rooms Mus2 to Mus7
The rooms aren't tested yet, because the first room after
MusEntrance is Mus11, which isn't implemented yet.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
46fe10db87 SUPERNOVA2: Add MuseumEntrance and Mus1 rooms. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
006880ea7c SUPERNOVA2: Add Museum room. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
f00c19604e SUPERNOVA2: Add missing string to translatino tool 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
231121a120 SUPERNOVA2: Add siren sound
I had a problem with a "tick" sound every when the tones changed,
for now I resolved it by uping the audio rate to 80000. This is
really high for what kind of sound this is, I will think
of a better solution for this.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
57ebb3fd1d SUPERNOVA2: Add missing fade ins
Fade in was missing after riding taxi and at the start of pyramid.
It is enough to just fade out, because the engine fades in
automaticaly at the start of a new room.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
b0eeb8cc22 SUPERNOVA2: Initialize price = 0 to avoid warnings
As suggested by criezy on github.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
a77d56219f SUPERNOVA2: Update translations 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
2810974533 SUPERNOVA2: Fix a few bugs in pyramid
This fixes a few minor bugs (a few lines each):
1. Going close to equation rendered empty wall instead
2. Door in the Floordoor room newer showed up
3. Balls in CoffinRoom were inside each other,
     so one of them couldn't be clicked.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
002134f3e1 SUPERNOVA2: Fix missing image numbers in few rooms 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
4500cd0bfb SUPERNOVA2: Add Mask room 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
801c684218 SUPERNOVA2: Add missing string to translation tool 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
13c6b96305 SUPERNOVA2: Add CoffinRoom room 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
f5afd19df7 SUPERNOVA2: Add hall room 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
fe48f0b699 SUPERNOVA2: Add BstDoor room 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
6744c0b4b1 SUPERNOVA2: Add FloordoorU room 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
9c1eba6bd6 SUPERNOVA2: add InHole and Floordoor rooms 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
48c84280cb SUPERNOVA2: Add HoleRoom room 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
df792b74d9 SUPERNOVA2: Add LCorridor2 room 2019-07-28 15:09:14 +01:00