Commit Graph
324 Commits
Author SHA1 Message Date
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Hubert Maier 946f11b2be TITANIC: Correct spelling mistake
existance -> existence
2022-10-27 15:57:30 +02:00
Hubert Maier b103c16786 TITANIC: Correct spelling mistake
relevent -> relevant
2022-10-27 15:57:30 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Alexandre Detiste 6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
djsrv 0d65c2fd12 ALL: Use Path type in File functions 2021-08-07 10:44:37 +02:00
Paul Gilbert 005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
Michael Ball abf9788d51 TITANIC: Resolve leftover signedness issues
Resolves leftover signedness issues to conform to baccbedf50.
2021-07-09 00:02:36 +01:00
Mathias Parnaudeau e4d1903474 TITANIC: Fix warning sign-compare 2021-07-08 21:57:48 +01:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
Matthew Duggan 9ee9fc19ae TITANIC: Update readLine function signature 2020-05-13 21:12:59 +09:00
Bastien Bouclet 4d70872545 TITANIC: Add override keywords 2020-02-09 12:43:16 +01:00
Bastien Bouclet 0d5d04ca3a IMAGE: Allow setting the output pixel format to the JPEG decoder 2019-04-28 07:59:14 +02:00
Cameron Cawley f6015086e1 ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455) 2018-12-19 08:31:26 +02:00
Paul Gilbert 5d77ade10b TITANIC: Fix infinite Barbot animation loop after loading savegame 2018-09-07 21:04:04 -07:00
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Adrian Frühwirth 8885b37abb TITANIC: Enforce code formatting guidelines 2018-05-07 20:06:29 +02:00
Colin Snover 6c40ceded1 TITANIC: Fix compilation failure in C++11 mode 2017-11-17 22:47:59 -06:00
Paul Gilbert ba7e50edec TITANIC: Hopefully fix AmigaOS compilation 2017-10-27 17:37:44 -04:00
Paul Gilbert 11a72a5e0e TITANIC: Add missing strings for Floor & Room # to titanic.dat 2017-10-15 21:20:09 -04:00
Paul Gilbert 17606700c4 TITANIC: Fix use after free and remove IFDEF code from mouse cursors 2017-10-15 19:03:09 -05:00
Paul Gilbert db5676fec2 TITANIC: Simplify cursors to build up as RGBA during loading 2017-10-15 19:03:09 -05:00
Paul Gilbert 8e0833e6de TITANIC: Remove accidentally committed cutscene slowdown 2017-10-14 22:17:12 -04:00
Paul Gilbert 55947e8ae8 TITANIC: Fix rotating on Top of Well balcony 2017-10-13 21:23:24 -04:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Paul Gilbert 6723bed162 TITANIC: DE: Fixes to vocabs, strings, and font in titanic.dat 2017-10-06 21:07:00 -04:00
Paul Gilbert 93e18ba7c3 TITANIC: DE: Translation for .avi files directly referred to 2017-10-02 21:40:46 -04:00
Paul Gilbert ba45fb2d60 TITANIC: Remove redundant surface ccreation from DirectDrawManager 2017-09-19 19:27:23 -04:00
Paul Gilbert 1f1a4427f5 TITANIC: Change AVISurface _framePixels from ManagedSurface to bool 2017-09-18 21:19:06 -04:00
Paul Gilbert 5af8ed228d TITANIC: Add VocabMode enum, fix German vocab loading 2017-09-18 18:16:03 -04:00
Paul Gilbert 09931ae0aa TITANIC: Fixed FixedQueue compaction when queue has been emptied 2017-09-16 14:09:28 -04:00
Paul Gilbert 3ed7ef57ae TITANIC: Moved queue logic within CAUdioBuffer to new FixedQueue class
This is a cleaner implementation, since all the pointer logic and
queue management is now better encapsulated in it's own class.
I felt a new FixedQueue class was necessary because the standard
Queue class uses a Common::List internally, which would be unsuitable
for containing 100,000 elements, since each int value would need it's
own list node. This way uses an array internally, like FixedStack
2017-09-14 22:34:04 -04:00
Paul Gilbert d5df72998c TITANIC: Fix blocky squares during transitions on SGT level 2017-09-12 20:39:54 -04:00
Paul Gilbert c8c83145a8 TITANIC: The hasAudioTiming code was just an isActive flag 2017-09-11 19:35:21 -04:00
Paul Gilbert 25ae67b870 TITANIC: Created custom stream reader to fix bad y222.avi header 2017-09-10 19:32:26 -04:00
Paul Gilbert a2b05b5c63 TITANIC: Fix Doorbot doubletake in the prologue 2017-09-03 20:09:23 -04:00
Paul Gilbert 6291eb75d0 TITANIC: Fix German strings in create_titanic, regenerate titanic.dat 2017-08-26 12:39:34 -04:00
Paul Gilbert a929c5aabc TITANIC: Add further strings to create_titanic tool 2017-08-26 11:13:34 -04:00
David Fioramonti c96b01b82e TITANIC: Reduce header includes for titanic.h
I reduced the header includes a lot in Titanic.h and forward
declared when I could. Titanic.h was including a lot and
a lot of functions that were including it were not using its
API. This will help make it more clear which implementation
files are using which class since they will just need to include
which ones they need.

I also moved the debug related items in Titanic.h into the debugger
header.

I also reordered several of the the header includes to be local to
global.
2017-08-24 04:06:54 -07:00
Paul Gilbert a62d1632b5 TITANIC: Start end credits at bottom of screen, not the top 2017-08-19 21:58:43 -04:00
Torbjörn Andersson 8aeeacf204 TITANIC: Add missing va_end() on early return (CppCheck warning) 2017-08-13 16:15:18 +02:00
Paul Gilbert f132cbcf85 TITANIC: Add support for compressed bitmaps in titanic.dat 2017-08-12 20:09:18 -04:00
Paul Gilbert 660f7bf114 TITANIC: Further improvements to arrow key movement
The movement code, when deciding on an item or link that matches the
desired direction, will check five points on the object/links area..
center, left edge, right edge, top edge, and bottom edge. For each
of these, it makes sure that at that point, clicking will actually
get passed to it. Otherwise, it moves onto one of the other edges.
This helps avoid issues where links weren't working because standard
scene objects were partially obscuring them.
2017-08-08 22:24:22 -04:00
Paul Gilbert e29b2fc731 TITANIC: Fix original savegames from the bar not loading 2017-08-05 19:06:35 -04:00
Paul Gilbert f9c370d942 TITANIC: Fixes for names in the CursorId enum 2017-08-04 21:08:35 -04:00
Paul Gilbert 62ab066457 TITANIC: Fix not being able to close ScummVM during prologue credits 2017-07-31 22:39:28 -04:00
Paul Gilbert bc29ee474a TITANIC: Handle brief freeze if prologue credits are skipped 2017-07-31 22:20:50 -04:00
Paul Gilbert 9c6dd7113f TITANIC: Fix speed of palette transitions in end credits 2017-07-30 17:12:55 -04:00
Paul Gilbert 6a7688ad10 TITANIC: Properly fix disappearing cconversation log text 2017-07-29 20:30:06 -04:00