aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2003-10-17added russian as a language (part of patch #823031, adapted to recent code ↵Max Horn
changes) svn-id: r10878
2003-10-17renamed some Timer methodsMax Horn
svn-id: r10868
2003-10-17proper fix for COMI timer issue: don't let a Timer remove itselfMax Horn
svn-id: r10867
2003-10-17moved platform/language constants to common/util.*Max Horn
svn-id: r10862
2003-10-17fix (workaround) for bug #825331Max Horn
svn-id: r10853
2003-10-17COMI crashes because for some reasons we get a 0 timer interval. not sure ↵Max Horn
how that is possible, but adding some asserts for now svn-id: r10852
2003-10-17added push_back method with List arg (append one list to another one ↵Max Horn
efficiently) svn-id: r10850
2003-10-16add method to set the xor byte in the file class. Needed as the combined mac ↵Jonathan Gray
data files are only xor'd in the resource files, not the parts of the combined file svn-id: r10825
2003-10-14improved timer resolution -> this helps iMuse *a lot* on my system when ↵Max Horn
there is load svn-id: r10804
2003-10-14Turn off another annoying MSVC warningJamieson Christian
svn-id: r10803
2003-10-14init RNG for everybody using time()Max Horn
svn-id: r10796
2003-10-12EVC : compile differentNicolas Bacca
svn-id: r10744
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