D G Turner
b01d712a63
CGE: Close memory leak in savegame loading.
2012-03-28 01:51:56 +01:00
D G Turner
6523a32334
CGE: Close memory leak in sound Fx caching..
2012-03-28 01:11:41 +01:00
D G Turner
83d4eeadc6
CGE: Close memory leak in savegame thumbnail loading.
2012-03-28 00:10:56 +01:00
Christoph Mallon
983cd21294
JANITORIAL: Do not convert false to a null pointer.
2012-03-13 15:42:38 +01:00
Alyssa Milburn
050902756e
CGE: Use WRITE_LE_UINT16 for unaligned writes.
2012-02-24 19:46:47 +11:00
Max Horn
4202d45fce
CGE: Avoid including advancedDetector.h from cge.h
2012-02-22 18:25:37 +01:00
Willem Jan Palenstijn
9ffe3e11d9
Merge pull request #182 from fingolfin/forbid-ctype
...
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83
COMMON: Move isFoo functions to namespace Common, add doxygen comments
2012-02-20 16:18:27 +01:00
Max Horn
08223e9746
CGE: Change detector singleid to be all lowercase
2012-02-16 11:12:24 +01:00
Max Horn
658080deed
ALL: Avoid using is* macros from ctype.h
...
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Paul Gilbert
0319cd06ef
CGE: Added explicit 'PACKED_STRUCT' macro to the HideDesc structure
2011-12-22 19:30:47 +11:00
Thierry Crozat
b419f73973
CGE: Fix issue with music not stopping when reloading game
...
If you turn off the music and then save a game, then turn on the music
again and then load the saved game, the music from the scene continue
to play despite the _music flag being false. So the first time you click on
the music on/off button the music restart and only the second time
does it stop. This fixes the bug by stoping the music before reloading
a game.
2011-12-07 07:59:19 +00:00
Strangerke
b94b4e631b
CGE: Remove useless function
2011-12-05 21:03:21 +01:00
Strangerke
f3884d1a98
CGE: Better handling of the wide 'space' character
2011-12-05 20:59:51 +01:00
Strangerke
9eebe512c8
CGE: Add a hack to fix bug #3450423 (infoline too large in polish version, scene 14)
2011-12-05 00:02:25 +01:00
Strangerke
14cdd034a8
CGE: Fix an assert in intro
2011-12-03 18:25:10 +01:00
Strangerke
816b65ff2c
CGE: Soltys - Fix initialization of a couple of bool variables
2011-12-03 17:52:05 +01:00
Strangerke
ab2e5015af
CGE: Soltys - Fix for bug #3448836 (losing scene number display after loading and changing scene)
2011-12-03 14:55:04 +01:00
Strangerke
22263bd763
CGE: Only skips animations when pressing ESC.
...
This should allow tsoliman to see the end of the intro
2011-11-30 21:21:34 +01:00
Strangerke
a12ba5f6a6
CGE: Simplify keyboard handling
2011-11-30 19:52:19 +01:00
Strangerke
d263bd26f2
CGE: Remove several useless constants in Keys enum
2011-11-30 00:06:57 +01:00
Strangerke
7320066113
CGE: Remove key sound in System::touch().
...
ALTering dice no longer is no longer noisy
2011-11-29 23:27:35 +01:00
Strangerke
5954b8bfeb
CGE: Remove useless debugging traces
2011-11-28 18:55:13 +01:00
Strangerke
b3c9b51e46
CGE: Add to the console a function to display boundaries
2011-11-28 18:54:01 +01:00
Strangerke
d9e86715d6
CGE: Fix Valgrind warning (thanks to digitall)
2011-11-27 16:53:56 +01:00
Paul Gilbert
37756c9ffe
CGE: Better fix for restoring savegames when a cut-scene is active
2011-11-27 22:16:52 +11:00
Paul Gilbert
7d9caea68a
CGE: Fix setting up scene barriers when starting a new game
2011-11-27 21:51:13 +11:00
Strangerke
a9fb11b704
CGE: Fix Console attach code
2011-11-27 10:05:55 +01:00
Paul Gilbert
50ce261dda
CGE: Hooked up the ScummVM debugger
2011-11-27 19:57:34 +11:00
Paul Gilbert
e4c1305826
CGE: Disable restoring games whilst a cut-scene is active
...
This is because previously after restoring you could no longer move the Chief.
2011-11-27 18:43:07 +11:00
Torbjörn Andersson
6e9fe4e365
CGE: Fix mismatched free() / delete / delete [] Valgrind warning.
2011-11-27 08:40:12 +01:00
Torbjörn Andersson
da626f786d
CGE: Remove unused functions, moveVmap() and moveShapes().
2011-11-27 08:34:47 +01:00
Strangerke
bab4b6f729
LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)
2011-11-16 22:38:58 +01:00
Johannes Schickel
61795739f8
COMMON: Rename Common::set_to to Common::fill.
...
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Strangerke
a1ff0ec744
CGE: Fix GUIO1 on an entry for consistency in detection
2011-11-16 00:03:24 +01:00
Strangerke
3d59d9a137
CGE: Add RTL, hook Main Menu to right click on audio button
2011-11-16 00:00:07 +01:00
Strangerke
f028edb491
CGE: Add detection for our Freeware versions of Soltys
2011-11-14 23:46:17 +01:00
Strangerke
1f405afbda
CGE: Add check in order to avoid the display of empty text-boxes
2011-11-14 18:27:26 +01:00
Strangerke
d2027b0290
CGE: Rename a structure member using double-underscore (reserved)
...
Also removed a useless comment
2011-11-14 18:24:46 +01:00
Strangerke
c6c9620ff2
CGE: Remove some useless constants
2011-11-13 12:48:09 +01:00
Strangerke
8097aeb43a
CGE: F1 now displays Soltys version and translators.
...
This is only available in versions modified or translated by the team
2011-11-13 12:33:36 +01:00
Paul Gilbert
17027a7afc
CGE: Properly stop player moving when saving or restoring
2011-11-09 19:34:43 +11:00
Paul Gilbert
09a48a0878
CGE: Bugfixes for the save/load game keys
2011-11-08 20:37:14 +11:00
Paul Gilbert
b1c10ef2f0
CGE: Don't allow saving game during cut-scenes
2011-11-08 20:32:41 +11:00
Eugene Sandulenko
558a499a02
CGE: Fix warning
2011-11-03 00:03:04 +00:00
Eugene Sandulenko
a95820956e
CGE: Fix array bounds check
2011-11-02 23:58:29 +00:00
Eugene Sandulenko
32972a5ffb
AD: Switched rest of the engines to new GUIO
2011-10-23 17:53:13 +01:00
Thierry Crozat
52c42a13d2
CGE: Remove end of line in error message.
...
This caused the punctuation mark to be displayed on the next line.
2011-10-23 14:07:30 +01:00
Strangerke
727afcf4bd
CGE: Add some doxygen comments
2011-10-22 06:30:04 +02:00
Strangerke
a9abe40a12
CGE: Add come comments in inventory functions
2011-10-09 11:24:43 +02:00
Strangerke
3ac1240b6a
CGE: Translate (and clarify) polish comments. Add a couple of doxygen comments
...
Thanks Aquadran for the initial translation of Polish comments
2011-10-01 11:10:49 +02:00
Paul Gilbert
9bb978486b
COMMON: Fix multiple engines asserting in querySaveMetaInfos for empty save slots
2011-10-01 17:50:19 +10:00
Strangerke
c67e272451
CGE: Music now always loop, like in the original game
2011-09-30 08:28:09 +02:00
Strangerke
e663e7874e
CGE: Remove useless function declaration
...
Thanks LordHoto for pointing at it
2011-09-20 07:10:29 +02:00
Strangerke
2d882fdf18
CGE: Rename Snail into CommandHandler, plus some associated renamings
2011-09-18 11:25:34 +02:00
Strangerke
17802f8903
CGE: Fix a potential bug in insertCommand(), some renaming
2011-09-17 23:04:12 +02:00
Strangerke
9c5415b6ae
CGE: Remove useless function
...
Thanks fuzzie for noticing it
2011-09-17 19:11:40 +02:00
Strangerke
ff0185d038
CGE: Remove a use reference to g_engine
...
Thanks fuzzie for mentioning it
2011-09-17 18:22:35 +02:00
Strangerke
d574cfe272
CGE: Move _talk and _text to CGEEngine
2011-09-17 17:27:05 +02:00
Strangerke
3583c949f2
CGE: Move some more globals to CGEEngine
2011-09-17 17:17:22 +02:00
Strangerke
8491e557ce
CGE: Remove duplicated forward declaration
2011-09-17 14:55:31 +02:00
Strangerke
38deee5a88
CGE: some more cleanup
2011-09-17 11:09:32 +02:00
Strangerke
4778ff720c
CGE: Move some more globals to CGEEngine
2011-09-17 10:54:50 +02:00
Strangerke
f5eca79658
CGE: Move 4 global to CGEEngine
2011-09-17 10:08:52 +02:00
Strangerke
0668a56f69
CGE: Move _vga to CGEEngine
2011-09-16 23:54:08 +02:00
Strangerke
938c08ae58
CGE: Get rid of some more global functions and static members
2011-09-16 20:31:39 +02:00
Strangerke
cdf1335ea6
CGE: Remove two useles externs, un-static-fy two Vga functions
2011-09-16 08:03:30 +02:00
Strangerke
70c5b695df
CGE: move two global functions to Vga
2011-09-16 07:55:50 +02:00
Strangerke
15bf8050b8
CGE: Move two globals functions to CGEEngine
2011-09-16 06:45:53 +02:00
Strangerke
d7ae191b82
CGE: Remove general.cpp
2011-09-15 18:54:02 +02:00
Strangerke
c993108207
CGE: Transform some static and globals into class members
2011-09-15 08:00:54 +02:00
Strangerke
d28ac81a12
CGE: Rename cave into scene
2011-09-14 08:15:30 +02:00
Strangerke
dd0e077bd7
CGE: Remove useless function
2011-09-14 00:21:10 +02:00
Strangerke
dc934a3353
CGE4: Remove useless variable
...
Thanks DrMcCoy for reporting it
2011-09-14 00:14:12 +02:00
Strangerke
82e0b6fc4b
CGE: Rewrite fileIO
2011-09-14 00:10:59 +02:00
Strangerke
dd75ebd96b
CGE: Remove dead code reported by clang++
...
Thanks LordHoto and salty-horse for reporting the problem
2011-09-13 00:48:01 +02:00
Strangerke
c9900b605a
CGE: Some more cleanup in fileIo
2011-09-13 00:28:31 +02:00
Strangerke
5d8bbc2f48
CGE: Remove IoBuf and CFile
2011-09-13 00:07:00 +02:00
Strangerke
7624cc3822
CGE: Fix crash when newRandom is called with a range set to 0
2011-09-12 23:06:14 +02:00
Filippos Karapetis
af93130fdd
CGE: Readded a line that was removed by mistake in r94db561
2011-09-12 23:33:05 +03:00
Filippos Karapetis
a2dc80fbef
CGE: Removed snddrv.h
2011-09-12 23:16:12 +03:00
Filippos Karapetis
94db56189b
CGE: Removed a leftover goto statement
2011-09-12 23:05:08 +03:00
Alyssa Milburn
a029bb8656
CGE: Build fixes for WinCE.
...
Rename 'near' to 'nearList' (and the same for 'take' to be
consistent). Also, replace a silly cast with memset to squish
a warning.
2011-09-12 09:13:19 +02:00
Strangerke
85a19d61ad
CGE: Remove debug messages, fix a warning
2011-09-12 07:01:21 +02:00
Strangerke
ae99851639
CGE: Remove VFile class
2011-09-12 00:30:46 +02:00
Strangerke
e073fab211
CGE: Fix formatting of operator overloading
2011-09-11 22:24:40 +02:00
Strangerke
3642fa015b
CGE: Remove a useless structure
2011-09-11 22:14:48 +02:00
Strangerke
5c256f9689
CGE: Remove some more VFiles
2011-09-11 22:13:00 +02:00
Strangerke
918d79f104
CGE: Remove some more uses of VFile. Fix a shadowed variable
2011-09-11 22:07:22 +02:00
Strangerke
3b9b89a78b
CGE: Talk now uses EncryptedStream. Clean up of EncryptedStream
2011-09-11 15:07:56 +02:00
Strangerke
cdba3ac108
CGE: Remove noisy debug message
2011-09-11 14:21:03 +02:00
Strangerke
08d87130aa
CGE: Use EncryptedStream in Text: rewrite caching, remove some methods.
2011-09-11 14:19:46 +02:00
Strangerke
3715d6d444
CGE: Add EncryptedStream class, remove seed parameter from XCrypt()
2011-09-11 14:15:32 +02:00
Strangerke
0784b7e0b4
CGE: Remove Dat class
2011-09-09 20:03:23 +02:00
Strangerke
4848683e56
CGE: Remove some static variables from fileIO
2011-09-09 18:24:11 +02:00
Strangerke
8dc4cb40d9
CGE: Remove a useless function declaration in class BtFile
2011-09-09 17:14:02 +02:00
Strangerke
b23bee8571
CGE: Remove XFile, rename some members
2011-09-09 16:51:47 +02:00
Strangerke
4b9d2c2516
CGE: Rename Han structures to Handler
...
Thanks to Fingolfin for pointing this out (as previous commit)
2011-09-07 23:00:32 +02:00
Strangerke
45de8747d5
CGE: Clean up and split snBarrier(), remove progName()
2011-09-07 22:37:03 +02:00
Strangerke
3e574cfbf8
CGE: Remove wtom()
2011-09-07 01:02:05 +02:00
Strangerke
52f669c93c
CGE: Replace Hxy by Common::Point
2011-09-06 23:14:49 +02:00
Strangerke
39d09d5865
CGE: Cleanup: remove residuals of the demo code
...
Thanks to fingolfin and LordHoto for pointing it out
2011-09-06 22:59:10 +02:00
Strangerke
85d10fe6c7
CGE: Handle properly looping samples
2011-09-06 21:58:41 +02:00
Strangerke
e46c613e9a
CGE: Remove 'count' static variable from snail
...
Thanks LordHoto for pointing it out
2011-09-06 19:56:47 +02:00
Strangerke
5bad1a7c7f
CGE: Take into account some of LordHoto's comments
2011-09-06 00:43:40 +02:00
Strangerke
d7695542cd
CGE: Remove various defines and functions from "general"
...
Those were already present in ScummVM (thanks Fingolfin for point out)
2011-09-06 00:16:07 +02:00
Strangerke
b75a308bcc
CGE: Replace Couple by Common::Point (thanks Fingolfin for pointing that out)
2011-09-05 23:50:30 +02:00
Strangerke
27328f2546
CGE: Little cleanup of vmenu
2011-09-05 21:21:42 +02:00
Strangerke
76f410958a
CGE: Use F5/F7 to display the save/load dialog box
2011-09-04 14:28:12 +02:00
Strangerke
56e57cf380
CGE: Remove two useless callback types
2011-09-04 11:23:01 +02:00
Strangerke
690d94eb03
CGE: Take fingolfin's remark into account: suppress the two leading underscore in define names
2011-09-01 00:32:20 +02:00
Strangerke
31d4173136
CGE: Fix thumbnails display when a game is loaded.
2011-09-01 00:22:20 +02:00
Strangerke
951dfa2be9
CGE: Fix the language of one of the demos
2011-08-29 23:10:33 +02:00
Strangerke
5e0c546aa9
CGE: Remove code related to demos, and tag demos as unsupported
2011-08-29 22:51:45 +02:00
Strangerke
a8d6b92b5a
CGE: Little cleanup of the English data file and update the detection
2011-08-29 00:29:22 +02:00
Strangerke
a14a9bb9a2
CGE: Fix ending animation - Game is now completable
2011-08-28 00:48:53 +02:00
Strangerke
12b6851276
CGE: Fix glitch in previous commit
2011-08-28 00:35:00 +02:00
Strangerke
dc9cca5f46
CGE: Fix level when restoring a game
2011-08-27 23:54:18 +02:00
Strangerke
4cb6c739a4
CGE: Change a couple of static members to non static in Vga class
2011-08-27 19:09:13 +02:00
Strangerke
ad244d464c
CGE: Set slot #0 as write protected as it's an automatic savegame
2011-08-27 18:14:50 +02:00
Strangerke
bc0e65baac
CGE: remove jbw.h, some clean up
2011-08-27 18:01:06 +02:00
Strangerke
fedd310871
CGE: Remove GetText class, which was used to enter the username
2011-08-27 14:08:39 +02:00
Strangerke
4d059c0e62
CGE: Remove user first name input, used originally for savegame names
2011-08-27 14:05:04 +02:00
Strangerke
a8ad211c36
CGE: Merge talk.cpp and gettext.cpp
2011-08-27 09:39:35 +02:00
Strangerke
7144076030
CGE: Move IO classes to a separated source file
2011-08-27 09:05:32 +02:00
Strangerke
bb2f63d285
CGE: Remove useless function
2011-08-26 23:32:05 +02:00
Alyssa Milburn
8b388b6829
CGE: Fix compilation after thumbnail changes.
2011-08-22 20:17:49 +02:00
Strangerke
c6e89df3d9
CGE: Fix error reported by fuzzie
2011-08-22 19:59:09 +02:00
Strangerke
bb591b5415
CGE: Some clean up in Vga class
2011-08-21 11:15:28 +02:00
Strangerke
e69c7a3ac4
CGE: Remove mixer
2011-08-21 09:51:49 +02:00
Strangerke
8de4d8c402
CGE: Get rid of IOMode since it's always 'read'
2011-08-21 01:41:03 +02:00
Strangerke
62035d06bb
CGE: Remove a useless pragma, and any code related to writing data
2011-08-21 01:28:07 +02:00
Strangerke
81ae309d5f
CGE: Suppress some debug code present in the original
2011-08-20 01:35:56 +02:00
Alyssa Milburn
e916f9ce8c
CGE: Another few formatting tweaks.
2011-08-20 00:40:44 +02:00
Alyssa Milburn
e4a37322a6
CGE: More misc cleanup.
2011-08-20 00:23:45 +02:00
Alyssa Milburn
c1807138fb
CGE: Cleanup of snail.cpp.
2011-08-20 00:11:30 +02:00
Strangerke
3917c11691
Merge branch 'soltys_wip2' of github.com:Strangerke/scummvm into soltys_wip2
2011-08-20 00:04:41 +02:00
Strangerke
749cd3b115
CGE: Another fix for the pathfinding
2011-08-20 00:03:44 +02:00
Alyssa Milburn
01b4ac7219
CGE: More cleanup.
2011-08-19 23:54:24 +02:00
Alyssa Milburn
bda1afdbfb
Merge branch 'soltys_wip2' of https://github.com/Strangerke/scummvm into soltys_wip2
...
Conflicts:
engines/cge/bitmap.cpp
2011-08-19 20:14:40 +02:00
Strangerke
8ff904c6b5
CGE: clean up bitmap class. Suppress useless methods, functions, defines...
2011-08-19 19:48:49 +02:00
Strangerke
df122cec17
CGE: fix some warnings reported by cppcheck
2011-08-19 18:32:46 +02:00
Alyssa Milburn
4e156b2463
CGE: Mass re-style/cleanup.
2011-08-19 16:04:10 +02:00
Alyssa Milburn
f0889d3f54
CGE: Remove unused snSelect function, and broken config.cpp.
2011-08-19 16:02:50 +02:00
Alyssa Milburn
65cd0689c7
CGE: Remove (empty) ems.cpp.
2011-08-19 15:56:03 +02:00
Alyssa Milburn
4e4062806b
CGE: Portability fix for syncing sprite flags.
2011-08-19 15:55:27 +02:00
Alyssa Milburn
43a41f5380
CGE: Endian-swap VBM headers on load if needed.
2011-08-19 14:55:44 +02:00
Alyssa Milburn
2178d64cbe
CGE: Endian-swap the contents of block descriptions.
2011-08-19 14:54:34 +02:00
Paul Gilbert
2b0cec1cd7
CGE: Fix problem with being able to walk into protected areas
2011-08-19 21:15:59 +10:00
Paul Gilbert
372d488b3b
CGE: Revert previous commit of flags synchronisation
2011-08-19 20:36:43 +10:00