Commit Graph

88823 Commits

Author SHA1 Message Date
Le Philousophe
49c90c74a6 CRYOMNI3D: Add a function to deselect object
In original Versailles game, there is such a function used to determine if an
object has just been deselected. We don't need it in this engine for now
but who knows that will may come handy.
2019-06-01 22:43:48 +02:00
Le Philousophe
4ceb3e4b07 CRYOMNI3D: Let user type spaces in save names 2019-06-01 22:43:48 +02:00
Le Philousophe
2860d5caac CRYOMNI3D: Apply sound settings at startup 2019-06-01 22:43:48 +02:00
Le Philousophe
84b60b92bd CRYOMNI3D: Fix appending of files extensions
We clear the previous extension and even if there is none, we must
append the new one
2019-06-01 22:43:48 +02:00
Le Philousophe
01234cd773 CRYOMNI3D: Fix cursor shown in transitions 2019-06-01 22:43:48 +02:00
Le Philousophe
769f8d46ef CRYOMNI3D: Fix cursor not shown in some events 2019-06-01 22:43:48 +02:00
Le Philousophe
92a306e56e CRYOMNI3D: Remove long delayMillis as they lower the framerate 2019-06-01 22:43:48 +02:00
Le Philousophe
f50d89841d CRYOMNI3D: Fix fonts for MacOS version 2019-06-01 22:43:48 +02:00
Le Philousophe
acb8349a91 CRYOMNI3D: Add Macintosh support to Versailles
There is still some work to do on fonts to make them match what it's
used by the original executable
2019-06-01 22:43:48 +02:00
Le Philousophe
db85320bcc CRYOMNI3D: Remove DATAS_V folder level for searching files
It's useless and Macintosh has a DATAV_HD folder which PC hasn't.
So let's put all folders directly at root with the Versailles program
2019-06-01 22:43:48 +02:00
Le Philousophe
6ef4fba3d1 CRYOMNI3D: Fix type of return to match prototype 2019-06-01 22:43:48 +02:00
Le Philousophe
ba6506d8d3 CRYOMNI3D: Fix struct declarations 2019-06-01 22:43:48 +02:00
Le Philousophe
a055268a08 CRYOMNI3D: remove debug define which skipped videos 2019-06-01 22:43:48 +02:00
Le Philousophe
c7205da58b CRYOMNI3D: Fix use after free when playing dialog 2019-06-01 22:43:48 +02:00
Le Philousophe
8d770af865 CRYOMNI3D: Fix compilation error with -std=c++11
Comparison of non-pointer with nullptr was from a bad copy-paste
2019-06-01 22:43:48 +02:00
Le Philousophe
531aa8392e CRYOMNI3D: Add engine for Versailles 1685 2019-06-01 22:43:48 +02:00
Le Philousophe
97397bdaff STREAM: add read/write functions for double LE/BE 2019-06-01 22:43:48 +02:00
Thanasis Antoniou
438a6223cb BLADERUNNER: Fix photographer bug and awry clickables 2019-06-01 21:36:46 +03:00
Thanasis Antoniou
4adf49c149 BLADERUNNER: Add exits in CT04 and DR04
To improve navigation
2019-06-01 20:31:17 +03:00
Thanasis Antoniou
6a7220170e BLADERUNNER: Fix paths and map glitched in NR05
McCoy should no longer teleport (occasionally) whne going to NR08
2019-06-01 19:16:34 +03:00
Thanasis Antoniou
61800882b7 BLADERUNNER: Restore Eyeworks Eye and Projector comments 2019-06-01 19:16:34 +03:00
Thanasis Antoniou
f56fe145d7 BLADERUNNER: Broaden path to Runciter desk RC02 2019-06-01 19:16:34 +03:00
Bastien Bouclet
fd4fa5e899 COMMON: Fix a memory leak in Common::DumpFile 2019-06-01 13:59:08 +02:00
Thanasis Antoniou
5eed7f091d BLADERUNNER: Remove awry clickables from BB01, CT12, CT01 2019-06-01 02:59:04 +03:00
Thanasis Antoniou
127302270b BLADERUNNER: DR01, DR02 improved navigation 2019-06-01 02:59:03 +03:00
Thanasis Antoniou
f50492e971 BLADERUNNER: Restore comment on RC02 dead animals
Also fix some awry clickable objects in RC51
2019-06-01 02:59:03 +03:00
Thanasis Antoniou
2ff564d612 BLADERUNNER: Restored comment on statues 2019-06-01 02:59:03 +03:00
Lothar Serra Mari
5f99eb07e8 I18N: Update translation (German)
Currently translated at 100.0% (1070 of 1070 strings)
2019-06-01 00:07:01 +02:00
Thierry Crozat
0bb4ca4ba5 I18N: Update translations templates 2019-05-31 23:02:57 +02:00
Lothar Serra Mari
699bc0f6bf I18N: Update translation (German)
Currently translated at 100.0% (1070 of 1070 strings)
2019-05-31 23:02:52 +02:00
Thanasis Antoniou
35daa692af BLADERUNNER: Fix bad timer initialization for actors after LOAD 2019-05-31 16:43:10 +03:00
Thanasis Antoniou
2b2c8d6f93 BLADERUNNER: Add areas in HC01 for animoids comment 2019-05-31 16:43:10 +03:00
Thanasis Antoniou
3557570c4c BLADERUNNER: Set gate to UG18 as locked only in Hard mode
This as before is only for the enhanced version
2019-05-31 16:43:10 +03:00
David Fioramonti
a6e896f748 BLADERUNNER: Dead bridge rat won't respawn when playing uncut and easy
If the player kills the rat at the bridge that breaks and goes to
the left screen and then comes back the rat will not respawn when
the player is playing the uncut version on easy.

