Commit Graph

138158 Commits

Author SHA1 Message Date
Cameron Cawley
ad6dab7bfd TINYGL: Fix memory leak 2023-02-03 22:18:45 +00:00
Cameron Cawley
4b2e3e6726 TINYGL: Use realloc to increase the size of the vertex array 2023-02-03 22:06:53 +00:00
Eugene Sandulenko
c89cc0bc4c
DIRECTOR: Implement FindSys Xlib.
Used in teamxtreme2-win. Now the title goes in-game
2023-02-03 22:55:53 +01:00
Cameron Cawley
320492d442 TINYGL: Use gl_malloc() and gl_free() for the TexelBuffer classes 2023-02-03 18:06:51 +00:00
Cameron Cawley
2773eea09d TINYGL: Move more TexelBuffer code into texelbuffer.cpp 2023-02-03 18:06:51 +00:00
Cameron Cawley
4c1fdb81d5 TINYGL: Make use of ColorMask templates for NearestTexelBuffer 2023-02-03 18:06:51 +00:00
Walter Agazzi
a967465b40 DIRECTOR: Use english title for pepperon
Game had some localized releases, so better use the
english title instead of japanese
2023-02-03 18:08:10 +01:00
Walter Agazzi
f933f4ce34 DIRECTOR: Move betterd among D4 entries 2023-02-03 17:53:45 +01:00
Matthew Duggan
eb3aa0077a TINYGL: Fix potential buffer overflow in glMaterialfv
When setting GL_SHININESS via glMaterialfv, the pointer only points to a single
value. Don't read past that.

Reported in github.com/C-Chads/tinygl/pull/20
2023-02-03 21:41:53 +09:00
Paul Gilbert
3cf7a2fe3d MM: MM1: Fix defeated monsters display at end of combat 2023-02-02 21:18:05 -08:00
Paul Gilbert
2c919436e2 MM: MM1: Move to next char/monster after a monster flees 2023-02-02 21:18:05 -08:00
Cameron Cawley
1558f7a784 STARK: Add a method for drawing filled rectangles 2023-02-03 00:37:20 +00:00
Cameron Cawley
aa5076fb58 STARK: Move the Color struct into a separate header 2023-02-03 00:37:20 +00:00
Matthew Jimenez
46118c2100 ULTIMA8: Cleanup shutdown methods 2023-02-02 18:23:33 -06:00
Matthew Jimenez
f0bd3fb39f ULTIMA8: Replace FORGET_OBJECT macro with delete and nullptr assignment where needed 2023-02-02 18:23:33 -06:00
Matthew Jimenez
992c25793e ULTIMA8: Replace CANT_HAPPEN macro usage with warning or error 2023-02-02 18:23:32 -06:00
Matthew Duggan
758f074a00 TETRAEDGE: Small debug message cleanups 2023-02-03 08:51:43 +09:00
Matthew Duggan
20b4f7c54e TETRAEDGE: Remove superfluous debugging from renderer 2023-02-03 08:51:43 +09:00
Matthew Duggan
9df0c01246 TETRAEDGE: Make optional destructor static to avoid MSVC issues 2023-02-03 08:51:43 +09:00
Matthew Duggan
5db996cf31 TETRAEDGE: Clear codec on load failure 2023-02-03 08:51:43 +09:00
Matthew Duggan
fe4026782f TETRAEDGE: Free surface before deleting 2023-02-03 08:51:43 +09:00
Matthew Duggan
719bc656a0 TETRAEDGE: Remove unneccessary use of longs
In most places where long was used, int was just fine.  In a few places, we
actually probably want 64-bit values, so use those explicitly.
2023-02-03 08:51:43 +09:00
Matthew Duggan
83d073e3ef TETRAEDGE: Whitespace 2023-02-03 08:51:43 +09:00
antoniou79
d874de2e5c BLADERUNNER: RESTOREDCONTENT: Missing quotes for Dispatch, McCoy
Dispatch is in Steele (AI) at end of Act 3, McCoy's quote is in Runciter (AI) for fake tiger

Also fixed the scene id for RC02 in chapter 4 for debugger's array (sceneList)
2023-02-02 23:45:18 +02:00
antoniou79
59ed5a0ef1 BLADERUNNER: RESTORED CONTENT: NR04 quote for DEU-ESP-ITA 2023-02-02 23:20:42 +02:00
antoniou79
001df3d1f5 BLADERUNNER: RESTOREDCONTENT: Quote for Lance in UG16
Quote does not apply in German version of the game

