Search found 3 matches
- Tue Mar 18, 2008 8:54 am
- Forum: Programming Discussion
- Topic: Segmentation Fault?
- Replies: 5
- Views: 920
- Mon Mar 17, 2008 9:56 pm
- Forum: Programming Discussion
- Topic: Segmentation Fault?
- Replies: 5
- Views: 920
- 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;...