Llama on 10/12/2011 at 12:43
This thread has become Ir0NiXdark's personal blog
Al_B on 10/12/2011 at 13:44
Quote Posted by Ir0NiXdark
only post your smart an short pieces of code here, and I will try my best, to make your code part of shockcfg.
Code:
int countbits(int x)
{
int nb=0;
while(x) {nb++; x&=x-1;}
return nb;
}
Kolya on 10/12/2011 at 19:29
It gives back the same value you throw at it?
@Llama: It says "Blog" in the title, so no doubt about it. We're all just guests in Ir0NiX land.
Al_B on 10/12/2011 at 23:21
It shouldn't do - it should give you the number of bits set in the number passed into it. Definitely not my code originally, I just like it because the computation time is directly related to the number of bits set rather than the size of the integer.
(No idea how Ir0NiXdark will incorporate it into ShockCfg but I think that's not really the point)
Cyberpunkgothic1 on 11/12/2011 at 00:16
Kolya, this is only a thread! give it a better name! ;D
Al_B, this way this timer does nothing, it needs a number...
Llama, I think this was very reasonable. thank you.
I brought the last 2 versions back. hope they become visible tonight! :D
Cyberpunkgothic1 on 15/12/2011 at 20:24
del-key
Cyberpunkgothic1 on 16/12/2011 at 03:50
del-key
Cyberpunkgothic1 on 19/12/2011 at 04:41
right after two times deleting, I set now version 3.02.38 back online.
if someone needs an older version, tell me please!
next version will be 3.02.39, within I hope I can do all code clean-ups.
please help me to do this. I really can not find alone all the bug, or what else.
version 3.03.01 will come with a new interface. for this version I would really apprechiate if one or more will set up the citadell version and interface-console(system shock). and also it would be greatfull if someone or more will set up the rapture 3D interface and shockcfg-part for (bioshock).
hope to hear from you.
Cyberpunkgothic1 on 22/12/2011 at 04:20
First I have to say, that I have heared a voice, saying green comes before black, an this is true! but the best practice is to set the backgroundcolor before the froegroundcolor. I'm sorry for that!
I will from now on ever use odd version numbers in the last position, because I have to do all the work alone, and more even there isn't the posibilty of a perfect program!
Citadell will remain as it is in version 3.02.35. Citadell is free to someone to do his or her own view of ShockCfg and a Shock-Game.