Also fixed UG16's setId in debugger sceneList array
2023-02-02 22:39:25 +02:00
antoniou79
873cdb5170 BLADERUNNER: Restore content and localization fixes in RC04
Also added an info note comments to cmdScene() for debugger and to enterChapter() of chapters.cpp
2023-02-02 21:42:08 +02:00
Cameron Cawley
e7c405f933 TINYGL: Remove unused code 2023-02-02 18:54:14 +00:00
Eugene Sandulenko
c5d91134ee
BACKENDS: DS: Use icCLUT8() 2023-02-02 19:33:20 +01:00
Eugene Sandulenko
e0736936e9
BACKENDS: OPENGL: Use isCLUT8() 2023-02-02 19:33:20 +01:00
Eugene Sandulenko
0722f5e9c0
GRAPHICS: Implemented PixelFormat::isCLUT8() 2023-02-02 19:33:20 +01:00
elasota
89d945e474 MTROPOLIS: Remove widescreen and subtitle options from incompatible languages, add auto-save to compatible languages. 2023-02-02 12:39:04 -05:00
Eugene Sandulenko
d1dcfb9508
AD: Set scan depth when adding globs generated from the entries. Default is 5 2023-02-02 18:23:55 +01:00
Eugene Sandulenko
cce1cca608
DIRECTOR: Set depth of 5 for directory globs
This fixes teamxtreme2 that has all game files sitting in DATA/ directory.
2023-02-02 18:23:55 +01:00
Vladimir Serbinenko
ef3eda01e0 GUI: Fix black rectangle around cursor in modern remastered them without RGB
Modern remastered uses cursor with alpha. It's not correctly converted and
so we get black rectangle around it when using --disable-16bit
2023-02-02 19:36:12 +03:00
Vladimir Serbinenko
d3f87c97ee NEVERHOOD: Skip creating hotbox for "making of" is it's unavailable.
Otherwise it  creates an invisible button that can still be clicked and
results in a button press animation followed by a brief read screen.

Reported by: -=CHE@TER=-
2023-02-02 19:34:45 +03:00
Vladimir Serbinenko
31618a13f5 NEVERHOOD: Add ResourceMan::exists helper function
This is essentially same ads attempting to open the file in question but
without incurring I/O cost.
2023-02-02 19:34:45 +03:00
Vladimir Serbinenko
0d3f068db3 NEVERHOOD: Remove outdated comment 2023-02-02 19:34:45 +03:00
Vladimir Serbinenko
46a18e0d43 NEVERHOOD: Fix crash on NHC-only resources
This happens when attempting to play making of on japanese version when
NHC is loaded.
2023-02-02 19:34:45 +03:00
Walter Agazzi
02164ebd54 HUGO: Fix wrong check for error in save/load
On succesful save saveGame returns true, not zero.
This caused the autosave to erroneusly report save failures repeatedly
2023-02-02 14:59:08 +01:00
Walter Agazzi
c4629edd5d WINTERMUTE: Add detection for newer 5 lethal demons 2023-02-02 14:47:35 +01:00
antoniou79
a2fd0afadf BLADERUNNER: RESTOREDCONTENT: Fix McCoy's inner talk if confessed 2023-02-02 15:42:53 +02:00
antoniou79
f5b7fec67c BLADERUNNER: Fix inconsistent dialogue in KIA
Includes minor restored content quotes for Zuben and McCoy dialogue about Runciter and a couple of related bug fixes
2023-02-02 15:29:22 +02:00
Paul Gilbert
c44c26bd38 MM: MM1: Fixes for displaying monsters run away 2023-02-01 21:48:04 -08:00
Paul Gilbert
1c85b9bcf4 MM: MM1: Better implementation of string uppercasing
All strings in strings_en.yml are now in lowercase for the
enhanced mode. And for original mode, the strings will
simply uppercase them for display
2023-02-01 21:48:04 -08:00
elasota
348e0d7aa2 MTROPOLIS: Add boot+detection for Obsidian Macintosh Japanese version 2023-02-01 21:57:38 -05:00
Vladimir Serbinenko
1daf70c746 BASE: Fix NPE when executable name is not available 2023-02-01 23:08:50 +01:00
Cameron Cawley
962383eb3e STARK: Better check for texture and bitmap formats 2023-02-01 13:48:26 +00:00
neuromancer
818797fc96 HYPNO: finish level c30 when all the objectives are complete in wet 2023-02-01 13:14:36 +01:00
neuromancer
bb90b1b87b HYPNO: added missing cutscene in wet for level c20 2023-02-01 09:20:28 +01:00