Re: GGI game programming
Andreas Beck wrote: 60% is quite extreme. With a normal texture JPEG compression ratios should ... ratios is very good. And with 90% finding artifacts is quite hard. Load the image into GIMP, do a HSV split, look at the S and H components ... ouch. Ok. But do the texturing engines do a HSV split? Otherwise that argument is a bit academic... Christian -- Drive A: not responding...Formatting C: instead
Re: Idea: Form for bug reports ?
[EMAIL PROTECTED] wrote: - snip - LibGGI - Bug report form 1. General questions: 1.a) What platform are you using ? [ ] Linux [ ] Solaris [ ] Irix [ ] *BSD [ ] other Unix: [ ] other (like Win, OS/2,...): _ Hardware platform is also important. There might be issues caused by unsuspected int sizes and endianness. Evt. system libraries (libc version etc) might be interesting. Please give the error messages from the configure/make/make install commands. ^^^ I had some problems interpreting this correctly on first reading. "configure" / "make" / "make install" is clearer. Christian -- Drive A: not responding...Formatting C: instead
Status?
Some time ago there was talk about a new libggi (beta) release. What has happened to that? I mean, keeping track of KGI development is really easy with the detailed status reports from Steffen and Jon, but it's been rather quiet regarding libggi lately. What's left to do for the next release? What is being done? What's left to do before 1.0? Christian -- Drive A: not responding...Formatting C: instead
Re: acquire
Marcus Sundberg wrote: const ggi_directbuffer *dbuf; /* Acquire DirectBuffer before we use it. */ if (ggiResourceAcquire(dbuf-resource, GGI_ACTYPE_WRITE) != 0) { fail("Error acquiring DirectBuffer\n"); } this cannot work. if ggi_directbuffer is const, and ggiResourceAcquire wants a non-const ggi_resource_t my compiler kicks me. What compiler is that? Sounds like a broken compiler to me. dbuf-resource is a pointer, and the fact that dbuf is a const * shouldn't affect the type of dbuf-resource afaik. dbuf is a pointer to a const ggi_directbuffer, i.e. it is not allowed to modify the contents of the object *it points to*. That means it's illegal to change the value of dbuf-resource Christian -- Drive A: not responding...Formatting C: instead
Re: file-target
teunis wrote: Why don't you just use a file-stream and leave buffering to the libc ? It's handy for overriding to read from sources -other- than files? :) (ie: network connections [okay poor example], messaging systems *giggle*, WWW connections preformatted files ie embedded WWW or gzipped... :) Seconded. But normal stdio access needs to be supported (as default), as otherwise "normal" usage would be unneccessarily complicated. Oh yeah, and you can support 64bit access too. For files 2GB in size :) If stdio the underlying FS don't support 64bit access, then it doesn't make much sense to use it anyway. After all, where do you want to store these 2GB? ;) +/* FIXME: compiler fails on using this with: "sizeof applied to an incomplete type" */ +#define NUM_FILE_TYPES(sizeof(file_type) / sizeof(struct file_type_op_t)) You need to have a complete prototype for file_type_op_t included before you can use sizeof. Unless it's a (void*) which is how I normally HANDLE it *giggle* but sizeof (void *) isn't exactly what he wants here ;) Christian -- Daddy what does "FORMATING DRIVE C" mean?
Re: MPEG in GGI?
Andreas Beck wrote: Maybe could be done with 'extern "C" {' ? Probably, if the callable functions don't use C++-Features, that should work. *In* these functions you can use C++ features to you heart's content, as long as the function's signature looks C-ish (i.e. you don't pass objects etc). Christian -- Christian Reiniger Coordinator/Coder, PenguinPlay (http://sunsite.auc.dk/penguinplay/) Coordinator, LGDC(http://sunsite.auc.dk/lgdc/) Error: Windows not found - (C)heer (P)arty (D)ance
Re: Ping...
Marcus Sundberg wrote: Just testing if the list is still working... Pong. And to raise the spirits (read: traffic ;) a bit, have a look at http://www.zocks.de/cgi-bin/newspro/viewnews.cgi?newsid957723259,93011, It's an interview with the Tribsoft developers. They say they're using libggi for their Linux port of Jagged Alliance 2 Christian -- Christian Reiniger Coordinator/Coder, PenguinPlay (http://sunsite.auc.dk/penguinplay/) Coordinator, LGDC(http://sunsite.auc.dk/lgdc/) ...1000100011010101101010110100111010113...