Search found 3 matches

by KG_Brad
Tue Mar 18, 2008 8:54 am
Forum: Programming Discussion
Topic: Segmentation Fault?
Replies: 5
Views: 920

Yeah, sorry about that. I posted this when I was very tired so I didn't even think to post more info. I solved it, though.
by KG_Brad
Mon Mar 17, 2008 9:56 pm
Forum: Programming Discussion
Topic: Segmentation Fault?
Replies: 5
Views: 920

I solved the problem. You can close this if you want...

Thanks, anyway, though! I'll keep that bit of knowlege for future reference.
by KG_Brad
Sun Mar 16, 2008 10:28 pm
Forum: Programming Discussion
Topic: Segmentation Fault?
Replies: 5
Views: 920

Segmentation Fault?

Hi, I'm rewriting the 2D rendering engine for my Action-RPG and I just ran into a pretty tough segmentation fault. int render_tile(int x,int y,BITMAP *img) { draw_sprite(scroll,img,x,y); return 0; } int render_map(int mapnum) { int i,t; int tilecount; for (i=0;i<MAXWIDTH;++i) { for (t=0;t<MAXHEIGHT;...