267 Commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
bbed50ff27 SLUDGE: implement random built-in 2019-06-18 08:28:38 +03:00
Sebastian Krzyszkowiak
06e1d6808f SLUDGE: fix background position not taking camera into account
When a game sets camera position with aimCamera, the background should
move together with all the objects above it.
2019-06-18 02:13:05 +03:00
Sebastian Krzyszkowiak
5613caf322 SLUDGE: fix data file handling with custom encoding setting
The check was inverted - it failed when everything was alright and
succeded on error...
2019-06-18 01:32:43 +03:00
Sebastian Krzyszkowiak
a060d35418 SLUDGE: fix crash in FloorManager::setFloorNull
numPolygons wasn't getting reset to 0, so the next invocation was
trying to delete non-existent polygons
2019-06-18 00:10:03 +03:00
Sebastian Krzyszkowiak
b428c23c75 SLUDGE: fix crash in ResourceManager::readResourceNames 2019-06-17 23:08:00 +03:00
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