Joost Peters
177c4169d1
error() calls don't need \n, as it is already appended in error() itself
...
svn-id: r38694
2009-02-21 12:58:09 +00:00
Andre Heider
1cbe5c327d
replace obsolete creat() with open()
...
svn-id: r38690
2009-02-21 12:26:10 +00:00
Joost Peters
3988062776
replace #ifdef WORDS_BIGENDIAN by SCUMM_BIG_ENDIAN
...
svn-id: r38689
2009-02-21 12:21:15 +00:00
Willem Jan Palenstijn
baa7c7b997
remove some endlines from warning() calls
...
svn-id: r38683
2009-02-21 11:26:54 +00:00
Jordi Vilalta Prat
d8d6aaa461
Replaced "typedef struct _seg_manager_t seg_manager_t" with "struct SegManager"
...
svn-id: r38679
2009-02-21 11:04:47 +00:00
Jordi Vilalta Prat
3cc6cdf719
Replaced "typedef struct _state state_t" with "struct EngineState"
...
svn-id: r38678
2009-02-21 10:47:56 +00:00
Oystein Eftevaag
25f7c37171
Wrapped the SCI engine in the Sci namespace.
...
svn-id: r38676
2009-02-21 10:23:36 +00:00
Max Horn
fa75bd23e6
SCI: Yet more cleanup
...
svn-id: r38661
2009-02-21 04:43:49 +00:00
Max Horn
7c87b4901d
SCI: Use GCC_PRINTF hint to the compiler for _SCIkprintf and sciprintf; fixed tons of bad format strings
...
svn-id: r38660
2009-02-21 04:25:56 +00:00
Max Horn
cb6b1fc903
SCI: Regenerated said.cpp from said.y
...
svn-id: r38659
2009-02-21 04:23:43 +00:00
Max Horn
bcb1a71052
SCI: Fixed more warnings
...
svn-id: r38658
2009-02-21 04:10:21 +00:00
Max Horn
ecaab0fe94
SCI: Fixed warnings in engine/savegame.cpp, by improving cfsml.pl; also improved the build rule which is responsible for creating engine/savegame.cpp from engine/savegame.cfsml
...
svn-id: r38657
2009-02-21 03:59:57 +00:00
Max Horn
c8ea2dce5f
SCI: Fixed more warnings
...
svn-id: r38656
2009-02-21 03:32:13 +00:00
Max Horn
031e3e3b90
SCI: Fixed tons of bugs in error/warning format strings
...
svn-id: r38655
2009-02-21 03:25:23 +00:00
Willem Jan Palenstijn
7bc4b8667e
avoid vsscanf
...
svn-id: r38651
2009-02-21 00:18:02 +00:00
Willem Jan Palenstijn
abbca80d61
Converted SCI saving to use saveFileMan. Instead of a savegame being
...
a directory with an id and a state file, a savegame now consists of
two consecutive CFSML-serialized structs: SavegameMetadata and state_t.
The former contains the savegame title, and is loaded when scanning saves.
svn-id: r38649
2009-02-20 23:41:15 +00:00
Travis Howell
f6b4c2544b
Switch errors back to warnings, to fix SCI 1.1 regressions.
...
svn-id: r38646
2009-02-20 23:26:30 +00:00
Paweł Kołodziejski
fc28525969
formating
...
svn-id: r38640
2009-02-20 23:09:29 +00:00
Paweł Kołodziejski
dbb81ab516
formating
...
svn-id: r38636
2009-02-20 22:32:56 +00:00
Paweł Kołodziejski
037f56f719
formating
...
svn-id: r38635
2009-02-20 22:29:49 +00:00
Filippos Karapetis
701279fb40
Changed some SCIkdebug() calls to debugC()
...
svn-id: r38634
2009-02-20 22:21:33 +00:00
Paweł Kołodziejski
77542e8623
formating
...
svn-id: r38628
2009-02-20 22:12:48 +00:00
Paweł Kołodziejski
435844c61e
formating
...
svn-id: r38625
2009-02-20 21:38:38 +00:00
Paweł Kołodziejski
8a15a72ec8
formating
...
svn-id: r38622
2009-02-20 20:55:35 +00:00
Filippos Karapetis
2ddce51a56
Changed more messages to warnings/errors
...
svn-id: r38621
2009-02-20 20:39:02 +00:00
Paweł Kołodziejski
1419024bd0
formating
...
svn-id: r38620
2009-02-20 20:33:27 +00:00
Paweł Kołodziejski
75b91c71dd
restored formating
...
svn-id: r38619
2009-02-20 20:31:08 +00:00
Paweł Kołodziejski
61b9086fcf
formating
...
svn-id: r38618
2009-02-20 20:17:57 +00:00
Filippos Karapetis
ac716ad843
Started conversion of debug messages and debug levels to the ScummVM equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings
...
svn-id: r38617
2009-02-20 20:11:12 +00:00
Paweł Kołodziejski
2080166499
formating
...
svn-id: r38616
2009-02-20 20:01:31 +00:00
Willem Jan Palenstijn
7fdf8021d8
use new instead of malloc for int_hash_map_t
...
svn-id: r38613
2009-02-20 19:32:27 +00:00
Paweł Kołodziejski
08cd2c8806
formating
...
svn-id: r38612
2009-02-20 19:08:38 +00:00
Paweł Kołodziejski
947a296d33
formating
...
svn-id: r38607
2009-02-20 17:23:54 +00:00
Paweł Kołodziejski
b70f3ba603
formating
...
svn-id: r38605
2009-02-20 17:09:22 +00:00
Paweł Kołodziejski
61231c2a36
formating
...
svn-id: r38604
2009-02-20 17:05:47 +00:00
Paweł Kołodziejski
ac4fe7a4bc
formating
...
svn-id: r38603
2009-02-20 16:59:05 +00:00
Paweł Kołodziejski
75f9d5457a
formating
...
svn-id: r38601
2009-02-20 16:30:22 +00:00
Paweł Kołodziejski
f4719cf79c
formating
...
svn-id: r38600
2009-02-20 16:22:09 +00:00
Paweł Kołodziejski
5066e2c4be
formating
...
svn-id: r38598
2009-02-20 16:18:08 +00:00
Max Horn
bc360ee525
SCI: Started rewriting file handling. Warning: This will likely introduce
...
regressions, but we just have to start somewhere.
- factored out some common code in engine/kfile.cpp into a separate func
- replaced many uses of chdir, getcwd, sci_init_dir etc. by equivalent
or better functionality from SearchMan etc.
- replaced many uses of sci_open and sci_fopen by using Common::File
and Common::Stream
- C++ified some stuff
- simplified ResourceSource a bit (loosing some unused functionality)
svn-id: r38597
2009-02-20 16:03:50 +00:00
Max Horn
7422e98f8f
SCI: Added TODO suggestion to change the vm opcode switch/case to an opcode table with methods for each opcode (helps to separate code and deal with changed opcode numbering in other SCI versions)
...
svn-id: r38594
2009-02-20 15:44:22 +00:00
Max Horn
a2aba2f18e
SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so
...
svn-id: r38592
2009-02-20 15:24:22 +00:00
Paweł Kołodziejski
65f92d6525
formating
...
svn-id: r38564
2009-02-19 20:50:55 +00:00
Paweł Kołodziejski
427196cde4
formating
...
svn-id: r38560
2009-02-19 18:52:00 +00:00
Paweł Kołodziejski
7beba8edc9
formating
...
svn-id: r38558
2009-02-19 18:40:03 +00:00
Paweł Kołodziejski
c6e9e3d9bc
formating
...
svn-id: r38557
2009-02-19 18:33:43 +00:00
Paweł Kołodziejski
ade3c8f565
formating
...
svn-id: r38556
2009-02-19 18:11:05 +00:00
Paweł Kołodziejski
4e052e4d1c
formating
...
svn-id: r38555
2009-02-19 18:08:44 +00:00
Paweł Kołodziejski
352802bba6
formating
...
svn-id: r38554
2009-02-19 18:02:51 +00:00
Paweł Kołodziejski
2f2f262062
formating
...
svn-id: r38538
2009-02-19 08:44:53 +00:00