diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-26 14:21:39 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-26 14:21:39 +0000 |
commit | 6d29b471df7c0f53ba4ab786f2f4b80bc154ed0d (patch) | |
tree | 8b73ab560171fce81587f09891c7346580149139 /src/graphic/graphic.cpp | |
parent | 0f26f569f5775c77c53e1ebf0b9d5ec972bc31cc (diff) | |
download | mana-client-6d29b471df7c0f53ba4ab786f2f4b80bc154ed0d.tar.gz mana-client-6d29b471df7c0f53ba4ab786f2f4b80bc154ed0d.tar.bz2 mana-client-6d29b471df7c0f53ba4ab786f2f4b80bc154ed0d.tar.xz mana-client-6d29b471df7c0f53ba4ab786f2f4b80bc154ed0d.zip |
*** empty log message ***
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r-- | src/graphic/graphic.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 575f6b3e..02848d7e 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -140,7 +140,7 @@ void do_graphic(void) { if(get_tile(i+camera_x, j+camera_y, 1)!=0)draw_rle_sprite(buffer, (RLE_SPRITE *)tileset[get_tile(i+camera_x, j+camera_y, 1)].dat, i*16-offset_x, j*16-offset_y); } - NODE *node = get_head(); + /*NODE *node = get_head(); NODE *old_node = NULL; while(node) { if((node->job>=100)&&(node->job<=110)) { // Draw a NPC @@ -171,7 +171,7 @@ void do_graphic(void) { } else if(node->job==45) { // Draw a warp //rectfill(buffer, (get_x(node->coordinates)-map_x)*16-player_x-get_x_offset(node->frame, get_direction(node->coordinates)), (get_y(node->coordinates)-map_y)*16-player_y-get_y_offset(node->frame, get_direction(node->coordinates)), (get_x(node->coordinates)-map_x)*16-player_x-get_x_offset(node->frame, get_direction(node->coordinates))+16, (get_y(node->coordinates)-map_y)*16-player_y-get_y_offset(node->frame, get_direction(node->coordinates))+16, makecol(0,0,255)); - } else { // Draw a monster + }/* else { // Draw a monster node->text_x = (get_x(node->coordinates)-camera_x)*16-20+get_x_offset(node)-offset_x; node->text_y = (get_y(node->coordinates)-camera_y)*16-25+get_y_offset(node)-offset_y; @@ -194,12 +194,12 @@ void do_graphic(void) { } } } - } - old_node = node; + }*/ + /* old_node = node; node = node->next; if(old_node->action==MONSTER_DEAD && old_node->frame>=4) remove_node(old_node->id); - } + }*/ /*for(int j=0;j<20;j++) for(int i=0;i<26;i++) { |