Cool!!
Still crashed though. In the tutorial mode when the character is supposed to do a rage.
Probably an out of bounds pointer access. Are you using a custom additive blend function?
I know you use allegro(based on the DLL) so I guess it's safe to assume you used a special function to blend and pass the function pointer to allegro.
Tried something like this?
r = pixel >> 16;
g = pixel >> 8 & 255;
b = pixel & 255;
pixel2 = buffer[x * SCR_WIDTH + y];
nr = pixel2 >> 16;
ng = pixel2 >> 8 & 255;
nb = pixel2 & 255;
r = (r + nr);
if (r > 255) r = 255;
g = (g + ng);
if (g > 255) g = 255;
b = (b + nb);
if (b > 255) b = 255;
buffer[x * SCR_WIDTH + y] = r << 16 | g << 8 | b;
Or an ASSERT() for debugging purposes?
If all else fails you prolly should use a debugger like GDB(via insight).
BTW, nice engine!!! Loved the style!!!!
[Edit]
It's definitely the additive blending funk. I disabled it and it ran awesome!!!!
Man this thing is hard! The bullets doesn't follow a straight trajectory.
Great job!!!! Nice music too!