95 Commits

Author SHA1 Message Date
Le Philousophe
f26ce1e4ff GOB: Don't use unsafe strcat and strcpy 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
Orgad Shaneh
8d91d66a15 GOB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
aryanrawlani28
bd9514ffa8 GOB: Remove gob engine file dependencies from dataio.cpp
- DataIO is a class that helps with fallback detection for MetaEngines.
- To prepare it for being included in the executable, get rid of unneeded engine dependencies & headers.
- A utility function is being used from util.cpp, simply prepare a static copy in fileio.cpp
- Leave a comment saying a copy is being used in util.cpp.
2020-10-03 14:56:36 +02:00
Paul Gilbert
c99c187983 GOB: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Colin Snover
51329c0dc6 ALL: Fix misuse of comma operator 2017-11-10 09:57:03 -06:00
Johannes Schickel
ea21bc939a GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Sven Hesse
10b9be2851 GOB: Add Util::toCP850Lower() / toCP850Upper() 2012-07-30 01:44:45 +02:00
Sven Hesse
75e7cca692 GOB: Add support for entering non-ASCII CP850 characters 2012-07-30 01:44:45 +02:00
Sven Hesse
b5fa752b78 GOB: Keep the mouse responsive while waiting for the frame to end 2012-07-30 01:24:18 +02:00
Sven Hesse
7632246264 GOB: Implement Util::getKeyState() for Little Red
This makes the bees level playable, removing the "lock-up".
Collision detection between Little Red and the bees and butterflies
doesn't work yet though, so they're just flying through her.

Nevertheless, the game seems to be completable now.
2012-06-15 13:35:46 +02:00
Sven Hesse
26dd2f5f60 GOB: Move keyPressed() to Util 2011-09-03 18:00:09 +02:00
Sven Hesse
cceaa04ef2 GOB: Make Util::setExtension() not add an extension to an empty string 2011-09-03 18:00:08 +02:00
Sven Hesse
eebd5a28f9 GOB: Add Util::readString() 2011-09-03 18:00:08 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
04d4162357 GOB: Adapt to setPalette RGBA->RGB change. 2011-02-14 17:08:32 +01:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Sven Hesse
078162c665 GOB: Add setExtension()
svn-id: r55639
2011-01-29 22:50:11 +00:00
Sven Hesse
ce3d4b5d1b GOB: Add GobEngine::isCurrentTot()
svn-id: r55630
2011-01-29 22:45:51 +00:00
Sven Hesse
0c3a33c354 GOB: Change _curTotFile and _totToLoad into Common::String
svn-id: r55629
2011-01-29 22:45:15 +00:00
Sven Hesse
bad7f1ce9a GOB: Implement "live" (non-blocking) videos
Many thanks to SylvainTV. :)
Urban Runner might actually be completeable now.
One caveat: Hotspots at that hotel sequence are a bit glitchy...

svn-id: r55333
2011-01-19 18:57:43 +00:00
Arnaud Boutonné
cb6efae5af GOB: Replace strncmp by scumm_stricmp when possible
svn-id: r53774
2010-10-24 20:36:47 +00:00
David Turner
6527c01cb5 GOB: Add Debug Console.
This allows interactive control of debug flags and variables and provides a base to allow
for commands to aid in tracking down script bugs which are tricky to replicate.

svn-id: r53398
2010-10-13 03:49:54 +00:00
Sven Hesse
e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +00:00
Arnaud Boutonné
58987824c2 Gob - Follow cppcheck advices
svn-id: r52106
2010-08-15 23:37:56 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Arnaud Boutonné
5535554455 Gob - Add a workaround for gob3 Sofa bug #2867294. It's now possible to exit the animation by clicking
svn-id: r45353
2009-10-23 22:00:51 +00:00
Arnaud Boutonné
66233031d7 revert r44542: the fix reopens another previous bug
svn-id: r44553
2009-10-03 13:40:55 +00:00
Arnaud Boutonné
f915a46e1f Fix for bug ref#2867294 (hopefully)
svn-id: r44542
2009-10-02 17:50:56 +00:00
Sven Hesse
256a27350a Changed the scroll-handling to be more like the original. This fixes bug #2832362 ("GOB3: Scrolling locked after cutscene")
svn-id: r43147
2009-08-08 21:43:07 +00:00
Sven Hesse
87124b1d38 Removing _frameWaitLag. It broke normal animation speed in pre-v4 games and didn't even do what it was supposed to in v4+ games anyway. (bug #2830985)
svn-id: r42996
2009-08-02 10:40:48 +00:00
Sven Hesse
3823ae285f Giving Font its own real class
svn-id: r42277
2009-07-09 02:54:10 +00:00
Sven Hesse
d6c99ae861 Renaming FontDesc::extraData to charWidths
svn-id: r42149
2009-07-05 19:57:55 +00:00
Sven Hesse
e861fab808 Added a Key and ShortKey enum
svn-id: r42121
2009-07-05 11:27:11 +00:00
Sven Hesse
704895b35f Commenting prepareStr a bit and renaming it to cleanupStr
svn-id: r42120
2009-07-05 11:26:42 +00:00
Sven Hesse
d2c2386c6a Adding an enum MouseButtons
svn-id: r42119
2009-07-05 11:26:23 +00:00
Sven Hesse
48a8e69546 Fixed an animation speed regression that got introduced when I added a lag compensation for Woodruff
svn-id: r41508
2009-06-14 12:19:42 +00:00
Sven Hesse
2901694486 Demoplayer:
- Fixing the flawed double mode
- Adding an "auto" double mode, where the videos get scaled if possible

svn-id: r41294
2009-06-06 19:06:47 +00:00
Sven Hesse
1894173852 Adding a pause mode
svn-id: r41228
2009-06-06 16:47:21 +00:00
Sven Hesse
e643565c2c Compensate small lags in Util::waitEndFrame(), so that the CD audio intro sequences in Gob1 and Gob2 CD hopefully won't de-sync so easily
svn-id: r38702
2009-02-21 15:58:50 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Sven Hesse
5f8323bd50 Plugging leaks
svn-id: r35355
2008-12-14 04:33:28 +00:00
Sven Hesse
126c5a1dc8 More modified collision stuff for Urban Runner. The hotspots are correctly recognized now
svn-id: r35350
2008-12-14 02:09:03 +00:00
Sven Hesse
1ec33154fd Ooops :)
svn-id: r35119
2008-11-18 20:16:50 +00:00
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00