Commit Graph
126 Commits
Author SHA1 Message Date
Cameron Cawley 28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Le Philousophe 28318d0839 GNAP: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ysj1173886760 e42e1bcb25 GNAP: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Paul Gilbert fb9d51be0e GNAP: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Cameron Cawley 46056aba3c ENGINES: Reduce winexe_*.h header includes 2020-01-11 17:34:12 +02:00
Cameron Cawley 948c555ea6 ALL: Create all instances of NEResources and PEResources using new instead of on the stack
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
D G Turner 170e57593d GNAP: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-27 00:11:29 +00:00
Cameron Cawley fe5dddf901 GRAPHICS: Add a version of CursorManager::replaceCursor that accepts a Graphics::Cursor 2019-08-09 23:58:32 +03:00
Cameron Cawley 8c2b09d919 COMMON: Replace NEResourceType and PEResourceType with a shared enum 2019-05-01 23:52:56 +03:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02: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
D G Turner 8a061ee82d GNAP: Fix Set-But-Unused Variable Compiler Warning. 2017-01-15 14:26:11 +00:00
Eugene Sandulenko 1fe60f10fa GNAP: Move debug channel registration to the top of the engine constructor 2016-07-28 11:36:33 +03:00
Strangerke 30b8030c10 GNAP: As WAIT_CURSOR isn't available in the exe, hide and show the cursor adequately 2016-06-07 23:33:50 +02:00
Strangerke 2473348cf0 GNAP: Initialize some more variables, reorder initialization 2016-06-06 07:22:14 +02:00
Strangerke 56569c84a1 GNAP: Change two variables to bool, remove two useless variables 2016-05-31 23:03:43 +02:00
Strangerke 1f2095b066 GNAP: (hopefully) fix display on BE systems 2016-05-30 21:39:12 +02:00
Strangerke 52ee33dfa6 GNAP: Make 2 variables local to setDeviceHotspot 2016-05-30 07:15:43 +02:00
Strangerke 06eef7a408 GNAP: Initialize some unitialized variables in GnapEngine 2016-05-30 07:08:45 +02:00
Strangerke cd271a0b34 GNAP: Remove duplicate code in screenEffect 2016-05-28 18:40:22 +02:00
Ori Avtalion 32e7eec73d GNAP: Fix typo in initialization code 2016-05-25 14:38:08 +03:00
Strangerke 0d77dbc1e1 GNAP: Initialize some more variables 2016-05-25 06:49:26 +02:00
Torbjörn Andersson 4cac7d1511 GNAP: Fix memory leaks, reported by Valgrind 2016-05-24 07:09:35 +02:00
Strangerke e14e7992cc GNAP: Fix inventory content when loading from launcher 2016-05-23 19:39:56 +02:00
Strangerke 58e77d693b GNAP: Remove original debug code 2016-05-23 00:44:00 +02:00
Strangerke 58fb1563ca GNAP: Map remaining Key codes 2016-05-23 00:33:50 +02:00
Strangerke 13c363f440 GNAP: Remove double smi-columns 2016-05-23 00:00:51 +02:00
Strangerke 8a94670516 GNAP: Remove or rephrase a couple of notes 2016-05-21 00:16:59 +02:00
Strangerke f734291abb GNAP: Implement delayTicks functions, refactor them to share code 2016-05-20 07:47:16 +02:00
Strangerke 20b3d1814a GNAP: Remove some CHECKME's 2016-05-20 07:00:50 +02:00
Strangerke ba61f90eb6 GNAP: Rework the code of Scene07::run, remove an obsolete todo 2016-05-20 01:21:22 +02:00
Strangerke 9a2bc3c572 GNAP: Add several checks on _gameDone in order to quit the game quickly 2016-05-19 07:59:07 +02:00
Strangerke 97ac77b5f1 GNAP: Compute the thumbnail when opening the device so that it doesn't show the large hand in savegames 2016-05-19 07:06:48 +02:00
Strangerke 931846182b GNAP: Change pixel format - Courtesy of _sev 2016-05-18 22:38:54 +02:00
Strangerke 4c37381a8e GNAP: Add missing stars in header, change include guard name in gnap.h 2016-05-17 22:05:35 +02:00
Strangerke 6358981201 GNAP: USe Common::Point for mouse position, initialize some more variables 2016-05-17 07:09:42 +02:00
Strangerke 090c178214 GNAP: Fix another valgrind error 2016-05-16 23:38:49 +02:00
Strangerke e280c833c7 GNAP: Enforce the use of nullptr in function calls 2016-05-16 23:34:58 +02:00
Strangerke 06f3dc2973 GNAP: Fix a couple of unintialized variables 2016-05-16 23:24:02 +02:00
Strangerke 52374bfe7b GNAP: Load TTF from the executable (optional) 2016-05-16 20:43:55 +02:00
Strangerke 55162fb7ca GNAP: Simplify some calls of _hotspotWalkPos 2016-05-12 20:33:51 +02:00
Strangerke 9c0808237c GNAP: Remove _id from HotSpot structure 2016-05-12 07:59:20 +02:00
Strangerke af1cf151de GNAP: Use Common::Rect for hotspots 2016-05-12 07:53:06 +02:00
Strangerke f467db5ed2 GNAP: Add music when game is paused 2016-05-12 00:33:47 +02:00
Strangerke 33ca09ae12 GNAP: Remove useless redirections, move two more functions 2016-05-10 12:14:54 +02:00
Strangerke a508936349 GNAP: Move Gnap action functions to PlayerGnap 2016-05-10 12:14:54 +02:00
Strangerke 8a725082a5 GNAP: Move more functions to PlayerGnap 2016-05-10 12:14:54 +02:00
Strangerke 951fab4853 GNAP: Move walkTo and walkStep to Character 2016-05-10 12:14:54 +02:00
Strangerke b3bf17a315 GNAP: Use Common::Point with platypusWalkTo 2016-05-10 12:14:53 +02:00