Rev 7421 | Rev 8059 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7421 | Rev 7423 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | 68 | ||
69 | align 16 |
69 | align 16 |
70 | still: |
70 | still: |
Line 71... | Line 71... | ||
71 | call draw_3d |
71 | call draw_3d |
72 | 72 | ||
73 | stdcall Fps, 330,4 |
73 | stdcall Fps, 365,4 |
74 | mov dword[esp-4],eax |
74 | mov dword[esp-4],eax |
75 | fild dword[esp-4] |
75 | fild dword[esp-4] |
76 | fmul dword[a2] |
76 | fmul dword[a2] |
Line 128... | Line 128... | ||
128 | align 4 |
128 | align 4 |
129 | draw_window: |
129 | draw_window: |
130 | pushad |
130 | pushad |
131 | mcall SF_REDRAW,SSF_BEGIN_DRAW |
131 | mcall SF_REDRAW,SSF_BEGIN_DRAW |
Line 132... | Line 132... | ||
132 | 132 | ||
133 | mcall SF_CREATE_WINDOW,(50 shl 16)+410,(30 shl 16)+425,0x33404040,,title1 |
133 | mcall SF_CREATE_WINDOW,(50 shl 16)+409,(30 shl 16)+425,0x33404040,,title1 |
Line 134... | Line 134... | ||
134 | stdcall [kosglSwapBuffers] |
134 | stdcall [kosglSwapBuffers] |
135 | 135 | ||
136 | ;Title |
136 | ;Title |
137 | mcall SF_DRAW_TEXT,(300 shl 16)+4,0xc0c0c0,fps, fps.end-fps |
137 | mcall SF_DRAW_TEXT,(338 shl 16)+4,0xc0c0c0,fps, fps.end-fps |
Line 138... | Line 138... | ||
138 | mcall SF_DRAW_TEXT,(8 shl 16)+4,0xc0c0c0,title3,title3.end-title3 |
138 | mcall SF_DRAW_TEXT,(8 shl 16)+4,0xc0c0c0,title3,title3.end-title3 |
139 | ;mcall SF_DRAW_TEXT,(180 shl 16)+4,0xc0c0c0,title2,title2.end-title2 |
139 | ;mcall SF_DRAW_TEXT,(180 shl 16)+4,0xc0c0c0,title2,title2.end-title2 |