Commit Graph

277 Commits

Author SHA1 Message Date
Bertrand Augereau
91a3d553e4 unmacro-ed and templated ABS, MIN & MAX
svn-id: r8311
2003-06-05 03:28:35 +00:00
Max Horn
c1dcc1a1ec Korean is kr, not ko
svn-id: r8279
2003-06-02 22:07:41 +00:00
Max Horn
d4982a0b1d fixed compilation
svn-id: r8276
2003-06-02 21:29:54 +00:00
Max Horn
f91de2ae1e renamed&fixed contains(Rect) -> intersects(Rect); added extend() method
svn-id: r8246
2003-06-01 17:06:07 +00:00
Travis Howell
771dcfaad7 Rename SimonState to SimonEngine
svn-id: r8228
2003-06-01 09:41:56 +00:00
Max Horn
06ab068a41 added some front matter text for doxygen
svn-id: r8119
2003-05-29 23:13:15 +00:00
Max Horn
e08d4f072e more OSystem docs & cleanup
svn-id: r8118
2003-05-29 22:34:35 +00:00
Max Horn
f0a9f4fb2c added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
svn-id: r8116
2003-05-29 21:45:26 +00:00
Max Horn
c991d40c58 fixed doc comment
svn-id: r8107
2003-05-29 16:37:49 +00:00
Max Horn
b07927da3d added some doxygen (javadoc style) comments. yes I sure these function probably needed documentation the least, but I just wanted something simple to test this on :-)
svn-id: r8094
2003-05-29 11:40:48 +00:00
Max Horn
db43466ea2 removed cruft
svn-id: r8093
2003-05-29 11:15:32 +00:00
Max Horn
2dd2e99cab the _encbyte code was evil, because it modified the memory passed to write(); worse, though, it incremented ptr2, which then was later passed to fwrite - hence if used to write something while _encbyte != 0, write() resulted in wrong data being written
svn-id: r8055
2003-05-28 19:03:12 +00:00
Max Horn
3fae6fbf46 added some missing checks for file being open before reading/writing
svn-id: r8043
2003-05-28 02:06:53 +00:00
Chris Apers
bf565613b2 Prepare support for wide display on HiRes+ device
svn-id: r8001
2003-05-26 12:59:16 +00:00
Jonathan Gray
ad874a4fd5 make lethalwp happy
svn-id: r7997
2003-05-26 12:26:15 +00:00
Travis Howell
055d49f77f Japanese option is jp and not ja
svn-id: r7993
2003-05-26 07:37:29 +00:00
Max Horn
c5ea0839ef as Bertrand points out, using && introduces unnecessary branching, so & is better
svn-id: r7979
2003-05-25 23:33:24 +00:00
Max Horn
35f8c2202f cleanup / added some more const qualifiers
svn-id: r7975
2003-05-25 22:01:19 +00:00
Max Horn
867e42c6fa optimized GetResult, based on code by Bertrand Augereau
svn-id: r7974
2003-05-25 21:54:01 +00:00
Max Horn
deb5e04a87 removed obsolete code
svn-id: r7973
2003-05-25 21:43:16 +00:00
Max Horn
835b4e9476 cvs going to 0.4.2cvs
svn-id: r7946
2003-05-25 12:28:38 +00:00
Max Horn
9b70fee5f3 changed scaler proc signature so that srcPtr is const (this can help optimizer by simplifying aliasing detection; thanks to Bertrand Augereau for pointing this out)
svn-id: r7939
2003-05-25 12:08:01 +00:00
Max Horn
ad4eb36093 oops, fixed ScummVM::Rect constructor (this fixes various string redraw bugs)
svn-id: r7868
2003-05-23 17:01:35 +00:00
Oliver Kiehl
d61ee38b23 fix #define
svn-id: r7806
2003-05-21 20:45:59 +00:00
Max Horn
3736794737 don't inline free_check to make debugging easier
svn-id: r7805
2003-05-21 20:35:48 +00:00
Oliver Kiehl
c78230bf47 pedantic fixes (little endian version)
svn-id: r7798
2003-05-21 18:45:58 +00:00
Max Horn
ffac2da5aa added fixme comment
svn-id: r7791
2003-05-21 17:29:51 +00:00
Max Horn
1a6d646754 more pedantic changes
svn-id: r7790
2003-05-21 17:00:00 +00:00
Max Horn
24005adfd0 pedantic fixes
svn-id: r7789
2003-05-21 16:59:51 +00:00
Max Horn
72d6179c47 fixed ltrim/rtrim
svn-id: r7788
2003-05-21 16:48:25 +00:00
Max Horn
0f64347b35 replace our 'nice' new which sets memory to 0 with a nasty one which sets it to 0xE7. This should help finding any remaining places where we don't init member variables as we should.
svn-id: r7719
2003-05-20 12:25:11 +00:00
Max Horn
881e127298 new date (post-0.4.0)
svn-id: r7702
2003-05-19 20:40:54 +00:00
Jamieson Christian
3703ed51dc Oops....
svn-id: r7700
2003-05-19 20:34:41 +00:00
Jamieson Christian
7bf95c0cf0 Fixed silence in older games under native MIDI drivers
svn-id: r7697
2003-05-19 19:50:28 +00:00
Max Horn
d6cf47dfaa Patch #739911: Fix for undefined behaviour in fopenNoCase()
svn-id: r7695
2003-05-19 19:19:32 +00:00
Jonathan Gray
cf54a63639 HAVE_CONFIG_H
svn-id: r7632
2003-05-18 13:39:02 +00:00
Oliver Kiehl
a95e860c10 _gameId is of type char so it does not make sense to have 299 GIDs. reduce to 199
svn-id: r7620
2003-05-17 23:47:50 +00:00
Max Horn
a5607d3fa2 make ARRAYSIZE 'return' an int
svn-id: r7618
2003-05-17 23:36:47 +00:00
Jamieson Christian
5a1e994d02 Added command line options for
native MT-32 support and
combination Adilb/native MIDI drivers.

