1212#define STAGE_NAME_BOX_RIGHT_X 248
1313#endif
1414
15- #ifdef VERSION_HD
15+ #if defined( VERSION_HD ) || defined( VERSION_BETA )
1616#define NUM_PRIMS 181
1717#define TEXT_X 192
1818#define TEXT_Y 177
@@ -79,7 +79,7 @@ static void LoadStageNameGraphics(void) {
7979// This is the banner version which "shutter opens" and wipes away to the left.
8080// psp prims 8-183 and hd prims 6-181 seem to be completely unused
8181void EntityStageNamePopup (Entity * self ) {
82- #ifdef VERSION_HD
82+ #if defined( VERSION_HD ) || defined( VERSION_BETA )
8383 u8 padding [0xD8 ];
8484#endif
8585 Primitive * prim ;
@@ -117,7 +117,7 @@ void EntityStageNamePopup(Entity* self) {
117117 self -> flags |= FLAG_HAS_PRIMS ;
118118 prim = & g_PrimBuf [primIndex ];
119119 self -> ext .stpopupj .firstTextPrim = prim ;
120- #if !defined(VERSION_HD )
120+ #if !defined(VERSION_HD ) && !defined( VERSION_BETA )
121121 while (prim != NULL ) {
122122 prim -> drawMode = DRAW_HIDE ;
123123 prim = prim -> next ;
@@ -135,7 +135,7 @@ void EntityStageNamePopup(Entity* self) {
135135// This splits the two loops in the middle because that is what is happening
136136// functionally. The two prims for psp together have the same left and right
137137// sides (conceptually) as the single prim for hd.
138- #if !defined(VERSION_HD )
138+ #if !defined(VERSION_HD ) && !defined( VERSION_BETA )
139139 prim -> x3 = prim -> x1 = 128 ;
140140 prim -> y3 = prim -> y2 = 173 ;
141141 prim -> u2 = prim -> u0 = 0 ;
@@ -226,7 +226,7 @@ void EntityStageNamePopup(Entity* self) {
226226 prim -> v2 = 255 ;
227227 prim -> v3 = prim -> v2 ;
228228 prim -> x2 = prim -> x0 = STAGE_NAME_BOX_LEFT_X ;
229- #ifdef VERSION_HD
229+ #if defined( VERSION_HD ) || defined( VERSION_BETA )
230230 prim -> y1 = prim -> y0 = 155 ;
231231 prim -> x3 = prim -> x1 = STAGE_NAME_BOX_RIGHT_X ;
232232#else
@@ -263,7 +263,7 @@ void EntityStageNamePopup(Entity* self) {
263263 prim = prim -> next ;
264264 }
265265
266- #if !defined(VERSION_HD )
266+ #if !defined(VERSION_HD ) && !defined( VERSION_BETA )
267267 for (i = 0 ; i < 2 ; i ++ ) {
268268 prim -> u0 = prim -> u2 = 128 ;
269269 prim -> v0 = prim -> v1 = 48 ;
@@ -302,11 +302,11 @@ void EntityStageNamePopup(Entity* self) {
302302
303303 if (!primsSet ) {
304304 self -> step_s ++ ;
305- #if !defined(VERSION_HD )
305+ #if !defined(VERSION_HD ) && !defined( VERSION_BETA )
306306 self -> ext .stpopupj .timer = 0 ;
307307#endif
308308 prim = self -> ext .stpopupj .firstTextPrim ;
309- #if !defined(VERSION_HD )
309+ #if !defined(VERSION_HD ) && !defined( VERSION_BETA )
310310 prim = prim -> next ;
311311 prim -> drawMode = DRAW_TRANSP | DRAW_TPAGE | DRAW_COLORS ;
312312 prim = prim -> next ;
@@ -320,7 +320,7 @@ void EntityStageNamePopup(Entity* self) {
320320 break ;
321321 case STAGE_NAME_DRAW_TEXT :
322322 prim = self -> ext .stpopupj .firstTextPrim ;
323- #ifdef VERSION_HD
323+ #if defined( VERSION_HD ) || defined( VERSION_BETA )
324324 for (i = 0 ; i < 2 ; i ++ ) {
325325 prim -> u0 -= 8 ;
326326 prim -> u2 = prim -> u0 ;
@@ -377,7 +377,7 @@ void EntityStageNamePopup(Entity* self) {
377377 } else {
378378 self -> step_s = STAGE_NAME_HOLD_TEXT ;
379379 }
380- #if !defined(VERSION_HD )
380+ #if !defined(VERSION_HD ) && !defined( VERSION_BETA )
381381 if (prim -> y2 < i * 2 + PRIM_BOTTOM_Y ) {
382382 prim -> v2 ++ ;
383383 prim -> v3 = prim -> v2 ;
@@ -423,7 +423,7 @@ void EntityStageNamePopup(Entity* self) {
423423 prim -> x1 -= 4 ; // Aligns right side of box with right side of text
424424 boxRightX = prim -> x3 = prim -> x1 ;
425425 prim = self -> ext .stpopupj .firstTextPrim ;
426- #ifdef VERSION_HD
426+ #if defined( VERSION_HD ) || defined( VERSION_BETA )
427427 for (i = 0 ; i < 2 ; i ++ ) {
428428 if (prim -> x1 > boxRightX ) {
429429 prim -> x1 -= 4 ;
@@ -437,7 +437,7 @@ void EntityStageNamePopup(Entity* self) {
437437 if (prim -> x1 < prim -> x0 ) {
438438 prim -> drawMode = DRAW_HIDE ;
439439 }
440- #ifdef VERSION_HD
440+ #if defined( VERSION_HD ) || defined( VERSION_BETA )
441441 prim -> u1 -= 4 ;
442442 prim -> u3 = prim -> u1 ;
443443 }
0 commit comments