Commit Graph

70 Commits

Author SHA1 Message Date
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
Filippos Karapetis
0f33e8ff8f CHEWY: More work on scene info handling 2017-07-15 19:48:43 +03:00
Filippos Karapetis
eab5a1e0ee CHEWY: Fix a bug in loadSceneInfo() 2017-06-17 13:27:48 +03:00
Filippos Karapetis
e069605d25 CHEWY: Initial work on speech for hotspot actions 2017-03-15 10:28:59 +02:00
Filippos Karapetis
6c17fc85ad CHEWY: Add a command to draw sprites on screen to the debugger 2017-03-15 10:28:58 +02:00
Filippos Karapetis
3b962c9ec4 CHEWY: Read automove scene data 2017-03-14 23:06:55 +02:00
Filippos Karapetis
87cac81c5c CHEWY: More work on room-specific animations. Some cleanup 2017-03-14 22:51:13 +02:00
Filippos Karapetis
7ccc55d53d CHEWY: Properly clip drawn text 2017-03-14 22:51:12 +02:00
Filippos Karapetis
9ba330ce1d CHEWY: More work on scene hotspots 2017-03-14 03:34:50 +02:00
D G Turner
72790f90c2 CHEWY: Fix Various Unused Variable Warnings.
Various engine variables are passed down to sub-objects, but never used
currently causing compiler warnings. It is unclear if these are intended
to be used in future, but have removed for now, rather than commenting
out as that would be messier. Can be restored easily if necessary in
future.
2017-01-14 08:43:01 +00:00
Filippos Karapetis
4dc6aa2d93 CHEWY: Add console command to change scenes 2017-01-08 20:24:39 +02:00
Filippos Karapetis
f3ea11f402 CHEWY: Initial implementation of scene sprites, props and hotspots 2017-01-08 20:24:39 +02:00
Filippos Karapetis
b20df6b417 CHEWY: Make the error for invalid text resources more verbose 2017-01-08 20:24:39 +02:00
Filippos Karapetis
981ff3b224 CHEWY: Clean up cursors a bit 2017-01-08 20:24:38 +02:00
Eugene Sandulenko
43438fbe13 CHEWY: Plug memory leaks 2016-11-13 16:36:43 +01:00
rootfather
c55aeec6fe CHEWY: Add additional version information to detection entries 2016-11-01 13:39:32 +01:00
rootfather
2abdea727e CHEWY: Add detection entries for German versions 2016-10-16 18:45:05 +02:00
Filippos Karapetis
53de49a052 CHEWY: Create a scene class 2016-10-10 05:05:42 +03:00
Filippos Karapetis
5fbf9ad171 CHEWY: Remove duplicate table 2016-10-10 05:05:19 +03:00
Filippos Karapetis
375618828f CHEWY: Move cursor related functions into a separate file 2016-10-10 04:50:35 +03:00
Filippos Karapetis
684cbfa2fd CHEWY: Add support for palette fadeout to videos 2016-10-10 04:42:06 +03:00
Filippos Karapetis
a292fcdd93 CHEWY: Fix typo 2016-10-10 04:41:31 +03:00
Filippos Karapetis
bda8a9b92b CHEWY: Initial work on converting TMF music data back to MOD data
This way, we can use our regular Protracker MOD player
2016-10-09 23:39:41 +03:00
Filippos Karapetis
0a4c1eeca1 CHEWY: Move all sound functions into sound.* 2016-10-09 23:38:39 +03:00
Filippos Karapetis
c1e44df357 CHEWY: Use atds.tap for detection
Now that a lot of the game's resources have been figured out, it turns
out that using comic.tgp was a bad idea, as it's the same in both the
English and German versions. atds.tap contains all of the game's texts,
so it is probably the best candidate for detection
2016-10-09 23:34:51 +03:00
Filippos Karapetis
339e1c1f88 CHEWY: Pass the text parameter of getLine() by reference
Saves an unneeded copy
2016-10-09 23:33:19 +03:00
Filippos Karapetis
8df9eb5b8f CHEWY: Fix undefined behavior 2016-10-07 12:29:14 +03:00
Filippos Karapetis
c3a4950c98 CHEWY: Properly dispose audio streams after use 2016-10-07 09:31:16 +03:00
Filippos Karapetis
7002ede1ed CHEWY: Const correctness 2016-10-07 03:13:16 +03:00
Filippos Karapetis
cf7c010d47 CHEWY: Use new instead of malloc() in the CFO video decoder
Thanks to wjp for noticing this
2016-10-07 03:12:00 +03:00
Filippos Karapetis
384b61a9fb CHEWY: Optimize font drawing
Thanks to _sev for the suggestion
2016-10-05 10:47:56 +03:00
Filippos Karapetis
18d6c501fc CHEWY: Add support for in-game texts 2016-10-05 10:47:22 +03:00
Filippos Karapetis
19dab45c8c CHEWY: Initial support for in-game texts (game dialog texts) 2016-10-04 02:27:22 +03:00
Filippos Karapetis
cec2799c64 CHEWY: Properly handle the text encryption in atds.tap (game texts) 2016-10-03 05:29:58 +03:00
Filippos Karapetis
9e5b745a12 CHEWY: Process events while waiting for video music to end 2016-10-03 01:44:46 +03:00
Filippos Karapetis
f61aee3c70 CHEWY: Mask potentially overflown palette values 2016-10-03 01:44:09 +03:00
Filippos Karapetis
8f9412984d CHEWY: Fix define for chewy.h 2016-10-03 01:40:07 +03:00
Filippos Karapetis
891813c9e1 CHEWY: TCF resources contain error messages, not in-game text 2016-10-03 01:38:48 +03:00
Filippos Karapetis
b394b1b687 CHEWY: Fix compilation 2016-10-03 01:10:49 +03:00
Filippos Karapetis
ce800ff1ce CHEWY: Fix warnings about shadowed and unused variables 2016-10-03 01:10:34 +03:00
Filippos Karapetis
263fdb357b CHEWY: Some cleanup, and remove a seemingly unused resource 2016-10-03 00:34:59 +03:00
Filippos Karapetis
832b97c1d5 CHEWY: Rename some variables 2016-10-03 00:34:50 +03:00
Filippos Karapetis
88f3fc0760 CHEWY: Implement initial sprite drawing, font loading and text drawing 2016-10-03 00:34:36 +03:00
Filippos Karapetis
8c7c42d13d CHEWY: Use virtual destructors. Some cleanup 2016-10-03 00:34:32 +03:00
Filippos Karapetis
8c755b268c CHEWY: Add the event manager to module.mk 2016-10-03 00:34:23 +03:00
Filippos Karapetis
93a83a6b86 CHEWY: Add an event manager, and get rid of g_engine 2016-10-03 00:34:14 +03:00
Filippos Karapetis
8767b44fe0 CHEWY: Initial work on cursor animations 2016-10-03 00:34:09 +03:00
Filippos Karapetis
94a942755e CHEWY: Initial support for game sprites 2016-10-03 00:34:05 +03:00
Filippos Karapetis
1de9019665 CHEWY: Remove some unused CFO video custom sub chunks 2016-10-03 00:34:01 +03:00
Filippos Karapetis
7234574370 CHEWY: Add support for sound effects in videos 2016-10-03 00:33:57 +03:00