Sebastian Krzyszkowiak
e46d5efaea
SLUDGE: fix use-after-free in RegionManager::removeScreenRegion
2019-06-17 22:11:14 +03:00
Sebastian Krzyszkowiak
373f0c91be
SLUDGE: fix use-after-free in PeopleManager::killMostPeople
2019-06-17 22:11:14 +03:00
Filippos Karapetis
f4e8eed13d
SLUDGE: Fix MSVC warnings
...
- Fix invalid check with empty()
- Change float suffixes to uppercase
- Fix potentially uninitialized variables
2019-05-27 14:53:43 +03:00
Filippos Karapetis
7c5acdaa4b
SLUDGE: Fix a potentially uninitialized variable
...
Variable "n" was not initialized if "stillToGo" was non-zero
2018-12-23 20:43:28 +02:00
Bastien Bouclet
9a4c0ae281
ENGINES: Normalize the getName() result of metaengines
...
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00
Paul Gilbert
11e33ba3fc
JANITORIAL: Removing trailing spaces after int casts
2018-08-17 20:30:20 -07:00
D G Turner
d1d521c61c
SLUDGE: Fix Unused Function Compiler Warnings.
2018-07-29 09:40:32 +01:00
Cameron Cawley
f9489be3a9
ENGINES: Add missing dependencies for several engines
2018-06-30 00:22:34 +02:00
Simei Yin
8ead8de284
SLUDGE: Move save game getter to StackHandler
2018-05-31 23:15:09 +02:00
Simei Yin
fa72209845
SLUDGE: Move stack size getter to struct StackHandler
2018-05-31 23:15:09 +02:00
Simei Yin
80478ee470
SLUDGE: Move copyStack() to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
ca583ebfcf
SLUDGE: Move last stack finding function to struct VariableStack
2018-05-31 23:15:09 +02:00
Simei Yin
9fb57f944d
SLUDGE: Move stack variable getter/setter to VariableStack
2018-05-31 23:15:09 +02:00
Simei Yin
dc18ec2fd0
SLUDGE: Move FastArray getter to struct FastArrayHandler
2018-05-31 23:15:09 +02:00
Simei Yin
399ff4788c
SLUDGE: Move fastarray functions to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
746fb3819f
SLUDGE: Move value getters to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
9d85b807fb
SLUDGE: Move add/comparison functions to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
719f5842fa
SLUDGE: Move costume functions to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
04ef7becf3
SLUDGE: Move PersonAnimation functions into struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
805a47b74a
SLUDGE: Move text related functions to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
98f764050a
SLUDGE: Move copyVariable to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
56f0821876
SLUDGE: Move save/loadVariable() to struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
2ab7665e56
SLUDGE: Move SetVariable() into struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
04444b70f9
SLUDGE: Move unlinkVar into struct Variable
2018-05-31 23:15:09 +02:00
Simei Yin
6004cd319d
SLUDGE: Move createCString() with string tools
2018-05-31 23:15:09 +02:00
Simei Yin
3e88827c4c
SLUDGE: Move function/variable load/save functions to related files
2018-05-29 22:59:52 +02:00
Simei Yin
87e58a9b7e
SLUDGE: Split runSludge() to runAllFunctions() and handleSaveLoad()
2018-05-29 22:37:10 +02:00
Simei Yin
dc320b86bc
SLUDGE: Create constructor of Variable instead of initVarNew
2018-05-29 22:37:10 +02:00
Simei Yin
1ec5ef3e4d
SLUDGE: Move resource names to ResourceManager
2018-05-29 22:37:10 +02:00
Simei Yin
0548765479
SLUDGE: Objectify FatalMsgManager
2018-05-29 22:37:10 +02:00
Simei Yin
b6c2dc385a
SLUDGE: Split out function.h/cpp for upcoming refactoring
2018-05-29 22:37:10 +02:00
Bastien Bouclet
61f9398b04
Merge pull request #1187 from bgK/detection-refactor-unknown
...
ENGINES: Return unknown game variants with the list of detected games
2018-05-28 18:43:15 +02:00
Simei Yin
881c946361
SLUDGE: Move global variable lastFramesPerSecond to class Timer
2018-05-27 22:11:38 +02:00
Simei Yin
bf3084df0e
SLUDGE: Move built-in function parameter number to structure
2018-05-27 22:11:38 +02:00
Adrian Frühwirth
cee4d6b853
JANITORIAL: Fix trailing whitespace
2018-05-24 15:30:55 +02:00
Bastien Bouclet
cf1ebf2951
ENGINES: Add unknown game variants to the game detector results
2018-05-10 09:04:23 +02:00
Simei Yin
535034d6b9
SLUDGE: Objectify FloorManager
2018-05-01 18:41:51 +02:00
Simei Yin
ba1329094c
SLUDGE: Remove unused global variable dialogValue
2018-04-29 09:57:32 +02:00
Simei Yin
4b271c6e7c
SLUDGE: Remove global variable fadeMode and move transition functions to GraphicsManager
2018-04-29 09:57:32 +02:00
Simei Yin
8b91fe536c
SLUDGE: Remove global variable saveEncoding and refactor CustomSaveData features
2018-04-29 09:57:32 +02:00
Simei Yin
728caa795a
SLUDGE: Replace linked list by Common::List in PeopleManager
2018-04-28 14:42:20 +02:00
Simei Yin
657f3f8126
SLUDGE: Replace linked list by Common::List in SpeechManager
2018-04-27 19:48:29 +02:00
Simei Yin
7e7d8d769a
SLUDGE: Remove global variable speechMode
2018-04-27 19:48:29 +02:00
Simei Yin
da491601d4
SLUDGE: Move global variable brightnessLevel to GraphicsManager and refactor save&load
2018-04-27 19:48:29 +02:00
Simei Yin
5ced495769
SLUDGE: Move global variable thumbnailWidth/Height to GraphicsManager
2018-04-27 19:48:29 +02:00
Adrian Frühwirth
a20f90cbb7
JANITORIAL: Fix formatting
2018-04-22 00:56:21 +02:00
Adrian Frühwirth
9bee9e1ba6
JANITORIAL: Fix whitespace
2018-04-19 12:08:31 +02:00
Simei Yin
db1f09a0c2
SLUDGE: Refactor OnScreenPerson related public method in PeopleManager
2018-04-15 22:10:41 +02:00
Simei Yin
2cf79dc67c
SLUDGE: Refactor save/load costume to Persona
2018-04-15 22:10:41 +02:00
Simei Yin
53c79fdde9
SLUDGE: Refactor PersonaAnimation related code in PeopleManager
2018-04-15 22:10:41 +02:00
Simei Yin
7c74e81e0a
SLUDGE: Objectify PeopleManager
2018-04-15 22:10:41 +02:00
Simei Yin
756a1096d8
SLUDGE: Remove unused global variable captureAllKeys
2018-04-15 22:10:41 +02:00
Simei Yin
91db7c5967
SLUDGE: Replace linked list by Common::List in RegionManager
2018-04-15 01:09:35 +02:00
Simei Yin
b575aac25a
SLUDGE: Rename KillAll to Kill in RegionManager
2018-04-15 01:09:35 +02:00
Simei Yin
af9d07a241
SLUDGE: Objectify Region Manager
2018-04-15 00:21:17 +02:00
Simei Yin
2ea4855799
SLUDGE: Move global variable pastePalette to TextManager and refactor a little
2018-04-01 18:02:14 +02:00
Adrian Frühwirth
225cad379f
SLUDGE: Remove unnecessary semicolon
2018-03-05 23:06:20 +01:00
Simei Yin
fe9968a074
SLUDGE: Arrange include order
2017-12-19 22:16:21 +01:00
Simei Yin
d98016b222
SLUDGE: Objectify speech manager
2017-12-19 22:12:08 +01:00
Colin Snover
51329c0dc6
ALL: Fix misuse of comma operator
2017-11-10 09:57:03 -06: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
Willem Jan Palenstijn
6bea267385
SLUDGE: Skip SearchMan detour in fallback detection
2017-09-20 20:53:14 +02:00
Simei Yin
e1c33a6b97
SLUDGE: Use Mod/Xm/S3m decoder in Sludge
2017-09-12 11:27:21 +02:00
Simei Yin
a2a980aa89
SLUDGE: Convert CP1250 to UTF8 for some windows games
2017-08-24 04:02:42 +02:00
Simei Yin
867b8dbb92
SLUDGE: Reset engine when launching a new game data file
2017-08-22 16:20:15 +02:00
Simei Yin
cae614a4dc
SLUDGE: Use common hashmap instead of array table
2017-08-21 10:19:19 +02:00
Simei Yin
516c24e8c3
SLUDGE: Change game file to be loaded
2017-08-21 10:19:19 +02:00
Simei Yin
a9ee51d6ce
SLUDGE: Some code cleaning
2017-08-21 10:19:19 +02:00
Simei Yin
d9a6791500
SLUDGE: Add support for some windows-only games
2017-08-21 10:19:19 +02:00
Simei Yin
9ee81ad127
SLUDGE: Fix zBuffer problem when credit scrolling
2017-08-18 05:17:03 +02:00
Simei Yin
cc84534871
SLUDGE: Fix load&save sound bug
2017-08-18 05:17:03 +02:00
Simei Yin
0993264ba3
SLUDGE: Play mod music
2017-08-18 05:17:03 +02:00
Simei Yin
5eda2befbb
SLUDGE: Add debug channel
2017-08-15 07:47:56 +02:00
Simei Yin
302a14677d
SLUDGE: Fix sprite darkness bug and refactor
2017-08-15 07:47:56 +02:00
Simei Yin
3cfb5bcdc5
SLUDGE: Fix unmatched delete and delete []
2017-08-12 16:49:47 +02:00
Simei Yin
606d2135b8
SLUDGE: Fix SoundManager destructure error
2017-08-12 16:49:47 +02:00
Simei Yin
1892d60c7a
SLUDGE: Apply dark color to sprite using multipy mode
2017-08-12 12:14:59 +02:00
Simei Yin
02b09dc8fc
SLUDGE: Fix Common::String operator[] out of range
2017-08-12 11:42:04 +02:00
Simei Yin
7734cb937d
SLUDGE: Fix uninitialised value
2017-08-12 11:28:21 +02:00
Simei Yin
044ea6f8b0
SLUDGE: Apply lightmap to sprites
2017-08-12 11:20:48 +02:00
Simei Yin
c84720885a
SLUDGE: Fix sprite depth error
2017-08-12 07:25:29 +02:00
Simei Yin
c28d246cb0
SLUDGE: Get list of saved files
2017-08-11 18:03:45 +02:00
Simei Yin
49383e0aee
SLUDGE: Debug output lightmap image
2017-08-11 06:35:14 +02:00
Simei Yin
949dcaa4e2
SLUDGE: Prepare sprites for lightmap
2017-08-11 06:35:14 +02:00
Simei Yin
a751ad5530
SLUDGE: Add thumbnail for save&load interface
2017-08-08 14:08:29 +02:00
Simei Yin
cff1308ed1
SLUDGE: Implement fileExists built-in function
2017-08-08 14:08:29 +02:00
Simei Yin
c9e3747114
SLUDGE: Change debug channels
2017-08-08 14:08:29 +02:00
Simei Yin
cd00521552
SLUDGE: Fix default sprite depth
2017-08-08 14:08:29 +02:00
Filippos Karapetis
b445d31e58
SLUDGE: SpritePalette is a class, not a struct
2017-08-07 00:05:34 +03:00
Torbjörn Andersson
70a2ca8b7d
JANITORIAL: Silence more GCC 7 warnings
...
All these fall through were marked as deliberate, so again I've only
changed the comment to silence GCC.
2017-08-06 13:30:51 +02:00
Simei Yin
3a7e5f1647
SLUDGE: Fix backdrop loading error
2017-08-03 09:36:30 +02:00
Simei Yin
7eade8b031
SLUDGE: Quit game built-in function
2017-08-03 04:14:35 +02:00
Simei Yin
bbc781faaa
SLUDGE: Fix backdrop loading
2017-08-03 03:50:15 +02:00
Simei Yin
79dbb56625
SLUDGE: Fix ZBuffer order bug
2017-08-02 17:46:42 +02:00
Simei Yin
44c5f5e474
SLUDGE: Refine debug channels
2017-08-02 17:46:42 +02:00
Simei Yin
c4fbb545a6
SLUDGE: Reset zBuffers when blank back drop
2017-08-02 17:46:42 +02:00
Simei Yin
7da077b93a
SLUDGE: Clear screen before every display
2017-08-01 09:29:34 +02:00
Simei Yin
a1be6d4209
SLUDGE: Move sprite bank to graphics manager
2017-07-21 14:00:24 +02:00
Simei Yin
5c853fbd65
SLUDGE: Add some windows-only games with running problems
2017-07-21 13:29:57 +02:00
Simei Yin
e120aa585e
SLUDGE: Add game Life Flashes By
2017-07-21 11:57:29 +02:00
Simei Yin
e4cbba9d09
SLUDGE: Add game The Interview
2017-07-21 11:49:01 +02:00
Simei Yin
0cc9e59105
SLUDGE: Add game Frasse and the Peas of Kejick
2017-07-21 11:45:45 +02:00
Simei Yin
fd2cf90bb3
SLUDGE: Objectify cursor manager
2017-07-21 11:21:45 +02:00
Simei Yin
6858d3c6ae
SLUDGE: Remove unused files
2017-07-21 11:21:45 +02:00
Simei Yin
4a54a02760
SLUDGE: Objectify text manager
2017-07-21 11:21:45 +02:00
Simei Yin
73a81a5089
SLUDGE: Objectify sound manager
2017-07-21 11:21:45 +02:00
Simei Yin
2b538d4376
SLUDGE: Correct uninitialized values
2017-07-21 11:21:45 +02:00
Simei Yin
28982aa9a5
SLUDGE: Remove useless zbuffer updating code
2017-07-20 19:10:01 +02:00
Simei Yin
0fb4a1ddd2
SLUDGE: Objectify input and event handler
2017-07-20 19:10:01 +02:00
Simei Yin
caa51ef49a
SLUDGE: Change all structure names to Uppercase
2017-07-20 19:10:01 +02:00
Simei Yin
300e34d535
SLUDGE: Correct snapshot
2017-07-20 02:48:21 +02:00
Simei Yin
7e95f7dc63
SLUDGE: Fix backdrop loading for images not of the window size
2017-07-20 02:00:18 +02:00
Simei Yin
aded7ce9e9
SLUDGE: Add game Out Of Order
2017-07-20 02:00:18 +02:00
Simei Yin
e617a53608
SLUDGE: Objectify graphic classes
2017-07-20 00:43:16 +02:00
Simei Yin
0e7d9b4eb2
SLUDGE: Objectify parallex and create graphics manager
2017-07-20 00:43:16 +02:00
Simei Yin
53542073b9
SLUDGE: Objectify object manager
2017-07-20 00:43:16 +02:00
Simei Yin
4fc6cef968
SLUDGE: Objectify resource manager
2017-07-18 19:05:04 +02:00
Simei Yin
798ec60f54
SLUDGE: Objectify language manager
2017-07-18 19:05:04 +02:00
Simei Yin
70c965a1c4
SLUDGE: Remove special settings
2017-07-18 19:05:04 +02:00
Simei Yin
5d554d36ed
SLUDGE: Objectify Timing
2017-07-18 19:05:04 +02:00
Simei Yin
4c4690a1e3
SLUDGE: Update ZBuffer with changed backdrop
2017-07-18 19:05:04 +02:00
Simei Yin
b789c1ef4a
SLUDGE: Add sprite display color
2017-07-16 14:39:31 +02:00
Simei Yin
17dd32f3db
SLUDGE: Complete pasteCharacter to backdrop
2017-07-16 14:39:31 +02:00
Simei Yin
ebd36a8df2
SLUDGE: Complete burnSpriteToBackdrop
2017-07-16 14:39:31 +02:00
Simei Yin
b21a3ba783
SLUDGE: Load game icon/logo
2017-07-16 14:39:31 +02:00
Simei Yin
1a86e7e4cd
SLUDGE: Correct fallback detection with custom description
2017-07-16 14:39:31 +02:00
Simei Yin
22201ba764
SLUDGE: Move PixelFormat init to constructor
2017-07-15 17:51:57 +02:00
Simei Yin
a44cf28ea3
SLUDGE: Remove unused function displayFatal
2017-07-15 17:51:57 +02:00
Simei Yin
8963519346
SLUDGE: Clean unused extern variables
2017-07-15 17:51:57 +02:00
Simei Yin
a3876ee8c1
SLUDGE: Clean useless #if 0's
2017-07-15 17:51:57 +02:00
Simei Yin
8c57d2d825
SLUDGE: Remove unused memwatch
2017-07-15 17:51:57 +02:00
Simei Yin
59f9157106
SLUDGE: Remove gl-related graphics.h
2017-07-15 17:51:57 +02:00
Simei Yin
8c8e5c44d8
SLUDGE: Remove openGl-related function fixFont
2017-07-15 17:51:57 +02:00
Simei Yin
d53c43d092
SLUDGE: Add a color into stack machine
2017-07-15 17:51:57 +02:00
Simei Yin
cd384d10b2
SLUDGE: Add credit scrolling
2017-07-15 17:51:57 +02:00
Simei Yin
3672d99d4e
SLUDGE: Complete parallax
2017-07-15 17:51:57 +02:00
Simei Yin
c25a6ba4af
SLUDGE: Complete snapshot
2017-07-15 17:51:57 +02:00
Simei Yin
4a6feaefc8
SLUDGE: Use String::format instead of sprintf
2017-07-15 14:30:46 +02:00
D G Turner
ce81c5345d
SLUDGE: Fix Unsigned vs. Signed Comparison Compiler Warnings.
2017-07-14 11:59:38 +01:00
Paul Gilbert
d8e5994d32
SLUDGE: Fix Visual Studio compilation
2017-07-13 23:42:41 -04:00
Simei Yin
cce0aace8b
SLUDGE: get random number
2017-07-13 23:29:26 +02:00
Simei Yin
b60aa5eae7
SLUDGE: fix warnings
2017-07-13 23:29:26 +02:00
Eugene Sandulenko
8fde046360
SLUDGE: Make UTF-8 code portable
2017-07-13 22:41:03 +02:00
Eugene Sandulenko
469d1777c4
SLUDGE: Fix more warnings
2017-07-13 18:48:48 +02:00
Eugene Sandulenko
2b0cbd3c7e
SLUDGE: Fix warning
2017-07-13 18:46:55 +02:00
Eugene Sandulenko
50f1204966
SLUDGE: Fix line endings
2017-07-13 18:45:05 +02:00
Eugene Sandulenko
e36f3ad79e
SLUDGE: int32_t -> int32
2017-07-13 18:43:24 +02:00
yinsimei
94ddf526f4
SLUDGE: remove CommonCode directory to have a flat structure
2017-07-13 18:27:45 +02:00
yinsimei
ef5e8091f6
SLUDGE: use multiple entries for language selection
2017-07-13 18:27:45 +02:00
yinsimei
6b794d3da7
SLUDGE: remove game settings from Sludge code
2017-07-13 18:27:45 +02:00