Max Horn
|
82f2672008
|
SCI: Changed SegManager to store the heap pointers in a Common::Arrray
svn-id: r40293
|
2009-05-03 22:46:11 +00:00 |
|
Max Horn
|
f108a31ad7
|
SCI: Made SegManager::heap_size unsigned
svn-id: r40290
|
2009-05-03 22:45:13 +00:00 |
|
Max Horn
|
5e955ea045
|
SCI: Continue transition from MemObject to MemObjectNEW
svn-id: r40274
|
2009-05-03 11:07:07 +00:00 |
|
Max Horn
|
418a2a422e
|
SCI: Got rid of the LIST_ALL_DEALLOCATABLE macro
svn-id: r40273
|
2009-05-03 11:04:37 +00:00 |
|
Max Horn
|
79b0711cfd
|
SCI: Begun conversion of the MemObject union (used to implement poor man's fake inheritance) into a base class of all the various union members
svn-id: r40272
|
2009-05-03 09:30:59 +00:00 |
|
Max Horn
|
50c8821072
|
SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and added accessor methods getType() and getSegMgrId()
svn-id: r40271
|
2009-05-03 09:30:33 +00:00 |
|
Max Horn
|
d695c24b9b
|
SCI: Changed various params of type MemObject* to the more specific type Script&
svn-id: r40269
|
2009-05-03 09:21:08 +00:00 |
|
Max Horn
|
58ee0314ae
|
SCI: Added SegManager::getScript method and modified code to make use of it; moved VERIFY from seg_manager.h to seg_manager.cpp
svn-id: r40268
|
2009-05-03 09:20:21 +00:00 |
|
Max Horn
|
2a89c7d1d4
|
SCI: Removed MEM_OBJ_RESERVED and related code
svn-id: r40265
|
2009-05-03 09:18:56 +00:00 |
|
Max Horn
|
240be613f9
|
SCI: Removed dead code
svn-id: r40264
|
2009-05-03 09:18:25 +00:00 |
|
Max Horn
|
ed914d6740
|
SCI: Improved the Table template a bit by taking advantage of C++ features
svn-id: r40190
|
2009-04-28 22:56:44 +00:00 |
|
Max Horn
|
6ca348c9d0
|
SCI: Further restructured the SegManager heap tables
svn-id: r40184
|
2009-04-28 16:00:59 +00:00 |
|
Max Horn
|
36fcc55c06
|
SCI: Removed the evil macros in engine/heapmgr.h, by manually instantiating them where used (this enables us to further modify the code later one)
svn-id: r40183
|
2009-04-28 15:59:40 +00:00 |
|
Max Horn
|
b5e9d79e15
|
SCI: Turned classtable into a Common::Array<Class>
svn-id: r40161
|
2009-04-27 12:31:27 +00:00 |
|
Filippos Karapetis
|
c4e054848e
|
Changed some references from "FreeSCI" to "SCI" or "ScummVM"
svn-id: r39807
|
2009-04-03 08:10:58 +00:00 |
|
Max Horn
|
734e9dd377
|
SCI: Fix warnings
svn-id: r39606
|
2009-03-22 13:50:37 +00:00 |
|
Max Horn
|
ed292fb498
|
silenced some warnings
svn-id: r39566
|
2009-03-20 13:30:10 +00:00 |
|
Max Horn
|
95c58e76d6
|
SCI: Added TODO: Merge SegInterface and MemObject? And some cleanup
svn-id: r39485
|
2009-03-17 16:08:25 +00:00 |
|
Max Horn
|
3c23ba7d73
|
SCI: Got rid of various SegManager::free_* methods
svn-id: r39484
|
2009-03-17 16:07:58 +00:00 |
|
Max Horn
|
642bad22d8
|
SCI: Removed most uses of the 'inline' keyword. It is usually better to let the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;)
svn-id: r39352
|
2009-03-12 03:26:47 +00:00 |
|
Filippos Karapetis
|
88b44cef24
|
Fix heap corruption when assigning the save game directory
svn-id: r39343
|
2009-03-11 22:50:06 +00:00 |
|
Filippos Karapetis
|
54e2aedb46
|
Added FIXME for heap corruption occurring when exiting SCI games
svn-id: r39315
|
2009-03-10 22:04:48 +00:00 |
|
Lars Skovlund
|
49393c79e5
|
Minor fix to deallocate STRING_FRAG segments properly
svn-id: r39299
|
2009-03-10 17:41:58 +00:00 |
|
Lars Skovlund
|
3cddcb1660
|
String fragments support
WIP: No regressions in this part, I hope
svn-id: r39297
|
2009-03-10 14:52:02 +00:00 |
|
Filippos Karapetis
|
1e29983d8e
|
Replaced getInt16, getUInt16 and putInt16
svn-id: r39189
|
2009-03-07 16:14:20 +00:00 |
|
Jordi Vilalta Prat
|
7050c7b03f
|
SCI: Use the ResourceType enum instead of integers where it makes sense
svn-id: r38988
|
2009-02-28 23:46:50 +00:00 |
|
Greg Frieger
|
61ab59138a
|
resource_t struct replaced with stub Resource class for future objectifying. Also the crash when exiting SCI1 games was fixed
svn-id: r38982
|
2009-02-28 21:59:49 +00:00 |
|
Greg Frieger
|
4dd1b7dad5
|
Turned ResourceManager into a class, along with all related functions
svn-id: r38978
|
2009-02-28 20:45:36 +00:00 |
|
Jordi Vilalta Prat
|
501e4bb91a
|
SCI: Renamed some kernel types and general cleanup
svn-id: r38961
|
2009-02-28 11:12:59 +00:00 |
|
Willem Jan Palenstijn
|
fb552121d2
|
fix warnings and memleaks in savegame.cfsml
svn-id: r38933
|
2009-02-27 19:38:20 +00:00 |
|
Max Horn
|
479751104f
|
SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp file with the EngineState constructor
svn-id: r38921
|
2009-02-27 02:23:40 +00:00 |
|
Filippos Karapetis
|
6c879e96d1
|
- Removed engine/sys_strings.*
- Renamed sys_string_t -> SystemString, sys_strings_t -> SystemStrings
svn-id: r38916
|
2009-02-26 23:03:35 +00:00 |
|
Max Horn
|
7105df20fa
|
SCI: Moved vm.h from include to engine
svn-id: r38834
|
2009-02-24 05:56:26 +00:00 |
|
Max Horn
|
35e3364675
|
SCI: Renamed int_hashmap to IntMapper, and added docs that explain that this is *not* a hashmap (at least not a plain hashmap)
svn-id: r38823
|
2009-02-24 02:59:50 +00:00 |
|
Jordi Vilalta Prat
|
b5ce8d9320
|
Whitespace cleanup
svn-id: r38783
|
2009-02-22 13:11:43 +00:00 |
|
Jordi Vilalta Prat
|
ac409a2ab7
|
SCI: Converted "segment interfaces" into classes
svn-id: r38782
|
2009-02-22 12:18:22 +00:00 |
|
Jordi Vilalta Prat
|
817fde6cdd
|
SCI: Convert the segment manager into a class
svn-id: r38767
|
2009-02-21 23:27:24 +00:00 |
|
Max Horn
|
ff17899d8e
|
SCI: Got rid of include/scitypes.h
svn-id: r38746
|
2009-02-21 21:16:41 +00:00 |
|
Filippos Karapetis
|
6acf734ab8
|
Oops
svn-id: r38717
|
2009-02-21 18:17:08 +00:00 |
|
Filippos Karapetis
|
426def4f44
|
Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
|
2009-02-21 18:16:17 +00:00 |
|
Willem Jan Palenstijn
|
34f90ac043
|
revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
svn-id: r38696
|
2009-02-21 14:11:41 +00:00 |
|
Travis Howell
|
7ce7993c30
|
Remove excess \n.
svn-id: r38695
|
2009-02-21 13:19:44 +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
|
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 |
|
Paweł Kołodziejski
|
77542e8623
|
formating
svn-id: r38628
|
2009-02-20 22:12:48 +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
|
4fcbc4f712
|
fixed unsigned/signed comparisons warnings
svn-id: r38445
|
2009-02-17 20:34:19 +00:00 |
|
Eugene Sandulenko
|
22a009d3c6
|
Update headers. engine/
svn-id: r38408
|
2009-02-17 15:02:16 +00:00 |
|