« first day (2798 days earlier)      last day (1054 days later) » 

10:53
1
Q: Resizing a BMP image (making it smaller)

SaintSammyIt seems I need some help with resizing the BMP image when the zoom factor is less than 1. You can see the most crucial part of my code below. The variable f in the code is the zoom factor. It seems logical to me but it works improperly. - this is the image I need to resize (to make it even smal...

 
2 hours later…
12:44
Still not dead
whats everyone up to?
im about to switch jobs
 
3 hours later…
16:06
@Micrified woa, where to? :}
 
2 hours later…
17:39
is this the proper way to "do nothing"?

int sum(int a, int b) {
#if DO_NOTHING
#else
    return a + b;
#endif
}
17:58
Alternatively,

int sum(int a, int b)
{
#ifndef DO_NOTHING
return a + b;
#endif
}
0
Q: Efficient way to port WaveOut API (using OpenAL?)

Z0qIn the past years I used my own audio engine written using the WaveOutOpen API. Now I would like to port it to Linux / MacOS. I thought about using OpenAL. What would be an efficient way to port this to Linux without changing too much code? I'm mixing the audio data from WAV files and apply effec...


« first day (2798 days earlier)      last day (1054 days later) »