Recently after sending a program I made in BGI to Zero, he noticed a small memory leak with my program. Ok it was a very large one, eating up over 50 mb in about 3 (out of 30) levels in my game. It continued to just keep getting higher. On my machine it hit about 200 mb of usage and then hovered. Opon finding the error was not with my work but with the winbgim library its self, I managed to fix the error on my machine. I highly suggest to anybody running the BGI interface for Dev to check your mem usage. I know you will be as surprised as I was after it eats all your RAM. I have posted the fixed files on my FTP so you can update your files. Since I do not know how to make a dev-pack, I have sent the files to Zero so he can add them. They should then be on vUpdate in a few days. If not you can get them at ftp://Dev:Bloodshed@curtis.servebeer.com/New_BGI_Files
Put the libbgi.a file in your lib folder and the winbgim.cpp file in your include folder. Then recompile your program and watch teh mem usage this time. Please note that this was a *very* odd ball error, and although I have tested it with my computers running Win2K and Win XP (without errors) I can not garrentee the expected results on your computer. It is *highly* recomended that you back-up your old files first. If you have any problems I would like you to e-mail me at curtis8@hotmail.com so I know about it.
I will also be sending the files to http://www.cs.colorado.edu/~main/bgi/ so they can update as well.
Curtis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does any one know how to put a .bmp file into the BGI? This would be very useful to me since I currently have to draw everything pxl-pxl at run-time. I have tried google and such, also have been trying a different approach with Zero's help but with no success.
Curtis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have success!!! After loads of hard work by Zero and me, (mostly Zero) he has gotten BGI graphics to accept .bmp files. Now my games in BGI can look cool since I don't have the head-ache of hardcoding every pxl. Thank-you very much Zero. Now all we need is to get the resource files to work... then I don't have 20 some file .exe's ;)
Curtis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Recently after sending a program I made in BGI to Zero, he noticed a small memory leak with my program. Ok it was a very large one, eating up over 50 mb in about 3 (out of 30) levels in my game. It continued to just keep getting higher. On my machine it hit about 200 mb of usage and then hovered. Opon finding the error was not with my work but with the winbgim library its self, I managed to fix the error on my machine. I highly suggest to anybody running the BGI interface for Dev to check your mem usage. I know you will be as surprised as I was after it eats all your RAM. I have posted the fixed files on my FTP so you can update your files. Since I do not know how to make a dev-pack, I have sent the files to Zero so he can add them. They should then be on vUpdate in a few days. If not you can get them at ftp://Dev:Bloodshed@curtis.servebeer.com/New_BGI_Files
Put the libbgi.a file in your lib folder and the winbgim.cpp file in your include folder. Then recompile your program and watch teh mem usage this time. Please note that this was a *very* odd ball error, and although I have tested it with my computers running Win2K and Win XP (without errors) I can not garrentee the expected results on your computer. It is *highly* recomended that you back-up your old files first. If you have any problems I would like you to e-mail me at curtis8@hotmail.com so I know about it.
I will also be sending the files to http://www.cs.colorado.edu/~main/bgi/ so they can update as well.
Curtis
Does any one know how to put a .bmp file into the BGI? This would be very useful to me since I currently have to draw everything pxl-pxl at run-time. I have tried google and such, also have been trying a different approach with Zero's help but with no success.
Curtis
We have success!!! After loads of hard work by Zero and me, (mostly Zero) he has gotten BGI graphics to accept .bmp files. Now my games in BGI can look cool since I don't have the head-ache of hardcoding every pxl. Thank-you very much Zero. Now all we need is to get the resource files to work... then I don't have 20 some file .exe's ;)
Curtis