Nicola Mettifogo
df324b90d8
Fixed crash on exit (bug #1726185 ).
...
svn-id: r27105
2007-06-05 11:49:01 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Nicola Mettifogo
7d2809108e
Fixed the largest memory leaks.
...
svn-id: r26905
2007-05-21 21:06:30 +00:00
Nicola Mettifogo
6e76e46e0e
Fixed regression: wrong job ordering caused a bunch of graphic glitches.
...
svn-id: r26878
2007-05-19 20:49:36 +00:00
Nicola Mettifogo
342d1aa48f
Reverting my last change.
...
svn-id: r26866
2007-05-18 20:05:08 +00:00
Nicola Mettifogo
f243227f09
Replaced explicit bitmasks with function calls.
...
svn-id: r26855
2007-05-16 19:23:14 +00:00
Nicola Mettifogo
ae63466446
cleanup
...
svn-id: r26834
2007-05-13 14:38:05 +00:00
Nicola Mettifogo
09c816e695
New debug messages.
...
svn-id: r26832
2007-05-13 12:41:42 +00:00
Nicola Mettifogo
1c6ab01f9e
Fixed crashes when changing location in the introduction and removed useless code from the original engine.
...
svn-id: r26813
2007-05-12 19:33:00 +00:00
Nicola Mettifogo
346f0746d6
Added Audio debug level and fixed a bug when freeing music streams.
...
svn-id: r26804
2007-05-12 12:56:35 +00:00
Nicola Mettifogo
e2f8d9c80b
Menu handling simplification.
...
svn-id: r26760
2007-05-06 09:59:05 +00:00
Nicola Mettifogo
a4cc51b8c5
Added embryonic debugger, and some adjustments to make basic commands work.
...
svn-id: r26755
2007-05-06 08:52:27 +00:00
Nicola Mettifogo
d6c60a5407
Fix compilation (sigh).
...
svn-id: r26724
2007-05-01 16:21:16 +00:00
Nicola Mettifogo
81d6873608
Refactored music code for dos version and added music to Amiga versions.
...
svn-id: r26619
2007-04-27 20:06:42 +00:00
Nicola Mettifogo
c43960b958
- Fonts are now preloaded at start.
...
- Replaced font string names with enums.
- Some slight simplification to Disk.
svn-id: r26518
2007-04-15 20:57:56 +00:00
Nicola Mettifogo
7e0c88592f
Fixed some memory leaks.
...
svn-id: r26483
2007-04-15 08:32:28 +00:00
Nicola Mettifogo
ab85ecdcb7
- Moved Zone and Animation to List<>.
...
- Removed any reference to Node from codebase.
svn-id: r26452
2007-04-11 20:01:06 +00:00
Nicola Mettifogo
6f8e77eb76
Moved Jobs to ManagedList. Since Jobs must be ordered according to their priority, a new insertSorted method has been added to the implementation.
...
svn-id: r26451
2007-04-10 18:46:34 +00:00
Nicola Mettifogo
cfcf281b86
Cleanup of Zone/Animation removal code. Only the good god of void pointers knows how it managed to work until now.
...
svn-id: r26430
2007-04-09 11:07:38 +00:00
Nicola Mettifogo
a0dbf44ee1
- moved walk code to List<>
...
- some adjustments to #include statements
svn-id: r26424
2007-04-09 10:03:15 +00:00
Nicola Mettifogo
5a8b8ca92d
cleanup
...
svn-id: r26409
2007-04-07 16:40:27 +00:00
Nicola Mettifogo
162247ad3e
Changed Commands to use List<>
...
svn-id: r26407
2007-04-07 15:18:26 +00:00
Nicola Mettifogo
59b1538685
Reduced dependency between project files, and prepared defs.h for deletion as soon as List<>'s usage is implemented.
...
svn-id: r26400
2007-04-07 10:02:59 +00:00
Nicola Mettifogo
9367371107
Turned free___() routines into proper destructors for Zone, Animation and Program, and added memo comments for porting the engine to Common::List<>.
...
svn-id: r26399
2007-04-07 09:31:24 +00:00
Nicola Mettifogo
700fba21ed
Enabled lazy removal for Job instances.
...
svn-id: r26396
2007-04-06 18:44:58 +00:00
Nicola Mettifogo
972b0d036a
Characters now only store the set of frames they actually need. Basically, mini characters and normal characters are now completely separated.
...
svn-id: r26381
2007-04-04 20:59:31 +00:00
Nicola Mettifogo
20c2bba084
Added GF_DEMO flag and ability to load the correct location at start.
...
svn-id: r26340
2007-04-01 12:42:30 +00:00
Nicola Mettifogo
a6ad021b30
Function changeCharacter is now responsible for loading character specific Zones and such
...
svn-id: r26339
2007-04-01 12:17:38 +00:00
Nicola Mettifogo
711865ef63
- implemented destructor for Cnv, thus removing calls to Gfx::freeCnv()
...
- enforced use of getFramePtr instead of Cnv::_array member
svn-id: r26317
2007-03-29 18:34:31 +00:00
Nicola Mettifogo
3903309af3
Overhaul of palette management to bring it back to its original form. Gfx palette code has been updated, and _c_endComment (callable from scripts) has been implemented. As a by-product, palette cycling now finally works!
...
svn-id: r26314
2007-03-28 20:12:00 +00:00
Nicola Mettifogo
303b66391b
engine can now handle amiga and dos splash screens
...
svn-id: r26312
2007-03-27 22:03:00 +00:00
Nicola Mettifogo
7b9c74acae
Added new class Table, and updated Disk accordingly. Tables can be populated after their creation or wrapped around existing arrays. Thus, the old functions (initTable, freeTable and searchTable) have been removed.
...
svn-id: r26295
2007-03-24 21:18:08 +00:00
Nicola Mettifogo
afe981d340
started infrastructure for amiga demo:
...
- added Disk skeleton
- adapted Archive to handle different structure for archives
- moved Disk creation from engine constructor into init() [still sub-optimal]
svn-id: r26293
2007-03-24 17:14:04 +00:00
Nicola Mettifogo
fe5660400f
made Animation a subclass of Zone (finally!)
...
svn-id: r26244
2007-03-19 21:49:41 +00:00
Nicola Mettifogo
992f535724
Made loadFrames return a new Cnv instead of accepting a parameter.
...
svn-id: r26231
2007-03-18 21:08:28 +00:00
Nicola Mettifogo
548a522733
changed Animation::_cnv to be a pointer, in view of changes to Disk::loadFrames()
...
svn-id: r26229
2007-03-18 20:35:12 +00:00
Nicola Mettifogo
7e310422c3
- added constructors for most structs
...
- structs are now allocated via new instead of malloc's
- respective free's have been replaced with delete
svn-id: r26228
2007-03-18 20:18:19 +00:00
Nicola Mettifogo
c1f84742f9
changed remaining stuff to Common::Point and got rid of custom Point and Rect
...
svn-id: r26216
2007-03-18 17:22:07 +00:00
Nicola Mettifogo
0e370a4162
converted DoorData and Zone to Common::Point
...
svn-id: r26215
2007-03-18 17:17:21 +00:00
Nicola Mettifogo
919985e4df
converted input and labels to Common::Point
...
svn-id: r26214
2007-03-18 17:12:48 +00:00
Nicola Mettifogo
13385a5f2d
Made loadObjects return a new Cnv instead of accepting a parameter.
...
svn-id: r26202
2007-03-18 10:34:41 +00:00
Nicola Mettifogo
ec58e9ac05
Made loadHead return a new Cnv instead of accepting a parameter.
...
svn-id: r26200
2007-03-18 10:25:46 +00:00
Nicola Mettifogo
35cebe2444
Made loadTalk return a new Cnv instead of accepting a parameter.
...
svn-id: r26199
2007-03-18 10:20:38 +00:00
Nicola Mettifogo
8240027712
Bug fixed: inventory wasn't refreshed when loading a savegame if character was not switched. To make things clearer, character are now forced to reload all of their data on switch/load.
...
svn-id: r26190
2007-03-18 08:29:45 +00:00
Nicola Mettifogo
5ffd410e30
fixed usage of reference operator
...
svn-id: r26189
2007-03-18 08:15:54 +00:00
Nicola Mettifogo
d7f31cf55d
Flattened anonymous union in Zone. Its members have been partially merged.
...
svn-id: r26181
2007-03-17 19:48:48 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
...
svn-id: r26180
2007-03-17 19:02:05 +00:00
Nicola Mettifogo
f272d19570
cleanup
...
svn-id: r26179
2007-03-17 17:52:30 +00:00
Nicola Mettifogo
48460e2ea6
- Made Node a superclass for Zone, WalkNode, Command, Instruction, Program and Job.
...
- Moved Job list management inside Parallaction (because constructors for global variables are not always invoked on some platforms)
svn-id: r26164
2007-03-17 13:14:50 +00:00
Nicola Mettifogo
cb5c3840ed
minor cleanup
...
svn-id: r26161
2007-03-17 08:06:45 +00:00