Commit Graph

60 Commits

Author SHA1 Message Date
Le Philousophe
063e516fc8 HOPKINS: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
13bcd9a0f7 HOPKINS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
D G Turner
0386fd0eea HOPKINS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-23 23:42:38 +01:00
Strangerke
7661b8adfc HOPKINS: Fix the censorship flag (bug #6591) 2014-10-27 16:45:31 +01:00
D G Turner
71aab5ab1d HOPKINS: Add null termination to byte buffer returned by loadFile().
This shouldn't be a problem, as current client code either must find a
terminator when parsing the byte buffer or have preknowledge of the
buffer size from a file size or fixed call, so the appended null
termination will not cause issues. This change thus allows client code
to add sanity checks to prevent reading off the end of the buffer.
2014-05-17 12:12:19 +01:00
Johannes Schickel
d5b21c4036 HOPKINS: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Strangerke
6bcc8dfee6 HOPKINS: Initialize censorship based on per-engine GUI option instead of optional text flag 2014-02-02 16:20:17 +01:00
Strangerke
e79a51c208 HOPKINS: Remove g_PTRNUL 2013-04-05 07:54:54 +02:00
Strangerke
4b21ec23d0 HOPKINS: Refactor searchCat to remove the use of g_PTRNUL, add a parameter to clarify the result of the function 2013-04-03 23:58:11 +02:00
Strangerke
c7d7c74753 HOPKINS: Remove useless check in loadLinkFile, remove comment. Thanks SylvainTV for pointing it 2013-04-02 07:58:12 +02:00
Strangerke
ac338c3517 HOPKINS: Some more refactoring in Globals 2013-03-24 22:56:06 +01:00
Strangerke
75b5753b61 HOPKINS: Remove an unused Catalog mode 2013-03-24 15:36:32 +01:00
Strangerke
852e65bd02 HOPKINS: Remove setParent() from Globals 2013-03-20 07:27:42 +01:00
Strangerke
f2d4151dd7 HOPKINS: Remove setParent() from FileManager 2013-03-19 21:57:28 +01:00
Strangerke
58eefc0833 HOPKINS: Get rid of magic values in FilesManager 2013-02-27 00:15:54 +01:00
Strangerke
84e290eade HOPKINS: Reorder includes 2013-02-15 22:20:24 +01:00
Strangerke
4c1047cb81 HOPKINS: Use freeMemory instead of free in some spaces 2013-02-15 08:41:22 +01:00
Strangerke
4fd4a5ce05 HOPKINS: Fix cut&paste error in searchCat. Thanks eriktorbjorn for pointing at it 2013-01-18 19:03:38 +01:00
Strangerke
495ecaafbc HOPKINS: Remove global filename and constructFilename 2013-01-08 00:03:08 +01:00
Filippos Karapetis
60e11931ba HOPKINS: Fix fileExists() 2013-01-07 19:42:46 +02:00
Filippos Karapetis
55337fa93b HOPKINS: Get rid of the checks for the interlaced videos inside the TSVGA folder 2013-01-07 17:40:41 +02:00
Filippos Karapetis
87385740be HOPKINS: The return value of constructLinuxFilename is unused 2013-01-07 16:21:55 +02:00
Filippos Karapetis
bd865d9741 HOPKINS: Remove static game directory configuration options
Also, remove the unused VGA folder.
This is the first step to remove constructFilename() and associated functions.
2013-01-07 16:17:27 +02:00
Filippos Karapetis
be83708ef5 HOPKINS: Fix typo 2013-01-07 13:58:54 +02:00
Strangerke
f59f7dafc3 HOPKINS: Refactoring in FontManager and LinesManager 2012-12-31 00:18:08 +01:00
Strangerke
c934363790 HOPKINS: Some more renaming and refactoring 2012-12-28 08:26:27 +01:00
Strangerke
59e85997b3 HOPKINS: Load correct voice ressource file in BeOS and OS/2 versions 2012-12-26 00:31:42 +01:00
Strangerke
8c1f422bd6 HOPKINS: Remove magic values used to check language, some renaming and refactoring 2012-12-24 11:36:53 +01:00
Strangerke
0120107a6d HOPKINS: Implement code for OS/2 version 2012-12-22 14:26:07 +01:00
Strangerke
076546d41d HOPKINS: More renaming 2012-12-19 08:00:22 +01:00
Strangerke
3c31d91d97 HOPKINS: Remove zoom, mode, SDL Zoom and fullscreen variables
Also remove functions related to the loading of INI files
2012-12-16 00:26:54 +01:00
Strangerke
95025312a7 HOPKINS: Janitorial - Remove trailing space and double semi columns 2012-12-14 01:49:22 +01:00
Strangerke
eece86d78e HOPKINS: Homogenization of memory management 2012-12-12 08:05:04 +01:00
Strangerke
867cbbf4ff HOPKINS: Refactor fileManager 2012-12-09 20:22:12 +01:00
Strangerke
5ac76b5c52 HOPKINS: Remove useless tests in CENSURE() 2012-12-06 08:02:30 +01:00
Strangerke
384ca5dd82 HOPKINS: Fix CppCheck warnings 2012-11-23 22:21:35 +01:00
Strangerke
cdbba33e38 HOPKINS: Fix PCX loading when no present in CAT file. 2012-11-17 23:09:52 +01:00
Strangerke
8b0ae07969 HOPKINS: Use common::string instead of hardcoded values in CONSTRUIT_FICHIER 2012-11-17 09:59:50 +01:00
Paul Gilbert
848dcbcf09 HOPKINS: Properly implemented CONSTRUIT_FICHIER for animations.
The game has separate folders for selected animations at different resolutions.
2012-11-17 15:13:52 +11:00
Strangerke
6d1db99540 HOPKINS: Remove some magic values, add a safety check in Copy_Video_Vbe16 2012-11-16 08:32:40 +01:00
Paul Gilbert
38b5cf1efe HOPKINS: Created new SaveFileManager class to handle save file related code 2012-10-24 22:49:32 +11:00
Paul Gilbert
c593f75296 HOPKINS: Replaced loading configuration from .ini file to use hard-coded array 2012-10-23 20:07:19 +11:00
Strangerke
b4247f6265 HOPKINS: Add some translated comments to function names 2012-10-20 18:59:06 +02:00
Paul Gilbert
7ca9d2100f HOPKINS: Changed PTRNUL from being 0 to an explicitly allocated pointer.
Some of the methods explicitly differentiate between having a 0 result for invalid/abort versus PTRNUL return values
2012-10-10 21:03:29 +11:00
Paul Gilbert
02df605f79 HOPKINS: Fix for filename case comparisons in LIBERE_FICHIER 2012-10-10 20:42:25 +11:00
Paul Gilbert
4e0738af23 HOPKINS: Bugfixes for INILINK initialisatoin 2012-10-09 00:21:03 +11:00
Paul Gilbert
575f179f0f HOPKINS: Converted the file manager from static to a standard manager class 2012-10-06 23:21:10 +10:00
Paul Gilbert
8fa33e7714 HOPKINS: Implemented more object manager methods 2012-09-30 21:02:39 +10:00
Paul Gilbert
7c9ad56aac HOPKINS: Implemented many of the previously stubbed methods 2012-09-28 22:15:59 +10:00