Search found 499 matches

by voodooattack
May 16, 2006 16:53
Forum: Projects
Topic: Space Fight AI Tournament Idea
Replies: 240
Views: 31336

hmm..just found a fatal weakpoint in 1000101's code..

the bot will never see you if you don't move :)

switch to usercontrol and test it.. it will, however, dodge bullets, but never shoot at you :D
by voodooattack
May 13, 2006 12:02
Forum: Windows
Topic: Delay loading DLLs anyone?
Replies: 5
Views: 1446

No idea either, if LD supports that in Linux, i guess there's some way to do the same in Windows - while applications like Firefox don't appear to use that in Windows (dunno if its built with Mingw). The ___FB_CTOR_'s were removed in 0.16, but without the C++ constructors list been called, module-l...
by voodooattack
May 12, 2006 10:30
Forum: Windows
Topic: Delay loading DLLs anyone?
Replies: 5
Views: 1446

are you talking about specifying WHEN the dll is loaded? if so you could try the dylib* commands i.e. dylibload, dylibsymbol... theres some more too that i cant remember well that's kinda correct, but in a different way.. the loading/unloadaing is managed by linker generated code... this means that...
by voodooattack
May 11, 2006 8:31
Forum: Beginners
Topic: ubyte array to string
Replies: 9
Views: 1621

mmm... nice work there cha0s!! i think that would allow for runtime data creation, having something like this sounds awesome: Dim mystr As String PTR Dim addr As Any PTR addr = Allocate(30) mystr = New String(addr,4) '(address, initial size) *mystr = "1234" 'ok *mys...
by voodooattack
May 11, 2006 8:18
Forum: Windows
Topic: Delay loading DLLs anyone?
Replies: 5
Views: 1446

Delay loading DLLs anyone?

Can FB support delay-load modules? I've actually tried to find any topic about this in the gnu linker "ld"'s manual.. no trace of such thing.. :( even when i try to link using the Visual Studio linker to add delay loading, i've gone through the pain of linking to gnu (libgcc/mingw32) stuff, yet, aft...
by voodooattack
May 08, 2006 13:57
Forum: General
Topic: Memory Usage
Replies: 5
Views: 1434

hi :) I'm very interested in the topic my self.. you might want to check this out: http://www.ventrella.com/GenePool/gene_pool.html a very small app, yet really complex/amazing :D Gene Pool is an artificial life simulation in which populations of physics-based organisms evolve swimming capabilities ...
by voodooattack
May 06, 2006 18:52
Forum: Libraries
Topic: SpiderMonkey (Javascript embedded interpreter)
Replies: 2
Views: 3209

wow v1c, you continue to impress me :) btw, it works under .15b just had to change "jscompat.bi" to: #ifndef intN type intN as JSIntn #endif #ifndef uintN type uintN as JSUintn #endif #ifndef jsuword type jsuword as JSUword #endif #ifndef jsword type jsword as JSWord #endif #ifndef float32 type floa...
by voodooattack
May 06, 2006 18:00
Forum: Projects
Topic: Pload()
Replies: 83
Views: 24144

Yeah, looks like the zlib one is the best choice. The code that voodoo was testing was different aswell, as i recoded it a bit. The strange bit for me was that the old code did seem faster even though it did some (seemingly) inefficent things. This may be down to pipeline/cache/alignment stuff whic...
by voodooattack
May 06, 2006 16:30
Forum: Projects
Topic: Pload()
Replies: 83
Views: 24144

probably because of the available physical memory :) the larger the buffer the more it'll be swapped to/from the pagefile, at smaller buffer sizes, this doesn't make a big difference, but, if the buffer goes larger, swapping is necessary and this slows down execution.. and this is where the asm code...
by voodooattack
May 06, 2006 15:16
Forum: General
Topic: Shouldn't this be allowed?
Replies: 18
Views: 2316

Don't you just hate temp buffers? #define GetMouseV(V) GetMouse(byval @V.X, byval @V.Y): V.X = cint(*cast(integer ptr,@V.X)) : V.Y = cint(*cast(integer ptr,@V.Y)) Type Vector2D As Single X,Y End Type screen 18 dim x1 as integer dim y1 as integer dim Mo...
by voodooattack
May 06, 2006 14:23
Forum: Projects
Topic: Pload()
Replies: 83
Views: 24144

I agree with counting_pine about using the crc32 from zlib (although i didn't!), if you're relying on zlib anyway for uncompress, you may as well use their crc function. I'm not sure but it will probably be faster aswell (although its probably a tiny difference most of the time). I converted my one...
by voodooattack
May 05, 2006 12:49
Forum: Windows
Topic: SpiderMonkey in FB
Replies: 11
Views: 2104

Hi! :) I've just got the source and managed to build it.. looks neat.. the only prob is.. the headers are totally f**ked up.. :( here's a small example: JS_BEGIN_EXTERN_C /* * Type tags stored in the low bits of a jsval. */ #define JSVAL_OBJECT 0x0 /* untagged reference to object */ #define JSVAL_IN...
by voodooattack
May 04, 2006 12:43
Forum: Windows
Topic: Windows and such....
Replies: 3
Views: 1206

Hi there! and welcome to the community :)

creating a GUI requires using the Windows APIs...

(there's no standard FB method to build a GUI..

a good suggestion would be checking the examples in "/examples/windows/gui/" inside your FB directory.. :-)
by voodooattack
May 04, 2006 12:37
Forum: General
Topic: Possible line bug?
Replies: 8
Views: 930

hmm yeah.. i can see weird pixel distortion along the lines.. strange... however if you leave a single LINE statement from the code below and comment the rest, it simply disappears.. 'LINE (x1, y1)-(x2, y2), Vector(I).Clr 'LINE (x2, y2)-(x3, y3), Vector(I&...
by voodooattack
May 04, 2006 10:44
Forum: Libraries
Topic: libIrcClient
Replies: 25
Views: 12422

works very well v1c... :-)

I've fixed the includes.. should work fine now.

Go to advanced search