Filippos Karapetis
c7c9f05cac
Removed/replaced BREAKPOINT
...
svn-id: r41025
2009-05-30 10:42:08 +00:00
Filippos Karapetis
56c0a41b71
SCI: Moved the rest of the console code out of sciconsole.cpp and into console.cpp. "list" and "hexgrep" have been added to the console commands. parse_reg_t() has been moved to kmovement.cpp (as it's the only code using it). Note that the debug commands in scriptdebug.cpp have not been converted yet, so they don't work at the moment
...
svn-id: r41024
2009-05-30 10:22:53 +00:00
Filippos Karapetis
4960b64b48
Fixed a silly typo in commit #40979 . Suffixes should be loaded correctly again
...
svn-id: r41018
2009-05-30 09:07:28 +00:00
Filippos Karapetis
b43094cec0
- Added brief Doxygen comments to the ResourceSync and AudioResource classes to explain what they do
...
- Removed the outdated info page on "codebugging"
- Moved the "addresses" info page as a comment above parse_reg_t()
- Removed con_hook_page()
svn-id: r41013
2009-05-29 17:39:55 +00:00
Filippos Karapetis
b1997801da
- Moved some debug code into console.cpp, adding 3 console commands: resource_types, sci0_palette and exit
...
- Removed the "man" command
- Removed the commands which set the SCI01 priority table flags and the crossblit alpha threshold (they're too specific, and not really useful anymore)
- Removed some leftover debug code from gfxop_clear_box()
svn-id: r41010
2009-05-29 17:19:39 +00:00
Johannes Schickel
f4b15bb87f
Fix warning about unused variable.
...
svn-id: r41005
2009-05-29 14:56:53 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Max Horn
518e005ec2
SCI: Revised code for listing savegames
...
svn-id: r40999
2009-05-29 14:36:56 +00:00
Filippos Karapetis
7d0c861506
Merged res_view0.cpp and res_view1.cpp
...
svn-id: r40997
2009-05-29 14:16:51 +00:00
Filippos Karapetis
74e87bf05d
Some WIP code on the speech used in KQ6CD
...
svn-id: r40996
2009-05-29 13:52:10 +00:00
Filippos Karapetis
b042cab3a9
Fixed a bug with the "size" console command
...
svn-id: r40995
2009-05-29 13:19:18 +00:00
Max Horn
813853ccc2
SCI: Converted several fprintf(stderr) calls to warning/error (the remaining fprintf calls should probably be replaced by suitable debug/debugC/debugN invocations)
...
svn-id: r40993
2009-05-29 13:07:14 +00:00
Max Horn
b72c2a29fb
SCI: Removing useless adlib-via-OSS code
...
svn-id: r40992
2009-05-29 13:04:32 +00:00
Filippos Karapetis
cf5e7e17df
Fixed hopefully the last regression in kSetCursor. KQ5CD should work correctly again
...
svn-id: r40980
2009-05-29 10:14:58 +00:00
Filippos Karapetis
b242d05563
- Fixed usage of kSetCursor in SCI1.1 games (e.g. when starting KQ6 floppy)
...
- Removed a static variable (vocab_version)
- vocab.996 is now freed after creating the class table in SCI1 games, like in SCI0 games
svn-id: r40979
2009-05-29 09:42:11 +00:00
Filippos Karapetis
c95e5fceee
Moved the "size" console debugger command to console.cpp and silenced a warning
...
svn-id: r40978
2009-05-29 08:59:13 +00:00
Filippos Karapetis
0ad3b7bb7d
Cleanup
...
svn-id: r40977
2009-05-29 08:46:20 +00:00
Filippos Karapetis
e9444e2b93
- Rewrote kSetCursor to be a bit simpler to understand, and got rid of GF_SCI1_NEWSETCURSOR
...
- Removed the 3 mouse pointer view, loop and cell variables (and their 3 "save" versions) from the game state, as they're all actually not used anywhere
- Cleanup
svn-id: r40976
2009-05-29 08:25:42 +00:00
Max Horn
d3bd7b622c
SCI: Turned SfxState into a proper class (i.e., convert the sfx_ funcs to member methods)
...
svn-id: r40973
2009-05-28 22:48:15 +00:00
Willem Jan Palenstijn
67fa1fb59c
SCI: Fix potential dangling pointer more robustly,
...
by changing the executionStack implementation to a list.
svn-id: r40971
2009-05-28 22:42:18 +00:00
Filippos Karapetis
55b2cfa0ab
Cleanup
...
svn-id: r40969
2009-05-28 22:26:20 +00:00
Max Horn
804242ae9f
SCI: Merged NewPlayer and SfxPlayer
...
svn-id: r40968
2009-05-28 22:16:42 +00:00
Max Horn
a8748bc45c
oops
...
svn-id: r40966
2009-05-28 22:07:52 +00:00
Max Horn
99b520dd09
SCI: Merged SfxPlayer/NewPlayer code into sfx/core.cpp
...
svn-id: r40965
2009-05-28 22:02:45 +00:00
Willem Jan Palenstijn
7d5bbd7f71
SCI: Fix potential dangling pointer after reallocation
...
svn-id: r40963
2009-05-28 19:18:29 +00:00
Filippos Karapetis
c50edc8c46
Merged some of the SCI1 and SCI1.1 view and loop drawing functions
...
svn-id: r40961
2009-05-28 15:15:14 +00:00
Max Horn
32975b25f4
SCI: cleanup
...
svn-id: r40959
2009-05-28 11:15:09 +00:00
Max Horn
d70504c910
SCI: Renamed sfx_state_t -> SfxState, preparing it to become a class eventually
...
svn-id: r40958
2009-05-28 10:54:30 +00:00
Max Horn
01252c4aaf
SCI: Some SFX player cleanup
...
svn-id: r40956
2009-05-28 10:29:11 +00:00
Max Horn
78b3c80b11
SCI: Turned vocab_version into a static var, and added several FIXMEs related to it (either vocab_version needs to become a member of EngineState/SciEngine, or we need to derive its value e.g. from the game version/flags, if that's possible)
...
svn-id: r40955
2009-05-28 10:28:51 +00:00
Willem Jan Palenstijn
0b8412bcfe
SCI: Make standard EGA palette a part of gfx_sci0_pic_colors.
...
This fixes regressions in at least SQ3 and Iceman from r40870
svn-id: r40952
2009-05-27 22:41:14 +00:00
Walter van Niftrik
1dde062e2a
SCI: Fix crash in seginfo debug command.
...
svn-id: r40951
2009-05-27 21:25:45 +00:00
Filippos Karapetis
4717533dea
Added a fix to get QFG3 working and changed an error to a warning to get EcoQuest 2 working
...
svn-id: r40944
2009-05-27 17:13:42 +00:00
Filippos Karapetis
c75bdbc8e9
- SQ5 floppy starts now
...
- Added a new console command, "room", which shows the current room
svn-id: r40943
2009-05-27 16:45:42 +00:00
Filippos Karapetis
e0a0593949
Fixed a typo, and added parentheses to clarify order
...
svn-id: r40938
2009-05-27 12:46:11 +00:00
Filippos Karapetis
4dccd309e2
- Renamed the Audio commands to kSci*, from kSci1* (since they're pretty much the same for SCI1.1)
...
- Added enums for the audio sync cases
- Added a warning when kDoSync is called with the new semantics (SQ4CD or newer)
svn-id: r40936
2009-05-27 09:07:08 +00:00
Filippos Karapetis
16078599fb
Added a warning when kDoAudio is called with the new semantics (SQ4CD or newer) and fixed the detection entry for SQ4CD
...
svn-id: r40935
2009-05-27 08:48:57 +00:00
Walter van Niftrik
e3178daf13
SCI: Cleanup.
...
svn-id: r40931
2009-05-27 00:24:32 +00:00
Walter van Niftrik
fd191a4920
SCI: Changed signatures of StrLen and StrCpy to allow NULL pointers. This is
...
needed for a game bug in KQ6CD.
svn-id: r40930
2009-05-26 23:34:57 +00:00
Filippos Karapetis
c6ba88c00a
Fixed regression in Longbow
...
svn-id: r40924
2009-05-26 19:16:24 +00:00
Filippos Karapetis
d111e33df4
Fixed regression of commit #40904 , which caused the audio in KQ5CD to be played incorrectly
...
svn-id: r40923
2009-05-26 19:12:09 +00:00
Filippos Karapetis
3e29b47ec3
Fixed a crash when exiting, a regression from the latest music driver changes
...
svn-id: r40922
2009-05-26 19:05:20 +00:00
Max Horn
50157fbca9
SCI: Undo commit #40917 (SongIteratorChannel::resetSynthChannels now again does something)
...
svn-id: r40921
2009-05-26 15:46:54 +00:00
Max Horn
099a29b6bf
SCI: Added 'opcodes' command to the debugger; fixed output wrapping in the selectors & kernelnames debugger commands
...
svn-id: r40919
2009-05-26 15:06:21 +00:00
Filippos Karapetis
d8c1725fbd
Fixed compilation under MSVC
...
svn-id: r40917
2009-05-26 14:59:41 +00:00
Filippos Karapetis
dfdc239d1f
Silenced MSVC warning
...
svn-id: r40916
2009-05-26 14:54:24 +00:00
Max Horn
c96cf97ea7
SCI: Merged vocab_debug.cpp into vocabulary.cpp; cleanup
...
svn-id: r40915
2009-05-26 14:44:14 +00:00
Max Horn
1e2c539e42
SCI: Removing obsolete soft sequencer files
...
svn-id: r40914
2009-05-26 14:43:47 +00:00
Max Horn
7050c5065f
SCI: removed realtime and polled player, as well as the sfx/device dir, after discussion with Walter
...
svn-id: r40913
2009-05-26 14:09:07 +00:00
Max Horn
1d00cc5df0
SCI: Turned sfx_player_t into a class SfxPlayer, and converted the existing players to subclasses of that
...
svn-id: r40912
2009-05-26 11:49:10 +00:00