aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2003-09-17added a static method setDefaultDirectory to class File; used this to ↵Max Horn
simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes svn-id: r10278
2003-09-17delete name only after closing the fileMax Horn
svn-id: r10270
2003-09-11added time.h and math.h to default/precompiled headersMax Horn
svn-id: r10168
2003-09-10added refCon parameter to timer classMax Horn
svn-id: r10156
2003-09-10moved declaration of error/warning/debug from engine.h to util.hMax Horn
svn-id: r10149
2003-09-08fixed circular dependency; moved version string to main.cpp (seems more ↵Max Horn
logical to me, too) svn-id: r10105
2003-09-08changes to get a better link order, and to allow building a 'bare bone' ↵Max Horn
scummvm executable svn-id: r10103
2003-09-08fixed disabling of modulesMax Horn
svn-id: r10102
2003-09-08got rid of version_settingsMax Horn
svn-id: r10101
2003-09-08more plugin related workMax Horn
svn-id: r10098
2003-09-08renamed VersionSettings -> TargetSettings and also renamed some of its ↵Max Horn
members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code svn-id: r10092
2003-09-08Some files are located in a different folder in Atari-ST version of ZakChris Apers
svn-id: r10087
2003-09-06removed superfluous newlineMax Horn
svn-id: r10050
2003-09-06added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGuiMax Horn
svn-id: r10047
2003-09-06avoid accidental copying of MapMax Horn
svn-id: r10044
2003-09-06Fix debug level, only > 1 should be valid.Travis Howell
svn-id: r10039