Changeset 1022

Show
Ignore:
Timestamp:
10/03/08 01:43:26 (3 months ago)
Author:
shanoah
Message:

Bring the gtk port up to date with the state changes made in revision 999

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/gtk/main-gtk.c

    r985 r1022  
    25572557                for (i = A_STR; i <= A_CHR; i++) 
    25582558                { 
    2559                         cnv_stat(p_ptr->stat_use[i], str, sizeof(str)); 
     2559                        cnv_stat(p_ptr->state.stat_use[i], str, sizeof(str)); 
    25602560                        cr_aligned_text_print(xd, 0, i+8, sidebar_text[i+8], TERM_WHITE, str, TERM_L_GREEN, sidebar_length); 
    25612561                } 
     
    25642564                 
    25652565                /* Char AC */ 
    2566                 strnfmt(str, sizeof(str), "%i", p_ptr->dis_ac + p_ptr->dis_to_a);  
     2566                strnfmt(str, sizeof(str), "%i", p_ptr->state.dis_ac + p_ptr->state.dis_to_a);  
    25672567                cr_aligned_text_print(xd, 0, 15, sidebar_text[15], TERM_WHITE, str, TERM_L_GREEN, sidebar_length); 
    25682568         
  • trunk/src/gtk/main-gtk.h

    r985 r1022  
    1919#include "angband.h" 
    2020 
    21 #include "tvalsval.h" 
     21#include "object/tvalsval.h" 
    2222 
    2323#ifndef INCLUDED_MAIN_GTK_H