svn-id: r7594
2003-05-17 03:06:16 +00:00
Jamieson Christian
5a15ce808a Feature [557411] Adlib sound effects with GM drivers.
Support for simultaneous drivers is based on a
#define in imuse.cpp, and is disabled by default.

svn-id: r7582
2003-05-16 22:00:33 +00:00
Jonathan Gray
0d7184aa00 GF_AFTER_HEV7
svn-id: r7571
2003-05-16 11:29:16 +00:00
Jonathan Gray
7c1ca29ece add config option basename to override base file name for games of the form foo.xxx to basename.xxx, useful when used together with gameid to test games not yet added to version list
svn-id: r7566
2003-05-16 08:05:06 +00:00
Max Horn
d7ef626b42 fix advmame scaler ('flickering', observable in e.g. Sam&Max, and the left-screen-border-black bug). Note: this change might look fishy to you but is perfectly legal because our frame buffers put a border around the screen data to accomodate for this
svn-id: r7556
2003-05-16 00:11:35 +00:00
Max Horn
050358bc7f oops
svn-id: r7545
2003-05-15 22:27:09 +00:00
Max Horn
b34318ca55 add method to grow a rect
svn-id: r7544
2003-05-15 22:15:24 +00:00
Max Horn
f695aa3885 renamed isInside() to contains() (this is more intuitive, because r.isInside(p) actually meant 'p is inside r', which was confusing; now it's r.contains(p) which means 'r contains p')
svn-id: r7541
2003-05-15 21:52:10 +00:00
Max Horn
128f793be0 make SWAP a template function, so that it works for swapping non-int stuff, too; 'int16' should be sufficient for points/rects
svn-id: r7540
2003-05-15 21:40:36 +00:00
Max Horn
c0e8eb0cb7 let it compile
svn-id: r7539
2003-05-15 21:33:39 +00:00
Max Horn
6cbfc1e342 cleanup (rect.h is not used anywhere but I plan to change that...)
svn-id: r7537
2003-05-15 21:25:35 +00:00
Robert Göffringmann
299a1a451f added method to detect which midi driver will be created
svn-id: r7482
2003-05-12 23:21:35 +00:00