Commit Graph

171 Commits

Author SHA1 Message Date
Nicola Mettifogo
594296c3e3 oops forgot to add a file
svn-id: r26118
2007-03-12 22:54:04 +00:00
Nicola Mettifogo
88ed622702 moved background path buffer management into walk.cpp
svn-id: r26117
2007-03-12 22:52:27 +00:00
Nicola Mettifogo
cf816f54d9 removed useless routines (maybe leftovers from the amiga conversion)
svn-id: r26116
2007-03-12 22:45:50 +00:00
Nicola Mettifogo
6f0dda093a renamed Graphics class to Gfx and Parallaction::_graphics to Parallaction::_gfx to shorten lines and avoid aliasing with framework's Graphics
svn-id: r26111
2007-03-12 20:41:25 +00:00
Nicola Mettifogo
77855d5b41 got rid of remaining uses of kBit3 in Menu
svn-id: r26108
2007-03-12 20:08:52 +00:00
Nicola Mettifogo
afc35317f7 The only uses for StaticCnv::_data2 were by Get and Door zones, so a new field has been added to those structure and _data2 has been deleted. Some graphic routines has been renamed to better reflect this change, too.
svn-id: r26107
2007-03-12 19:58:10 +00:00
Nicola Mettifogo
d0ccb0ea19 overall revision of selectCharacter (protection code) to remove usage of StaticCnv::_data2 and some slight bug fixing
svn-id: r26099
2007-03-12 09:21:30 +00:00
Nicola Mettifogo
e9190ba977 oops
svn-id: r26096
2007-03-11 17:01:41 +00:00
Nicola Mettifogo
6723598296 fixed bug: loading a game from the start menu doesn't lead to a crash anymore
svn-id: r26095
2007-03-11 16:54:39 +00:00
Nicola Mettifogo
63ae591e5f Disk is now completely responsible for retrieving localized location scripts
svn-id: r26094
2007-03-11 16:53:20 +00:00
Nicola Mettifogo
a1b5d99835 removed some dead code and formatting
svn-id: r26089
2007-03-11 15:10:45 +00:00
Nicola Mettifogo
39fdacf1fd fixed bug: now considering Array's ability to shift values when removing elements
svn-id: r26086
2007-03-11 14:16:43 +00:00
Nicola Mettifogo
3b5c330cef wrapped active location data into a new structure
svn-id: r26085
2007-03-11 14:14:08 +00:00
Nicola Mettifogo
981d11dcfd changed changeLocation to use StringList instead of multiple nested if's
svn-id: r26084
2007-03-11 13:43:17 +00:00
Nicola Mettifogo
06434f6eef some simplification for changeLocation
svn-id: r26083
2007-03-11 13:01:11 +00:00
Nicola Mettifogo
555d3ed317 added comment to changeLocation
svn-id: r26081
2007-03-11 11:11:05 +00:00
Nicola Mettifogo
f17cd6a577 some refactoring for music management
svn-id: r26080
2007-03-11 10:50:52 +00:00
Nicola Mettifogo
23b7c2aec5 should stop Q's Visual Studio from complaining
svn-id: r26079
2007-03-11 01:06:54 +00:00
Nicola Mettifogo
7c05225f0d cleanup
svn-id: r26077
2007-03-11 00:06:14 +00:00
Nicola Mettifogo
7d03e1ebf4 more refactoring
svn-id: r26076
2007-03-11 00:04:50 +00:00
Nicola Mettifogo
08cc2e4b27 changed kEngineMiniDonna to a more appropriate kEngineTransformedDonna
svn-id: r26075
2007-03-10 22:56:32 +00:00
Nicola Mettifogo
93d910bf2d simplified character mode handling
svn-id: r26074
2007-03-10 22:55:09 +00:00
Nicola Mettifogo
72ef7093fa some refactoring
svn-id: r26072
2007-03-10 22:13:47 +00:00
Nicola Mettifogo
096579ecbc commented nasty hack in the original code
svn-id: r26071
2007-03-10 21:31:59 +00:00
Nicola Mettifogo
21f4d2f818 fixed old reimplementation bug
svn-id: r26070
2007-03-10 21:31:22 +00:00
Nicola Mettifogo
84a5f0f827 fixed regression: head and talks are now loaded only for real characters, i.e. no dummies used for slide transitions
svn-id: r26069
2007-03-10 21:25:18 +00:00
Nicola Mettifogo
c80c3e3b3b more robust font management
svn-id: r26068
2007-03-10 21:23:22 +00:00
Eugene Sandulenko
9b0bf64448 Silence MSVC8 warnings.
svn-id: r26062
2007-03-10 15:02:39 +00:00
Nicola Mettifogo
479c8bdc18 character loading/freeing routines now also handle Heads and Talks, instead of having scattered code around
svn-id: r26059
2007-03-10 14:52:33 +00:00
Nicola Mettifogo
cd366dd78c got rid of calls to close() since streams and archives clean after themselves
svn-id: r26051
2007-03-10 13:05:13 +00:00
Nicola Mettifogo
948213d5a0 deleted useless code
svn-id: r26025
2007-03-08 20:07:27 +00:00
Nicola Mettifogo
62d1f780d5 fixed regression: background used to get broken when items were picked up
svn-id: r25981
2007-03-04 20:12:55 +00:00
Nicola Mettifogo
20da7f80f1 made loadScript and loadLocation benefit from Script's ability to dispose of its input buffer
svn-id: r25976
2007-03-04 15:09:45 +00:00
Nicola Mettifogo
1eb2d6f625 made Script optionally take ownership and dispose input text
svn-id: r25973
2007-03-04 15:00:50 +00:00
Nicola Mettifogo
b440bc1a03 wrapped loader routines into a new class named Disk. The new class is also responsible for handling Archives in place of the Parallaction engine.
svn-id: r25972
2007-03-04 13:27:29 +00:00
Nicola Mettifogo
826b16ef71 no more overloading for loadBackground
svn-id: r25971
2007-03-04 12:55:25 +00:00
Nicola Mettifogo
61fe32066b hid mask and path loading details from the engine, so it is now independent from background management
svn-id: r25970
2007-03-04 11:10:55 +00:00
Nicola Mettifogo
696b080f63 separated slide from scenery loading to take care of filename aliases
svn-id: r25969
2007-03-04 11:03:27 +00:00
Nicola Mettifogo
c5e848fb32 moved background loading into disk.cpp
svn-id: r25968
2007-03-04 10:57:30 +00:00
Nicola Mettifogo
8e7b556e99 moved platform-dependant resource loading routines into disk.cpp
svn-id: r25964
2007-03-04 09:20:03 +00:00
Nicola Mettifogo
c727205dae replaced memAlloc/memFree with standard malloc/free
svn-id: r25962
2007-03-04 08:58:23 +00:00
Nicola Mettifogo
84d2c1782f removed common-case code from loadBackground
svn-id: r25949
2007-03-03 10:10:46 +00:00
Nicola Mettifogo
c15310920a loadBackground simplified: palette cycling is still broken, though
svn-id: r25948
2007-03-03 10:01:43 +00:00
Nicola Mettifogo
1dce0b18d9 corrected parsing of LOCATION command
svn-id: r25947
2007-03-03 09:39:08 +00:00
Nicola Mettifogo
6d958e9f30 added loaders for static images like pickable items and for characters frames
svn-id: r25940
2007-03-02 23:13:13 +00:00
Nicola Mettifogo
9267e85c16 fix broken build
svn-id: r25939
2007-03-02 22:55:46 +00:00
Nicola Mettifogo
4c2687e9c7 added Script loader routine
svn-id: r25938
2007-03-02 22:34:12 +00:00
Nicola Mettifogo
753d83f946 enforced convention on loader names: load[ItemType]
svn-id: r25937
2007-03-02 22:26:39 +00:00
Nicola Mettifogo
02d4001f57 added inventory objects loader routine
svn-id: r25936
2007-03-02 22:23:02 +00:00
Nicola Mettifogo
c122d83c0e changed every font name to be platform independent, added font loader routine
svn-id: r25935
2007-03-02 22:18:37 +00:00