Commit Graph

81 Commits

Author SHA1 Message Date
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Max Horn
583ae61453 export language list (so that it can be used by the GUI); added methods to convert a Platform/Language ID into a canonical string
svn-id: r11141
2003-11-05 00:58:02 +00:00
Gregory Montoir
3e267ba5f9 make doxygen happy
svn-id: r11030
2003-11-01 20:44:53 +00:00
Max Horn
f5a7c67191 added russian as a language (part of patch #823031, adapted to recent code changes)
svn-id: r10878
2003-10-17 18:52:15 +00:00
Max Horn
a70460833e moved platform/language constants to common/util.*
svn-id: r10862
2003-10-17 15:35:46 +00:00
Max Horn
0aa58f53c8 init RNG for everybody using time()
svn-id: r10796
2003-10-14 10:24:27 +00:00
Max Horn
d4734bd4f2 use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
svn-id: r10592
2003-10-04 11:50:21 +00:00
Max Horn
110152ddcf moved declaration of error/warning/debug from engine.h to util.h
svn-id: r10149
2003-09-10 12:15:51 +00:00
Max Horn
0df319e952 #include cleanup (explicityl specify the location for headers from common/, 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-08-01 12:21:04 +00:00
Max Horn
ce9d154957 fixed stack lock at startup
svn-id: r8779
2003-07-05 15:28:28 +00:00
Max Horn
d098334fe6 updated code to use type MutexRef; added class StackLock (from sdl backend, now in util.*)
svn-id: r8777
2003-07-05 15:19:11 +00:00
Max Horn
a4edad02b6 cleanup
svn-id: r8480
2003-06-14 18:15:14 +00:00
Bertrand Augereau
91a3d553e4 unmacro-ed and templated ABS, MIN & MAX
svn-id: r8311
2003-06-05 03:28:35 +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
24005adfd0 pedantic fixes
svn-id: r7789
2003-05-21 16:59:51 +00:00
Max Horn
a5607d3fa2 make ARRAYSIZE 'return' an int
svn-id: r7618
2003-05-17 23:36:47 +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
4ba32812aa hexdump defaults to 16 bytes/line now, and prints an offest
svn-id: r7317
2003-05-04 13:46:06 +00:00
Max Horn
c1b38d64ed make hexdump width variable
svn-id: r7269
2003-05-02 21:29:05 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
6ce098172f next pedantic cleanup code
svn-id: r6714
2003-03-06 16:27:06 +00:00
Max Horn
ae5b30df3d get rid of getStringLen and use the more powerful resStrLen instead; moved 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-28 01:57:19 +00:00
Max Horn
4bf96d1c8b changed OSystem to allow RBG<->16bit color conversion to be done in the 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-13 16:15:58 +00:00
Oliver Kiehl
133f624cc5 moved RNG to common/util.cpp
svn-id: r5778
2002-12-01 14:57:50 +00:00
Peter Moraliyski
c0c5fc274f gp32 port stuff
svn-id: r5761
2002-11-30 16:03:46 +00:00
Max Horn
64195315e2 inline function instead of macro for SWAP, to make -Wshadow more useful
svn-id: r5263
2002-10-22 23:36:28 +00:00
Max Horn
f644bea112 improved the text display in a newgui a bit: make the font proportiona; 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-19 17:03:24 +00:00
Jonathan Gray
9ce78dd66e apply patch #609508 real fix for MI2 Dialog Box crash, by CCCP at Endy's request
svn-id: r4943
2002-09-15 09:06:58 +00:00
Max Horn
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Max Horn
ec47d8c80c fixed some endian issues in the new SMUSH decoder; cleanup
svn-id: r4842
2002-08-25 10:50:18 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00