Commit graph

354 commits

Author SHA1 Message Date
Le Philousophe
ab442ec764 CONFIGURE: Add a 3D feature
This allows to blacklist 3D engines on platforms not supporting 3D.
These platforms don't have OpenGL nor TinyGL enabled.
2024-12-01 22:41:45 +01:00
Filippos Karapetis
74be1c4b81 TETRAEDGE: Fix exit confirmation for Syberia II - bug #14352 2024-11-21 02:35:26 +02:00
Vladimir Serbinenko
ababc83fb1 TETRAEDGE: Don't crash on missing quit button 2024-09-27 09:29:02 +03:00
Vladimir Serbinenko
932ad55f98 TETRAEDGE: Implement tolua_pushstring 2024-09-27 09:29:02 +03:00
Hubert Maier
9040364cfb JANITORIAL: TETRAEDGE: Fix typos 2024-09-17 00:38:49 +03:00
Filippos Karapetis
31476365f5 TETRAEDGE: Switch path suffixes to Common::Path in findFile()
This avoids constant re-creation of Common::Paths from strings when
looking for files and constructing file paths
2024-08-04 13:00:01 +03:00
Filippos Karapetis
0c1a5f65ab TETRAEDGE: Fixes for Amerzone menus 2024-08-04 12:47:37 +03:00
Filippos Karapetis
768eff268c TETRAEDGE: Fix resource scanning depth for Amerzone 2024-08-04 12:47:37 +03:00
Filippos Karapetis
b5e79d9d64 TETRAEDGE: Cache FSNode lookups
This is based on @andrewglass's work in PR #5714, and allows us to
cache the remaining cases where Common::FSNode is used
2024-08-04 12:47:37 +03:00
Filippos Karapetis
a3d51fc698 TETRAEDGE: Switch more code to Common::Path
This allows us to remove convertPathToFSNode()
2024-08-04 12:47:37 +03:00
Filippos Karapetis
18f44255c8 TETRAEDGE: Disable code meant for save/load debugging 2024-08-04 12:47:37 +03:00
Filippos Karapetis
d83e86665e TETRAEDGE: Switch more resource loading code to Common::Path 2024-08-04 12:47:37 +03:00
Filippos Karapetis
c40375b062 TETRAEDGE: Rename findFileNew() to findFile() 2024-08-04 12:47:37 +03:00
Filippos Karapetis
c9e0806c05 TETRAEDGE: Remove all leftover uses of findFile() with Common::FSNode 2024-08-04 12:47:37 +03:00
Filippos Karapetis
0cced00f36 TETRAEDGE: Use baseName() to get file names 2024-08-04 12:47:37 +03:00
Filippos Karapetis
1808a76e49 TETRAEDGE: Switch the camera code to Common::Path. Some cleanup 2024-08-04 12:47:37 +03:00
Filippos Karapetis
a5fd4b4cf3 TETRAEDGE: Switch the image, sprite and tile code to use Common::Path
This allows us to remove some more getResource() template functions
2024-08-04 12:47:37 +03:00
Filippos Karapetis
f25c49ef0b TETRAEDGE: Move a folder check inside findFile() 2024-08-04 12:47:37 +03:00
Filippos Karapetis
388f4e0fec TETRAEDGE: Switch the texture and font code to use Common::Path 2024-08-04 12:47:37 +03:00
Filippos Karapetis
c80002eb5b TETRAEDGE: Switch the LUA handling code to use Common::Path 2024-08-04 12:47:37 +03:00
Filippos Karapetis
cad0a89c59 TETRAEDGE: Start switching to Common::Path
This is the first set of changes, and affects a smaller scope of the file access code
2024-08-04 12:47:37 +03:00
Filippos Karapetis
0b01ac88cb TETRAEDGE: Create new functions that use Common::Path instead of Common::FSNode
The results of Common::Path are cached, and are relative to the game's folder,
whereas the results of Common::FSNode aren't cached, and Common::FSNode should
be avoided in engine code. This sets up a compatibility layer, so that game
functions can be gradually switched to use Common::Path
2024-08-04 12:47:37 +03:00
Filippos Karapetis
7c0bee67fa TETRAEDGE: Cleanup 2024-08-04 12:47:37 +03:00
Cameron Cawley
89c57d29ef COMMON: Move more maths functions into the Math namespace 2024-07-27 14:00:48 +03:00
Cameron Cawley
7e0dfe0081 GRAPHICS: Use custom stream callbacks for loading TTF fonts 2024-07-23 15:33:43 +01:00
Matthew Duggan
1cb60d485e TETRAEDGE: Remove deprecated call warning 2024-07-13 21:11:43 +10:00
Cameron Cawley
ff530edcb1 GRAPHICS: Deprecate ManagedSurface methods that implicitly copy pixel data 2024-07-02 13:31:18 +01:00
Le Philousophe
b61bd3ff85 ENGINES: Create a type aware advanced meta engine 2024-06-30 18:39:06 +02:00
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Cameron Cawley
1357bfe672 COMMON: Avoid including engine headers in common code for DebugChannelDef 2024-06-20 20:15:57 +01:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Torbjörn Andersson
a1c8db3201 JANITORIAL: Clean up some whitespace and double semicolons 2024-01-29 19:32:00 +01:00
Cameron Cawley
f3fbd2477c GRAPHICS: Allow specifying separate xdpi and ydpi values in loadTTFFont 2024-01-08 23:41:50 +01:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
468cdd81bd TETRAEDGE: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Matthew Duggan
fd61d4c5e7 SYBERIA: Better variable names for head adjustments 2023-12-24 14:47:01 +11:00
Matthew Duggan
da4445974c TETRAEDGE: Fix Hans looking to the sky in Syberia 2
When the "looking at tall thing" flag is true, the head angle adjustment value
should be set as the absolute angle up, not added to the calculated angle.

