Max Horn
9f2c0dcc6f
SCI: Tons of cleanup
...
svn-id: r38721
2009-02-21 18:39:53 +00:00
Andre Heider
e514d9780a
use OSystem::getMillis() for last_wait_time and get rid of game_start_time
...
svn-id: r38701
2009-02-21 15:40:14 +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
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
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
Paweł Kołodziejski
75b91c71dd
restored formating
...
svn-id: r38619
2009-02-20 20:31:08 +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
Filippos Karapetis
7dfb902019
Updated the savegame.cfsml file to remove unused functions and generated the appropriate .cpp file using the cfsml tool
...
svn-id: r38493
2009-02-18 17:57:57 +00:00
Filippos Karapetis
1ccedde91a
Disabled unused functions
...
svn-id: r38465
2009-02-18 10:37:22 +00:00
Filippos Karapetis
53ef1bd4fd
Removed already implemented graphic capability flags, and used CLIP inside scummvm_draw_line() to clean up the code a bit
...
svn-id: r38451
2009-02-17 22:53:09 +00:00
Paweł Kołodziejski
4a241753c4
fixed compiler warning about potentialy uninitialized variable
...
svn-id: r38446
2009-02-17 20:43:37 +00:00
Eugene Sandulenko
22a009d3c6
Update headers. engine/
...
svn-id: r38408
2009-02-17 15:02:16 +00:00
Filippos Karapetis
a3adca29f2
Removed a lot of unused and compiler-specific debug code. Note that for MSVC, the corresponding checks are enabled by default in the debug build, so there's no need to set them again programmatically. Also, removed the "codebugging" related code
...
svn-id: r38387
2009-02-16 23:28:24 +00:00
Max Horn
a272626210
Replace strncasecmp by scumm_strnicmp
...
svn-id: r38362
2009-02-16 09:53:34 +00:00
Max Horn
ee92dbbe41
SCI: Committed stuff I forgot in my last commit; changed int_hash_map_t to a C++ class
...
svn-id: r38360
2009-02-16 09:40:25 +00:00
Travis Howell
2d0a897d16
Replace strcasecmp with scumm_stricmp.
...
svn-id: r38356
2009-02-16 09:17:49 +00:00
Max Horn
74132ed71a
SCI: cleanup
...
svn-id: r38336
2009-02-16 00:35:22 +00:00
Max Horn
57434d955f
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: engine dir
...
svn-id: r38317
2009-02-15 22:28:12 +00:00
Max Horn
e90eed4ff3
SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuff
...
svn-id: r38305
2009-02-15 21:27:42 +00:00
Willem Jan Palenstijn
8392dd3aab
consts
...
svn-id: r38272
2009-02-15 17:26:59 +00:00
Paweł Kołodziejski
9920d40924
fix compilation
...
svn-id: r38271
2009-02-15 17:20:31 +00:00
Eugene Sandulenko
e241843bec
- Remove some unneeded files
...
- Mass rename .c to .cpp
svn-id: r38227
2009-02-15 11:39:07 +00:00