aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
AgeCommit message (Collapse)Author
2003-09-10moved declaration of error/warning/debug from engine.h to util.hMax Horn
svn-id: r10149
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-05fixed stack lock at startupMax Horn
svn-id: r8779
2003-07-05updated code to use type MutexRef; added class StackLock (from sdl backend, ↵Max Horn
now in util.*) svn-id: r8777
2003-06-14cleanupMax Horn
svn-id: r8480
2003-06-05unmacro-ed and templated ABS, MIN & MAXBertrand Augereau
svn-id: r8311
2003-05-29added some doxygen (javadoc style) comments. yes I sure these function ↵Max Horn
probably needed documentation the least, but I just wanted something simple to test this on :-) svn-id: r8094
2003-05-21pedantic fixesMax Horn
svn-id: r7789
2003-05-17make ARRAYSIZE 'return' an intMax Horn
svn-id: r7618
2003-05-15make SWAP a template function, so that it works for swapping non-int stuff, ↵Max Horn
too; 'int16' should be sufficient for points/rects svn-id: r7540
2003-05-04hexdump defaults to 16 bytes/line now, and prints an offestMax Horn
svn-id: r7317
2003-05-02make hexdump width variableMax Horn
svn-id: r7269
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06next pedantic cleanup codePaweł Kołodziejski
svn-id: r6714
2002-12-28get rid of getStringLen and use the more powerful resStrLen instead; moved ↵Max Horn
resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing svn-id: r6215
2002-12-13changed OSystem to allow RBG<->16bit color conversion to be done in the ↵Max Horn
backend; after all, the backend 'knows' best what format the overlay uses. Default implementations of RBGToColor and colorToRBG assume 565 mode, backends other than SDL may want to provide alternate implementations (SDL backend already does the right thing for non-565 modes) svn-id: r5931
2002-12-01moved RNG to common/util.cppOliver Kiehl
svn-id: r5778
2002-11-30gp32 port stuffPeter Moraliyski
svn-id: r5761
2002-10-22inline function instead of macro for SWAP, to make -Wshadow more usefulMax Horn
svn-id: r5263
2002-09-19improved the text display in a newgui a bit: make the font proportiona; ↵Max Horn
implemented text alignment (left/right/center); alpha blending now not anymore at 50% but at 66%; moved some #defines to util.h svn-id: r4972
2002-09-15apply patch #609508 real fix for MI2 Dialog Box crash, by CCCP at Endy's requestJonathan Gray
svn-id: r4943
2002-09-08rewrote config class; cleanup; code restructuringMax Horn
svn-id: r4903
2002-08-25fixed some endian issues in the new SMUSH decoder; cleanupMax Horn
svn-id: r4842
2002-08-21Initial revisionMax Horn
svn-id: r4785