This fixes Hans talking to Kate near the start of Syberia 2 where he would
gradually look higher and higher on every scene change.
2023-12-24 14:44:18 +11:00
Lothar Serra Mari
70e5c6370d TETRAEDGE: Clear ADGF_TESTING flags 2023-12-15 13:48:39 +01:00
Cameron Cawley
d00915fe59 TETRAEDGE: Call setOutputPixelFormat() after loading the video 2023-12-14 17:55:32 +00:00
Matthew Duggan
7069a37577 TETRAEDGE: Set Theora decoder pixel format (fixes #14748) 2023-12-13 20:24:15 +11:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
Aditya
a5b3353022 ALL: Decrease header dependency for gui_options.h
Now the number of times the header file gui_options.h
is added is much smaller.
2023-10-27 01:16:32 +02:00
BLooperZ
0f750eeec3 TETRAEDGE: Prioritize language specific files 2023-10-16 17:29:08 +02:00
Joseph Davies
645230091f TETRAEDGE: Fix missing scene object textures.
Fixes missing textures caused by empty path returned from
Common::Path::getParent().

https://bugs.scummvm.org/ticket/14418
2023-09-08 19:43:49 +09:00
Matthew Duggan
0a42f638b1 TETRAEDGE: Disable workaround for texture edges
Speculative fix for non-power-2 textures which might be causing bug #14418.
2023-09-05 17:20:38 +09:00
Matthew Duggan
e01f0a1ce9 TETRAEDGE: Clean right side of textures if they are non-power-2 size
Speculative fix for bug #14539.
2023-09-05 17:17:22 +09:00
Matthew Duggan
78762a2a46 TETRAEDGE: Improve deletion order of game sounds 2023-09-05 17:01:51 +09:00
Le Philousophe
5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
D G Turner
52c58cc4d0 TETRAEDGE: Remove Unused Freetype2 Related Code in Font Headers
The freetype2 dependency is still present in the configure.engine
file, but I think this is an implicit requirement via the OSystem
TTFfont API usage.
2023-07-29 18:37:00 +01:00
Matthew Duggan
3ddd5aecc9 TETRAEDGE: Correctly use head offsets in Syberia 2
This fixes bug #14540
2023-07-13 19:42:26 +09:00