-
Hi, I need to develop a driver for a custom device for a project at work, but I have no experience with USB, and I don't have the time to study the specification. So by reading some tutorials and examples, I came up with this code, which causes a nonsense error in Windows (Out of Memory!? WTF!?), but a different error in Linux (Inappropriate ioctl), which I don't know how to cope with.
This is...
2006-11-10 11:00:01 UTC in libusb-win32
-
Logged In: YES
user_id=1404243
I forgot to say I'm using atanks version 1.1.0.
2006-10-22 21:44:23 UTC in Atomic Tanks
-
Logged In: YES
user_id=1404243
I encountered the same problem. Replacing the three abs with
fabs did the job for me too. I also get a bunch of warning
about using allegro features which are now deprecated.
OS: Kubuntu 6.06 Dapper
g++ version: g++ (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
allegro version: 4.2.0.
2006-10-22 21:40:50 UTC in Atomic Tanks
-
Logged In: YES
user_id=1404243
Same problem with me.
2006-10-22 13:26:26 UTC in S.C.O.U.R.G.E.: Heroes of Lesser Renown
-
Logged In: YES
user_id=1404243
I will try to see if there's some software configuration
problem. Can you recommend me some other sdl application
which may be useful to see if it causes the same problems?
Though iI really don't know what may be the problem,
glxgears runs @ 1000 fps, but I suppose glxgears is not much
related to 2D graphics performances...
2006-10-11 15:18:13 UTC in Pang Zero
-
Logged In: YES
user_id=1404243
I'm happy for you! I couldn't manage to get it to run on my
computer! Maybe that's because I used precompiled packages
instead of the source distribution...
Anyway, if you try googling, you'll find at least a couple
cairo-based games. Here are some:
http://web.mit.edu/xiphmont/Public/gPlanarity.html
(I can't run it, but the pics are nice)
Inside the...
2006-10-11 15:05:15 UTC in Pang Zero
-
Logged In: YES
user_id=1404243
I still consider the problem related to cpu usage. The
Windows version is faster on my machine (usually 80fps), but
when the screen is crowdy, it can reach lows of 20fps. In
Linux the limits are around 20fps lower, so this explains
the hiccups.
I must point out that the Celeron is a shitty processor, in
my opinion, but I don't know what's your preferred...
2006-10-11 13:32:18 UTC in Pang Zero
-
Logged In: YES
user_id=1404243
Yeah, it's true. Balls in version 0.15 are nicer, but what I
feel is missing is border antialiasing. Are you using alpha
bleding to draw the objects over the background?
For the cairo example, now I'm a bit in a hurry. Try this
for now:
http://log.emmanuelebassi.net/archives/2005/12/fun-with-cairo-perl/.
2006-10-09 12:54:46 UTC in Pang Zero
-
Logged In: YES
user_id=1404243
Yes, vector graphics would be very cool. I suggest taking a
look also at cairo-perl.
2006-10-08 11:39:14 UTC in Pang Zero
-
Logged In: YES
user_id=1404243
Sorry for the lack of information, after playing for some
more time I noticed also that indeed it's not so similar to
the original, I especially appreciated the earthquake ball!
But let's get back to the frame rate issue. I am pretty
confident it is caused by cpu usage, as the kde system
monitor displays 100% cpu usage when I play the game. Frame
rate...
2006-10-05 14:41:36 UTC in Pang Zero