~luke-jr/tr2norigins/tr2norigins-0.4

« back to all changes in this revision

Viewing changes to src/tron/gMenus.cpp

  • Committer: Luke Dashjr
  • Date: 2010-04-20 23:31:14 UTC
  • mfrom: (690.1.6 compile)
  • Revision ID: luke+bzr@dashjr.org-20100420233114-w7ahi17o9er1tygd
MERGE: New look and textures,

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
 
85
85
        //border
86
86
        glColor3f(.7, .7, .8);
87
 
        glRectf(-.708,.159,.708,-.558);
 
87
        glRectf(-.708,.169,.708,-.548);
88
88
        RenderEnd();
89
89
 
90
90
        //Inner shadow
91
91
        glColor3f(.2, .2, .2);
92
 
        glRectf(-.702,.152,.702,-.552);
 
92
        glRectf(-.702,.162,.702,-.542);
93
93
        RenderEnd();
94
94
        
95
95
        // Moviepack has been changed and only if movipack exists
133
133
 
134
134
        BeginQuads();
135
135
        TexCoord(0,0);
136
 
        Vertex(-.7, .15);
 
136
        Vertex(-.7, .16);
137
137
 
138
138
        TexCoord(0,1);
139
 
        Vertex(-.7, -.55);
 
139
        Vertex(-.7, -.54);
140
140
 
141
141
        TexCoord(1,1);
142
 
        Vertex(.7, -.55);
 
142
        Vertex(.7, -.54);
143
143
 
144
144
        TexCoord(1,0);
145
 
        Vertex(.7, .15);
 
145
        Vertex(.7, .16);
146
146
 
147
147
        RenderEnd();
148
148
 
150
150
        tString tmptext;
151
151
        tmptext="0xeeeeffMoviepack: ";
152
152
        tmptext << sg_moviepackName[mov[0]] << "\n" << "0xeeeeffCreated By: " << sg_moviepackCreator[mov[0]];
153
 
        rTextField cycltext( -.93,-.85,.05*.6,.11*.6);
 
153
        rTextField cycltext( -.922,-.64,.05*.55,.11*.55);
154
154
        cycltext << tmptext;
155
155
 
156
156
 
832
832
 
833
833
    uMenu con_menu("",false);
834
834
    gMemuItemConsole s(&con_menu,c);
835
 
    con_menu.SetCenter(-.75);
 
835
    con_menu.SetCenter(-.65);
836
836
    con_menu.SetBot(-2);
837
837
    con_menu.SetTop(-.7);
838
838
    con_menu.Enter();
1029
1029
 
1030
1030
        BeginQuads();
1031
1031
        TexCoord(0,0);
1032
 
        Vertex(-1, -.75);
 
1032
        Vertex(-.92, -.715);
1033
1033
 
1034
1034
        TexCoord(0,1);
1035
 
        Vertex(-1, -.89);
1036
 
 
 
1035
        Vertex(-.92, -.852);
 
1036
        
1037
1037
        TexCoord(4,1);
1038
 
        Vertex(.4, -.89);
 
1038
        Vertex(.5, -.852);
1039
1039
 
1040
1040
        TexCoord(4,0);
1041
 
        Vertex(.4, -.75);
 
1041
        Vertex(.5, -.715);
1042
1042
        RenderEnd();
1043
1043
        
1044
1044
        // simulate bright tail halo
1050
1050
        white_preview_pic.Select();
1051
1051
        BeginQuads();
1052
1052
        TexCoord(0,0);
1053
 
        Vertex(-1, -.75);
 
1053
        Vertex(-.92, -.715);
1054
1054
 
1055
1055
        TexCoord(0,1);
1056
 
        Vertex(-1, -.748);
 
1056
        Vertex(-.92, -.713);
1057
1057
 
1058
1058
        TexCoord(1,1);
1059
 
        Vertex(.4, -.748);
 
1059
        Vertex(.5, -.713);
1060
1060
 
1061
1061
        TexCoord(1,0);
1062
 
        Vertex(.4, -.75);
 
1062
        Vertex(.5, -.715);
1063
1063
        RenderEnd();
1064
1064
 
1065
1065
 
1081
1081
        
1082
1082
        BeginQuads();
1083
1083
        TexCoord(0,0);
1084
 
        Vertex(.8, -.5);
 
1084
        Vertex(.8, -.59);
1085
1085
 
1086
1086
        TexCoord(0,1);
1087
 
        Vertex(.8, -1);
 
1087
        Vertex(.8, -.95);
1088
1088
 
1089
1089
        TexCoord(1,1);
1090
 
        Vertex(.3, -1);
 
1090
        Vertex(.43, -.95);
1091
1091
 
1092
1092
        TexCoord(1,0);
1093
 
        Vertex(.3, -.5);
 
1093
        Vertex(.43, -.59);
1094
1094
 
1095
1095
        RenderEnd();
1096
1096
 
1136
1136
    uMenu camera_menu("$player_camera_text");
1137
1137
    uMenu chat_menu("$player_chat_text");
1138
1138
    //  name.Clear();
1139
 
    chat_menu.SetCenter(-.4);
 
1139
    chat_menu.SetCenter(-.43);
1140
1140
 
1141
1141
    uMenuItemString *ic[MAX_INSTANT_CHAT];
1142
1142