In every other case there will be a 10% chance that the rat will
respawn.
2019-05-30 21:58:14 -04:00
David Fioramonti
24ea24c97a BLADERUNNER: Don't let the sewer bridge break on easy
When the player is playing on easy and it is the uncut version
then the sewer bridge won't break when McCoy runs on it or if
McCoy and the rat are both on it.

A bridge breaking death animation will still be shown if the rat kills
the player on the bridge.
2019-05-30 21:58:14 -04:00
Peter Kohaut
a3eeebb4d4 BLADERUNNER: Fix invalid rect in ESPER zoom
In some cornenr case when photo selection is ajdusted the final
rectangle might end up invalid and assert will occur.
This fixes this issue by correctly setting rect dimensions.
2019-05-30 23:27:34 +02:00
Thierry Crozat
4631ec94a1 I18N: Update translations templates 2019-05-30 11:58:53 +02:00
Thierry Crozat
6449060d15 I18N: Regenerate translations data file 2019-05-30 11:58:46 +02:00
Thanasis Antoniou
7f427ad462 BLADERUNNER: UG08 and HF06 map glitch fixes 2019-05-29 15:59:33 +03:00
Thanasis Antoniou
b7e1f8a9ff BLADERUNNER: Support for displaying subtitles info 2019-05-29 12:08:24 +03:00
Thanasis Antoniou
04d7f72bf7 DEVTOOLS: BLADERUNNER: Added version sheet and EFIGS support
Now multiple languages can be packed in a single MIX file
2019-05-29 12:08:24 +03:00
Thanasis Antoniou
a041a29111 BLADERUNNER: Added click debugger command
Shows mouse click pos (x,y,z) and detected clickable region/actor/item/object id underneath
2019-05-29 12:08:24 +03:00
Thierry Crozat
8999b95053 SUPERNOVA: Add English translation for Help screen 2019-05-29 00:02:33 +01:00
Thierry Crozat
66a335eb18 Revert "STARTREK: Start adding a console"
This reverts commit 33fb9809c3.
The engine/startrek/console.h and engine/startrek/console.cpp
files were missing from that commit, which break compilation.
2019-05-28 23:55:35 +01:00
Thierry Crozat
9ff9264ab0 SUPERNOVA: Add better support of pbm format in create_supernova
The tool was only supporting a very restricted subset of the PBM
format, as written by gimp. Now it should support reading any
PDM file.
2019-05-28 23:39:34 +01:00
Jennifer McMurray
96c429dd7c SUPERNOVA: Grammar fixes in English newspaper images 2019-05-28 22:23:23 +01:00
Filippos Karapetis
33fb9809c3 STARTREK: Start adding a console
We need to properly inject it to all inner screen update loops
2019-05-28 21:44:07 +03:00
Filippos Karapetis
e1416534e1 STARTREK: Fix regression with saving/loading 2019-05-28 21:42:30 +03:00
Filippos Karapetis
42ac19e804 STARTREK: Start reading text from RDF files, instead of hardcoding it
Rooms DEMON0 and DEMON5 have been partially adapted to the new logic.

This isn't yet fully functional, for the following reasons:
- We only read the main text block. There are also some others which
are not handled yet. The unhandled blocks have been kept in text.cpp
- We load text in dictionaries, splitting the strings in look and talk.
However, there's a third category (look with a talker), which isn't
handled yet
- Text is loaded per-room, but there are enhancements where text and
samples are loaded from other rooms. These need to be refactored
2019-05-28 21:41:58 +03:00
Lothar Serra Mari
310377033f STARTREK: Add detection for reported English floppy variant
Reported by ccorbacho in trac/#10921
2019-05-28 08:11:49 +03:00