Commit Graph

88787 Commits

Author SHA1 Message Date
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
Matthew Stewart
944370c349 STARTREK: Fixes to drawR3Shape; red planet renders 2019-05-28 08:08:52 +03:00
Matthew Stewart
552b88cbd5 STARTREK: Bugfix to map preview of republic 2019-05-28 08:08:52 +03:00
Matthew Stewart
add9b3e699 STARTREK: Saving for VENG mission 2019-05-28 08:08:52 +03:00
Matthew Stewart
c9918c3064 STARTREK: Common code for VENG mission 2019-05-28 08:08:52 +03:00
Matthew Stewart
702aa6f6cb STARTREK: VENG8 text changes 2019-05-28 08:08:52 +03:00
Matthew Stewart
0715c64b38 STARTREK: VENG8 2019-05-28 08:08:52 +03:00
Joseph-Eugene Winzer
8c4af9f175 SUPERNOVA: Adds text reader to view text files 2019-05-28 02:24:43 +02:00
Joseph-Eugene Winzer
38e04455fc SUPERNOVA: Adds Help screen 2019-05-28 02:24:42 +02:00
Joseph-Eugene Winzer
e7b91fe40f SUPERNOVA: Adds getters for screen width and height 2019-05-28 02:24:42 +02:00
Joseph-Eugene Winzer
7c3b128661 SUPERNOVA: Removes optional parameter for getKeyInput()
It doesn't serve a purpose anymore. The parameter was used to keep
waiting for key input if it was a 'non text editing' event, like
pressing the shift modifier key. The only place it was used was for text
input when interacting with the computer in ShipSleepCabin.
2019-05-28 02:24:42 +02:00
Joseph-Eugene Winzer
6da729171c SUPERNOVA: Adds strings for help screen 2019-05-28 02:24:42 +02:00
Walter van Niftrik
1cae66c128 Revert "ADL: Fix MSVC warnings"
This reverts commit e412bf5ee4.
2019-05-27 20:18:28 +02:00
Filippos Karapetis
4ade45cb11 STARTREK: Improve game responsiveness
- Add a delay after screen updates
- Do not update the screen when drawing the background - this is unnecessary
- Fix memory leak when drawing the background
2019-05-27 21:14:08 +03:00
Filippos Karapetis
430b87d5ff STARTREK: Change more fields to Common::String, and fix shadowed vars 2019-05-27 20:46:04 +03:00
Filippos Karapetis
daf2f07e6b STARTREK: Use Common::String for animation strings 2019-05-27 19:39:29 +03:00
Filippos Karapetis
8885508237 STARTREK: Refactor code to remove more gotos 2019-05-27 19:11:10 +03:00
Filippos Karapetis
b0699f703e STARTREK: Fix memory leak 2019-05-27 18:25:57 +03:00
Filippos Karapetis
81294feb70 STARTREK: Refactor code so that gotos are not used in DEMON6 2019-05-27 18:25:10 +03:00
Filippos Karapetis
67f49429ae STARTREK: Replace getRectEncompassing() with extend() 2019-05-27 15:45:05 +03:00
Filippos Karapetis
7346b69d88 GRAPHICS: Initialize potentially uninitialized variables 2019-05-27 14:53:46 +03:00
Filippos Karapetis
80f773c915 WINTERMUTE: Remove unused variable 2019-05-27 14:53:45 +03:00
Filippos Karapetis
a5614eeaac TITANIC: Change add float suffixes to float assignments 2019-05-27 14:53:45 +03:00
Filippos Karapetis
f6af273fca STARTREK: Fix MSVC warnings
- Disable duplicate if block
- Fix potentially uninitialized variables
- Change _activeMenu to be a regular pointer, instead of a SharedPtr - it was not
initialized correctly
- Fix struct packing in structs with pointers to complex objects
- Fix sound initialization
- Fix memory leaks (handles to files which were never deleted)
2019-05-27 14:53:44 +03:00
Filippos Karapetis
f4e8eed13d SLUDGE: Fix MSVC warnings
- Fix invalid check with empty()
- Change float suffixes to uppercase
- Fix potentially uninitialized variables
2019-05-27 14:53:43 +03:00
Filippos Karapetis
174721e911 SCUMM: Fix MSVC warnings
- Change float suffix to uppercase
- Initialize potentially uninitialized variables
- Fix default cases in switch statements
2019-05-27 14:53:42 +03:00
Filippos Karapetis
9da3d22703 SCI: Fix MSVC warnings
- Remove unused parameters
- Initialize potentially uninitialized variables
- Use Common::String instead of a fixed buffer
- Remove redundant parentheses
- Change float suffix to be uppercase
- Fix spacing
- Fix integer left shifts with boolean variables
- Fix potential division by zero
- Fix missing breaks
2019-05-27 14:53:41 +03:00
Filippos Karapetis
87e13a5048 PEGASUS: Fix MSVC warnings
- Add a float suffix in convertScreenHToSpaceX/Y
2019-05-27 14:53:41 +03:00
Filippos Karapetis
f5ed07c3e7 MOHAWK: Fix MSVC warnings
Fix assignments to float variables, by adding a float suffix
2019-05-27 14:53:40 +03:00
Filippos Karapetis
e94026e800 MACVENTURE: Fix MSVC warnings
- Added a CHECKME for a code which is never used at the moment
- Add default cases to switch statements
- Remove unused variables
- Fix integer variable assignments from booleans
2019-05-27 14:53:39 +03:00
Filippos Karapetis
ea39214f7a ILLUSIONS: Fix MSVC warnings
- Fix warnings about conversion between float and double
- Initialize potentially uninitialized variables
2019-05-27 14:53:38 +03:00
Filippos Karapetis
5724a1f385 CRYO: Fix MSVC warnings
- Add missing default switch cases
- Specify packing for structs with pointers to complex objects
- Change literal suffixes to uppercase
- Replace uses of malloc() with new []
2019-05-27 14:53:38 +03:00
Filippos Karapetis
e412bf5ee4 ADL: Fix MSVC warnings
- Change APPLECHAR to APPLEBYTE, when its output is used as a byte
- Replace uses of strncpy with Common::strlcpy
- Merge redundant switch and if statements
- Remove redundant semicolons
2019-05-27 14:53:37 +03:00
David Fioramonti
9bf2b5d03e BLADERUNNER: Show saved game creation date and add play time
Bumped saved game version to 2 to add play time.

Can load version 1 saves and save/load version 2 saves.
2019-05-27 06:54:40 -04:00
Thanasis Antoniou
4e17b4feec BLADERUNNER: Restore lines from Grigorian and Izo 2019-05-27 02:20:37 +03:00
Thanasis Antoniou
e6f0c5e8a7 BLADERUNNER: Expose info for view in debugger list obj 2019-05-27 00:11:12 +03:00
Thanasis Antoniou
605e21953d BLADERUNNER: Fix for View::calculateScreenPosition
Draw objects in debugger no longer draws mishappen rectangles
2019-05-26 17:17:05 +03:00