mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 13:28:02 +03:00
Improve level select, more layout changes
This commit is contained in:
parent
9133af903d
commit
96fc0ad2e6
7 changed files with 59 additions and 23 deletions
|
@ -9,11 +9,11 @@
|
|||
23,0,0,0,0,0,0,0,0,0,0,0,20,20,33,2,2,5,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,23,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
12,12,38,9,39,3,0,0,0,6,2,2,32,32,32,0,12,12,12,12,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,23,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
|
@ -53,17 +53,17 @@
|
|||
<property name="Kind" value="RING"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="11" gid="49" x="927.879" y="1055.88" width="64" height="64"/>
|
||||
<object id="13" gid="55" x="926.379" y="927.546" width="64" height="64"/>
|
||||
<object id="14" gid="55" x="926.379" y="856.212" width="64" height="64"/>
|
||||
<object id="15" gid="55" x="905.379" y="869.545" width="64" height="64"/>
|
||||
<object id="16" gid="55" x="948.379" y="869.545" width="64" height="64"/>
|
||||
<object id="17" gid="46" x="1234" y="896" width="64" height="64">
|
||||
<object id="11" gid="49" x="1056.25" y="1055.88" width="64" height="64"/>
|
||||
<object id="13" gid="55" x="1054.75" y="927.546" width="64" height="64"/>
|
||||
<object id="14" gid="55" x="1054.75" y="856.212" width="64" height="64"/>
|
||||
<object id="15" gid="55" x="1033.75" y="869.545" width="64" height="64"/>
|
||||
<object id="16" gid="55" x="1076.75" y="869.545" width="64" height="64"/>
|
||||
<object id="17" gid="46" x="1362.38" y="896" width="64" height="64">
|
||||
<properties>
|
||||
<property name="Kind" value="INVINCIBILITY"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="18" gid="46" x="1201" y="896" width="64" height="64">
|
||||
<object id="18" gid="46" x="1329.38" y="896" width="64" height="64">
|
||||
<properties>
|
||||
<property name="Kind" value="RING"/>
|
||||
</properties>
|
||||
|
@ -168,7 +168,7 @@
|
|||
<object id="134" gid="45" x="1440.83" y="383.5" width="64" height="64"/>
|
||||
<object id="135" gid="45" x="1459.83" y="365.5" width="64" height="64"/>
|
||||
<object id="136" gid="49" x="1904" y="576" width="64" height="64"/>
|
||||
<object id="137" gid="49" x="1136" y="896" width="64" height="64"/>
|
||||
<object id="137" gid="49" x="1264.38" y="896" width="64" height="64"/>
|
||||
<object id="138" gid="57" x="288" y="384" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
</group>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="255" height="31" tilewidth="128" tileheight="128" infinite="0" backgroundcolor="#3f007f" nextlayerid="5" nextobjectid="26">
|
||||
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="255" height="31" tilewidth="128" tileheight="128" infinite="0" backgroundcolor="#3f007f" nextlayerid="5" nextobjectid="27">
|
||||
<editorsettings>
|
||||
<export target="Z1.json" format="json"/>
|
||||
</editorsettings>
|
||||
|
@ -55,10 +55,10 @@
|
|||
<object id="7" gid="65" x="4001.5" y="830" width="64" height="64"/>
|
||||
<object id="8" gid="65" x="5535.5" y="894" width="64" height="64"/>
|
||||
<object id="9" gid="65" x="6304" y="1214.5" width="64" height="64"/>
|
||||
<object id="10" gid="65" x="6571" y="1063.5" width="64" height="64"/>
|
||||
<object id="11" gid="65" x="6571" y="1083" width="64" height="64"/>
|
||||
<object id="12" gid="65" x="12065.7" y="3061.67" width="64" height="64"/>
|
||||
<object id="13" gid="65" x="12065.7" y="3083.67" width="64" height="64"/>
|
||||
<object id="10" gid="65" x="6572" y="1095.83" width="64" height="64"/>
|
||||
<object id="11" gid="65" x="6572" y="1115.33" width="64" height="64"/>
|
||||
<object id="12" gid="65" x="12066.3" y="3083" width="64" height="64"/>
|
||||
<object id="13" gid="65" x="12066.3" y="3105" width="64" height="64"/>
|
||||
<object id="14" gid="65" x="13151.5" y="3205.5" width="64" height="64"/>
|
||||
<object id="15" gid="65" x="13919" y="3073" width="64" height="64"/>
|
||||
<object id="16" gid="65" x="14104" y="3071" width="64" height="64"/>
|
||||
|
@ -72,8 +72,8 @@
|
|||
</properties>
|
||||
</object>
|
||||
<object id="23" gid="69" x="350" y="384" width="64" height="64"/>
|
||||
<object id="24" gid="65" x="9907.27" y="2217.91" width="64" height="64"/>
|
||||
<object id="25" gid="65" x="9907.27" y="2239.91" width="64" height="64"/>
|
||||
<object id="24" gid="65" x="9904.61" y="2246.58" width="64" height="64"/>
|
||||
<object id="25" gid="65" x="9904.61" y="2268.58" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
</group>
|
||||
</map>
|
||||
|
|
|
@ -91,8 +91,8 @@
|
|||
<object id="32" gid="65" x="3040" y="704" width="64" height="64"/>
|
||||
<object id="33" gid="67" x="2660" y="446" width="64" height="64"/>
|
||||
<object id="34" gid="67" x="2656" y="261.333" width="64" height="64"/>
|
||||
<object id="36" gid="65" x="3177.67" y="1255.67" width="64" height="64"/>
|
||||
<object id="37" gid="65" x="3177.67" y="1231.67" width="64" height="64"/>
|
||||
<object id="36" gid="65" x="3212.17" y="1255.17" width="64" height="64"/>
|
||||
<object id="37" gid="65" x="3212.17" y="1231.17" width="64" height="64"/>
|
||||
<object id="38" gid="65" x="5019.5" y="2076.5" width="64" height="64"/>
|
||||
<object id="39" gid="67" x="4928" y="741" width="64" height="64"/>
|
||||
<object id="40" gid="69" x="180" y="544" width="64" height="64"/>
|
||||
|
|
BIN
assets/misc/LVLSEL.TIM
Normal file
BIN
assets/misc/LVLSEL.TIM
Normal file
Binary file not shown.
BIN
assets/misc/lvlsel.png
Normal file
BIN
assets/misc/lvlsel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
3
iso.xml
3
iso.xml
|
@ -142,6 +142,9 @@
|
|||
<file name="SOON.TIM"
|
||||
type="data"
|
||||
source="${PROJECT_SOURCE_DIR}/assets/misc/SOON.TIM" />
|
||||
<file name="LVLSEL.TIM"
|
||||
type="data"
|
||||
source="${PROJECT_SOURCE_DIR}/assets/misc/LVLSEL.TIM" />
|
||||
</dir>
|
||||
|
||||
<dir name="SFX">
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "screens/level.h"
|
||||
#include "screens/fmv.h"
|
||||
#include "sound.h"
|
||||
#include "util.h"
|
||||
|
||||
#define CHOICE_MODELTEST 5
|
||||
#define CHOICE_TITLE 6
|
||||
|
@ -21,6 +22,9 @@
|
|||
typedef struct {
|
||||
uint8_t menu_choice;
|
||||
char buffer[255];
|
||||
int32_t bg_prect_x;
|
||||
int32_t bg_prect_y;
|
||||
uint8_t bg_mode;
|
||||
} screen_levelselect_data;
|
||||
|
||||
extern int debug_mode;
|
||||
|
@ -31,6 +35,16 @@ screen_levelselect_load()
|
|||
screen_levelselect_data *data = screen_alloc(sizeof(screen_levelselect_data));
|
||||
data->menu_choice = 0;
|
||||
bzero(data->buffer, 255);
|
||||
|
||||
uint32_t length;
|
||||
TIM_IMAGE bg;
|
||||
uint8_t *img = file_read("\\MISC\\LVLSEL.TIM;1", &length);
|
||||
load_texture(img, &bg);
|
||||
data->bg_mode = bg.mode;
|
||||
data->bg_prect_x = bg.prect->x;
|
||||
data->bg_prect_y = bg.prect->y;
|
||||
free(img);
|
||||
|
||||
sound_play_xa("\\BGM\\MNU001.XA;1", 0, 0, 0);
|
||||
}
|
||||
|
||||
|
@ -86,7 +100,26 @@ void
|
|||
screen_levelselect_draw(void *d)
|
||||
{
|
||||
screen_levelselect_data *data = (screen_levelselect_data *)d;
|
||||
|
||||
// Draw background
|
||||
for(uint16_t y = 0; y < SCREEN_YRES; y += 32) {
|
||||
for(uint16_t x = 0; x < SCREEN_XRES; x += 48) {
|
||||
POLY_FT4 *poly = (POLY_FT4 *)get_next_prim();
|
||||
increment_prim(sizeof(POLY_FT4));
|
||||
setPolyFT4(poly);
|
||||
setRGB0(poly, 128, 128, 128);
|
||||
poly->tpage = getTPage(data->bg_mode & 0x3,
|
||||
0,
|
||||
data->bg_prect_x,
|
||||
data->bg_prect_y);
|
||||
poly->clut = 0;
|
||||
setXYWH(poly, x, y, 48, 32);
|
||||
setUVWH(poly, 0, 0, 48, 32);
|
||||
sort_prim(poly, 3);
|
||||
}
|
||||
}
|
||||
|
||||
// Draw text
|
||||
int16_t x;
|
||||
const char *title = "Level Select";
|
||||
x = CENTERX - (strlen(title) * 4);
|
||||
|
@ -129,6 +162,6 @@ screen_levelselect_draw(void *d)
|
|||
(data->menu_choice == CHOICE_SONICT) ? '>' : ' ',
|
||||
(data->menu_choice == CHOICE_INTRO) ? '>' : ' ',
|
||||
(data->menu_choice == CHOICE_SOON) ? '>' : ' ');
|
||||
draw_text(8, 36, 0, data->buffer);
|
||||
draw_text(8, 40, 0, data->buffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue