Results for "Author: jimcamel"
Just a simple program which uses the FileSystemObject and Recursion to output a complete directory/file structure of your computer to a file. I was originally gonna use this as a sort of snooping thing a while ago, you could run it on someones computer, and then read the text file to see what they had on their computers. The text files come out quite large, but when zipped up they're usually only about 50k. Uses a good example of recursion.
Rotates an image in a picture box. The code is fairly well commented, and may be of some use to someone out there.
For some reason about a month ago I felt this urge to suddenly start playing Ultima 8 again. For those of you who don't know, Ultima 8 is one of the Ultima series of games (most recently Ultima Online), which was a Dos game around in 1994/1995. Anyways, this program allows you to view the graphics (or some of them at least, it seems to have problems decoding some files) which come with it. I got the format from http://members.iinet.net.au/~garydep/ultima8.html, and there is some other borrowed code in here. Oh yeah, this program is essentially useless if you don't have Ultima 8, unless you feel like reading the well commented code to get a better understanding of low level file reading.
I had to write some sorting algorithms in Java for an algorithms assignment I had. I got a good mark for the assignment (95%) and didn't want to just trash the algorithms, so I re-wrote in VB encapsulated in easy to use class modules. Included is insertsort, quicksort, mergesort, heapsort and radixsort
This code is provides a Win32 environment for the editing of Duke Nukem 3D GRP files (which stores all the levels/sounds/gfx for the game). I wrote it in a couple of days, it seems to work fine. It demonstrations some pretty basic file editing. Worth a look
A while ago I posted some source code which allowed the loading of animated gifs into directx. A while later I wrote some code which allowed alpha blending in directx. Today, I rewrote the alpha blending code to use getlockedarray instead of pixel, which quite significantly sped the alpha blending up, and combined these 2 codes into 1. I average around 26fps without alphablending, and 24-25 with, which I think is a pretty good number, given that this is 100% vb :). If anyone find any problems or has any ideas, feel free to email me. Jim