aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2003-10-10some cleanupMax Horn
svn-id: r10720
2003-10-10modified version of patch #821018; fix for bug #821083Max Horn
svn-id: r10716
2003-10-09fix ConfMan.set when dom is empty; added some asserts (paranoia)Max Horn
svn-id: r10698
2003-10-08new config manager. not everything is completed, and some things will still ↵Max Horn
be changed, but it seems to work well enough to put it into CVS svn-id: r10687
2003-10-08humpfMax Horn
svn-id: r10685
2003-10-08add String::lastChar() methodMax Horn
svn-id: r10684
2003-10-08renamed createNode() to findOrCreateNode(); added addKey() method; ↵Max Horn
reimplemented merge() svn-id: r10683
2003-10-06added String::emptyString constantMax Horn
svn-id: r10649
2003-10-05no need for an explicit error here; rather, the linker will catch any ↵Max Horn
invalid uses if we don't give a body svn-id: r10610
2003-10-05cleaned up iterator code in MapMax Horn
svn-id: r10608
2003-10-05added iterators to List templateMax Horn
svn-id: r10607
2003-10-05added doxygen comment & TODOsMax Horn
svn-id: r10604
2003-10-04use namespace Common a bit more; don't zero the RNG in scumm (else the seed ↵Max Horn
gets reset); remove obsolete 256 color blending code svn-id: r10592
2003-10-03fixed compilation under msvc7Paweł Kołodziejski
svn-id: r10562
2003-10-02fix scaler compilation for MSVC6. However, the produced code stll seems to ↵Max Horn
be incorrect... Jamieson, maybe the MSVC6_COMPAT should be re-added then after all? svn-id: r10552
2003-10-02according to tsuteiuQ, this helps MSVC6 (seems it can cope with the enums ↵Max Horn
but not with static consts) svn-id: r10551
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-10-02fix a warning wjp gets with gcc 3.2.3Max Horn
svn-id: r10541
2003-10-02Added MSVC6_COMPAT in order to be able to disableJamieson Christian
new additions/optimizations that use constructs with which MSVC6 is incompatible, such as the revamped template-based super/hq/tv scalers. svn-id: r10540
2003-10-01sync with hq2x (in particular, use my Altivec code here, tooMax Horn
svn-id: r10529
2003-10-01make MSVC7 happyMax Horn
svn-id: r10524
2003-10-01move INTERPOLATE / Q_INTERPOLATE to intern.h; remove some jumps (pipelin ↵Max Horn
trashers I call 'em :-) from diffYUV svn-id: r10523
2003-10-01instead of using a stack array, use regular variables (marked with the ↵Max Horn
register keyword to hint the optimizer) for the color data. At least over here this helps the optimizer *A LOT* - instead of keeping w[] on the stack, on the PowerPC all values stay in registers, for a nice speed boost. Shouldn't hurt x86 either svn-id: r10522
2003-09-30added some AltiVec code. Still under development, and notice that this is my ↵Max Horn
first time writing AltiVec code, so I am sure it could be done better :-). I am working on the interpolation function now. svn-id: r10508
2003-09-29synced hq2x with upstream changes; some performance tweaks to hq2x/hq3x (I ↵Max Horn
think for bigger speed improvement we'd have to use ASM (with C++ fallback of course)... svn-id: r10494
2003-09-29forgot to add common/scaler to MODULE_DIRSMax Horn
svn-id: r10490
2003-09-29templatized more of the scalers; also introduced template struct ColorMasks ↵Max Horn
(shortens/simplifies other code a bit) svn-id: r10489
2003-09-29split out scalers into separate source files in common/scaler; some ↵Max Horn
optimizations (in particular, the hq2x/hq3x scalers now are compiled into two versions, one for 555 and one for 565 mode) svn-id: r10488
2003-09-28removed duplicate g_timer object (one was global, one was static to ↵Max Horn
timer.cpp); set g_system earlier (might prevent a few race conditions) svn-id: r10471
2003-09-28Slightly more sensible hotkeys for the scalers. Hq2x is now number 8, rightTorbjörn Andersson
after AdvMame2x, and 9 and 0 are AdvMame3x and Hq3x respectively. I agree with Fingolfin that we'll need a better way of handling this in the future, though. svn-id: r10461
2003-09-28don't try to pass NULL when there is an int argumentJonathan Gray
svn-id: r10454
2003-09-27get rid of explicit redMask/blueMask and use redBlueMask instead (this will ↵Max Horn
be useful should we choose to templatize the scalers for 555/565 mode optimizations) svn-id: r10451
2003-09-27cheak doxygen commentsMax Horn
svn-id: r10448
2003-09-27Fixed template function compile quirks under MSVC6.Jamieson Christian
Apparently MSVC6 does not like overloading of template functions when the template arguments vary between versions of the overloaded function. I replaced interpolate16 with functions that have two different names, so MSVC6 won't see them as being the same function with [it insists] the same number of template arguments. svn-id: r10446
2003-09-27added hq2x scaler (no, I am not going to add hq4x anytime soon. It would be ↵Max Horn
another 4-5000 lines of code, and scaler.cpp already takes far too long to compile. Maybe we should seperate the scalers into several files in common/scaler/ ?) svn-id: r10438
2003-09-27added a FIXME (regarding optimization) to INTERPOLATE; added new template ↵Max Horn
function interpolate16 which is used by hq3x (advantage of the old trick which abused Q_INTERPOLATE: smaller & better optimized code; very easy to adapt the function for other uses, like for hq2x/hq3x. Drawback: scaler.cpp takes even longer to compile now :-) svn-id: r10433
2003-09-27OSystem changes: removed create_thread() method (not needed anymore; 'pure' ↵Max Horn
threads aren't very portable anyway, better we only use timers); introduced OSystem::TimerProc type svn-id: r10430
2003-09-24Add Acorn version of Simon the Sorcerer 1 TalkieTravis Howell
svn-id: r10389
2003-09-22use our own ABS instead of the math.h abs(); some tweaksMax Horn
svn-id: r10363
2003-09-21added WRITE_LE/BE_16/32 functions to match our current READ_ funcs - useful ↵Max Horn
in some places svn-id: r10358
2003-09-21fixed InitLUTs for 555 mode; some tweaksMax Horn
svn-id: r10354
2003-09-21Made Ctrl-Alt 9 the hotkey for the new hq3x scaler, and moved the scanlinesTorbjörn Andersson
and dotmatrix ones to Ctrl-Alt C and Ctrl-Alt-D. (Does anyone else feel that scanlines and dotmatrix should either be rewritten so that they can be combined with any scaler and aspect ratio correction, or removed? That's why I moved them off the Ctrl-Alt <digit> hotkeys.) svn-id: r10353
2003-09-21Applied ScummVM formatting conventionsTorbjörn Andersson
svn-id: r10349
2003-09-21added HQ3x filterMax Horn
svn-id: r10346
2003-09-20added explicit virtual destructor; added API which makes it potentially ↵Max Horn
possible to have an overlay with a different size than than the 'normal' screen (e.g. if the game runs at 320x200 and a 2x scaler runs, the overlay could be made 640x400 big, if the backend supports that) svn-id: r10326
2003-09-18disable the custom operator 'new' on Mac OS X, as it cause multiple ↵Max Horn
definition linker error when building ScummVM with loadable modules svn-id: r10303
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-17cleanupMax Horn
svn-id: r10284
2003-09-17new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there ↵Max Horn
(this removes the need for an ugly hack in the build system, and is also conceptionally cleaner) svn-id: r10282
2003-09-17some tweaks to the build system (work toward plugin support)Max Horn
svn-id: r10279