Refactor map renderer and server API
- Updated index.html to enhance UI with new elements for hidden shapes and catalog CSVs. - Changed download button to a button element for better accessibility. - Modified server.js to improve API endpoints: - Renamed overlays endpoint to scene for clarity. - Updated tile rendering endpoints to use atlas instead of tile coordinates. - Added new endpoint for downloading shape catalog CSV files. - Removed unused options in build creation.
This commit is contained in:
parent
ab5e514e61
commit
f93cfc31c8
17 changed files with 2228 additions and 1199 deletions
185
map_renderer/Catalogs/usecode_shape_catalog_regret.csv
Normal file
185
map_renderer/Catalogs/usecode_shape_catalog_regret.csv
Normal file
|
|
@ -0,0 +1,185 @@
|
|||
shape_code,human_readable_id,description,roof,semitransparency
|
||||
0x0001,,
|
||||
0x000B,,
|
||||
0x0011,,
|
||||
0x0028,,
|
||||
0x0030,,
|
||||
0x0033,door_shape_0033,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0034,,
|
||||
0x004B,door_shape_004b,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x005F,,
|
||||
0x0064,door_shape_0064,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x006C,door_shape_006c,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0070,yelrail_shape_0070,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0085,,
|
||||
0x0088,yelrail_shape_0088,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008A,yelrail_shape_008a,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008B,yelrail_shape_008b,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008C,yelrail_shape_008c,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008D,yelrail_shape_008d,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0091,yelrail_shape_0091,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0092,yelrail_shape_0092,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0093,yelrail_shape_0093,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0095,,
|
||||
0x00AA,barrel_shape_00aa,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x00AD,,
|
||||
0x00C0,,
|
||||
0x00D1,,
|
||||
0x00D4,,
|
||||
0x00D9,,
|
||||
0x00DB,,
|
||||
0x0108,,
|
||||
0x0111,,
|
||||
0x0113,,
|
||||
0x0127,,
|
||||
0x0135,,
|
||||
0x0151,barrel_shape_0151,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0152,barrel_shape_0152,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0153,barrel_shape_0153,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0154,barrel_shape_0154,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0155,barrel_shape_0155,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0156,,
|
||||
0x018D,,
|
||||
0x018E,,
|
||||
0x0190,,
|
||||
0x0193,,
|
||||
0x01AB,,
|
||||
0x01B4,booty_shape_01b4,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x01B9,,
|
||||
0x01BA,,
|
||||
0x01C1,,
|
||||
0x01C8,,
|
||||
0x01CD,,
|
||||
0x01D9,,
|
||||
0x01DA,,
|
||||
0x01DB,,
|
||||
0x01E4,,
|
||||
0x01EE,,
|
||||
0x01F5,,
|
||||
0x022D,,
|
||||
0x0251,,
|
||||
0x025F,,
|
||||
0x0260,,
|
||||
0x0277,,
|
||||
0x0278,,
|
||||
0x0287,,
|
||||
0x0289,,
|
||||
0x028D,,
|
||||
0x02C9,bbetty_shape_02c9,Auto-derived from BBETTY self-shape comparison in USECODE
|
||||
0x02CB,,
|
||||
0x02D8,door_shape_02d8,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x02DC,,
|
||||
0x02DE,,
|
||||
0x02DF,booty_shape_02df,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x02EF,,
|
||||
0x02F0,,
|
||||
0x02F5,,
|
||||
0x02F6,,
|
||||
0x02F7,,
|
||||
0x0301,,
|
||||
0x0308,booty_shape_0308,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x030C,,
|
||||
0x0319,,
|
||||
0x0337,,
|
||||
0x0338,,
|
||||
0x033A,,
|
||||
0x0344,,
|
||||
0x034B,,
|
||||
0x0361,,
|
||||
0x0363,door_shape_0363,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0371,booty_shape_0371,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x0373,,
|
||||
0x037A,door_shape_037a,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0383,,
|
||||
0x0384,,
|
||||
0x0385,,
|
||||
0x0399,,
|
||||
0x039A,,
|
||||
0x039C,,
|
||||
0x03A1,,
|
||||
0x03A9,,
|
||||
0x03AC,,
|
||||
0x03AD,,
|
||||
0x03B9,door_shape_03b9,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x03BA,door_shape_03ba,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0401,,
|
||||
0x0403,,
|
||||
0x041C,,
|
||||
0x0438,,
|
||||
0x0439,,
|
||||
0x043A,,
|
||||
0x043B,,
|
||||
0x043D,,
|
||||
0x0443,,
|
||||
0x044A,,
|
||||
0x044D,,
|
||||
0x044E,,
|
||||
0x0452,,
|
||||
0x0456,,
|
||||
0x0457,,
|
||||
0x0459,,
|
||||
0x045A,,
|
||||
0x045D,,
|
||||
0x046A,,
|
||||
0x046C,,
|
||||
0x0476,,
|
||||
0x04B1,,
|
||||
0x04B8,,
|
||||
0x04C8,,
|
||||
0x04C9,,
|
||||
0x04D0,,
|
||||
0x04D1,booty_shape_04d1,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x04D9,,
|
||||
0x04E0,,
|
||||
0x04E6,,
|
||||
0x04E7,,
|
||||
0x04F8,,
|
||||
0x04F9,,
|
||||
0x04FA,,
|
||||
0x04FD,,
|
||||
0x04FE,,
|
||||
0x0500,,
|
||||
0x050A,,
|
||||
0x0510,,
|
||||
0x0511,,
|
||||
0x0518,,
|
||||
0x051A,,
|
||||
0x0524,,
|
||||
0x0528,booty_shape_0528,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x053A,,
|
||||
0x053B,door_shape_053b,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x054E,,
|
||||
0x055F,,
|
||||
0x0561,,
|
||||
0x056F,door_shape_056f,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0571,door_shape_0571,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0573,door_shape_0573,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0574,door_shape_0574,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0576,,
|
||||
0x057A,booty_shape_057a,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x058F,,
|
||||
0x0595,,
|
||||
0x0596,,
|
||||
0x0597,,
|
||||
0x05A4,,
|
||||
0x05A5,,
|
||||
0x05B1,,
|
||||
0x05BA,,
|
||||
0x05D5,booty_shape_05d5,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x05D6,,
|
||||
0x05D8,,
|
||||
0x05D9,,
|
||||
0x05DA,,
|
||||
0x05DD,,
|
||||
0x05DE,,
|
||||
0x05DF,,
|
||||
0x05E0,,
|
||||
0x05E2,,
|
||||
0x05E6,,
|
||||
0x05EF,,
|
||||
0x0606,booty_shape_0606,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x0616,,
|
||||
0x062D,,
|
||||
0x062E,booty_shape_062e,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x0631,booty_shape_0631,Auto-derived from BOOTY self-shape comparison in USECODE
|
||||
0x0656,,
|
||||
|
218
map_renderer/Catalogs/usecode_shape_catalog_remorse.csv
Normal file
218
map_renderer/Catalogs/usecode_shape_catalog_remorse.csv
Normal file
|
|
@ -0,0 +1,218 @@
|
|||
shape_code,human_readable_id,description,roof,semitransparency
|
||||
0x0001,,
|
||||
0x0003,,
|
||||
0x0004,,
|
||||
0x0005,door_shape_0005,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0007,,
|
||||
0x0009,,
|
||||
0x000A,,
|
||||
0x000B,,
|
||||
0x000D,,
|
||||
0x000F,,
|
||||
0x0011,,
|
||||
0x0013,,
|
||||
0x0015,,
|
||||
0x0017,,
|
||||
0x0019,,
|
||||
0x001B,,
|
||||
0x001D,,
|
||||
0x001E,,
|
||||
0x0028,,
|
||||
0x0029,,
|
||||
0x0030,,
|
||||
0x0033,,
|
||||
0x0046,door_shape_0046,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x007B,door_shape_007b,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0095,door_shape_0095,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x00A1,,
|
||||
0x00A5,,
|
||||
0x00A9,door_shape_00a9,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x00AD,,
|
||||
0x00C2,,
|
||||
0x0100,,
|
||||
0x0135,,
|
||||
0x0136,,
|
||||
0x0137,,
|
||||
0x0138,,
|
||||
0x0139,,
|
||||
0x0158,,
|
||||
0x0159,,
|
||||
0x015A,,
|
||||
0x015B,,
|
||||
0x0167,REACTOR,Level 1 Reactor
|
||||
0x0168,REACTOR_CELL,Level 1
|
||||
0x0187,WALL_EDGE,Not sure
|
||||
0x0189,ELEVATOR_DOOR_SEGMENT,
|
||||
0x018D,ELEVATOR_DOOR_LEFT,
|
||||
0x018E,TELEPAD_RED,
|
||||
0x0193,ELEVATOR_DOOR_RIGHT,
|
||||
0x01A2,RADAR_DISH,
|
||||
0x01A6,COMM_CONSOLE,
|
||||
0x01BC,LIGHT_TUBE,A tube with a light inside
|
||||
0x01BF,ELECTRODE,The zappy things that flash the whole screen when destroyed
|
||||
0x01C1,TUBE_PLATFORM,A platform for square tubes
|
||||
0x01C6,ELEVATOR_DOOR_LEFT_2,
|
||||
0x01C7,ELEVATOR_DOOR_RIGHT_2,
|
||||
0x01C8,WHITE_GRID,It's a white grid no idea
|
||||
0x01D5,IR_SENSOR,
|
||||
0x01DA,NARROW_COLUMN_BASE,
|
||||
0x01DB,TELEPORTER_LIGHTS,
|
||||
0x01E4,SMALL_BOX_PROP,
|
||||
0x01EE,PRISON_BARS_DOOR,
|
||||
0x021D,MINE_LAYER_TRAP,
|
||||
0x021E,GRATE_FLOOR_GRAY,
|
||||
0x0251,PLACEHOLDER_KEY_CUBE,Placeholder UI Element
|
||||
0x0289,,
|
||||
0x028E,,
|
||||
0x02DC,FLOOR_PEDESTAL_SLICE,
|
||||
0x02DE,ELEVATOR_BASE,It's the concave shape under elevators
|
||||
0x02E0,DOOR_CORNER_LOWER_RIGHT,
|
||||
0x02E1,,
|
||||
0x02E2,HEALTH_STATION_TOP,
|
||||
0x02E3,HEALTH_STATION_BACK,
|
||||
0x02E5,PRISONER_1,
|
||||
0x02E7,PRISONER_2,
|
||||
0x02E8,PRISONER_3,
|
||||
0x02EF,TURRET_BASE,
|
||||
0x02F6,NPC_TECH,
|
||||
0x02FD,npcdeath_shape_02fd,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x030D,,
|
||||
0x030E,,
|
||||
0x0315,BAR_STOOL,
|
||||
0x0318,PLACEHOLDER_CUBE,Placeholder UI element
|
||||
0x0329,FORCEFIELD_NW,
|
||||
0x032A,FORCEFIELD_NE,
|
||||
0x0337,PLACEHOLDER_CUBE_BIG,
|
||||
0x0338,MECH_1,
|
||||
0x033A,NUMBERS,
|
||||
0x034D,BAR_PATRONS_1,
|
||||
0x0361,PLACEHOLDER_CUBE_RED_BLACK,
|
||||
0x0368,,
|
||||
0x0369,,
|
||||
0x036A,,
|
||||
0x036B,,
|
||||
0x037A,,
|
||||
0x037D,,
|
||||
0x03A9,,
|
||||
0x03AA,,
|
||||
0x03AC,npcdeath_shape_03ac,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x03B0,,
|
||||
0x03BF,,
|
||||
0x03C1,,
|
||||
0x0401,,
|
||||
0x043D,,
|
||||
0x0442,,
|
||||
0x0443,,
|
||||
0x044F,,
|
||||
0x0452,,
|
||||
0x0457,,
|
||||
0x0476,,
|
||||
0x0493,,
|
||||
0x04B1,,
|
||||
0x04B8,,
|
||||
0x04C6,,
|
||||
0x04C8,wallgun_shape_04c8,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x04C9,,
|
||||
0x04D0,,
|
||||
0x04D5,,
|
||||
0x04D9,,
|
||||
0x04DC,,
|
||||
0x04E0,,
|
||||
0x04E7,,
|
||||
0x04EE,,
|
||||
0x04F8,,
|
||||
0x0500,,
|
||||
0x0524,,
|
||||
0x053A,,
|
||||
0x054F,,
|
||||
0x0561,,
|
||||
0x005F,,
|
||||
0x0070,yelrail_shape_0070,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0085,,
|
||||
0x0088,yelrail_shape_0088,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008A,yelrail_shape_008a,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008B,yelrail_shape_008b,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008C,yelrail_shape_008c,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x008D,yelrail_shape_008d,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0091,yelrail_shape_0091,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0092,yelrail_shape_0092,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0093,yelrail_shape_0093,Auto-derived from YELRAIL self-shape comparison in USECODE
|
||||
0x0099,door_shape_0099,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x00AA,barrel_shape_00aa,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x00D1,,
|
||||
0x0108,wallgun_shape_0108,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x0111,,
|
||||
0x0113,wallgun_shape_0113,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x0141,,
|
||||
0x0151,barrel_shape_0151,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0152,BARREL_YELLOW_SIDEWAYS_0152,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0153,BARREL_YELLOW_SIDEWAYS_0153,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0154,barrel_shape_0154,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x0155,barrel_shape_0155,Auto-derived from BARREL self-shape comparison in USECODE
|
||||
0x017F,,
|
||||
0x018F,,
|
||||
0x0196,,
|
||||
0x01B4,npcdeath_shape_01b4,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x01B9,wallgun_shape_01b9,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x01BA,wallgun_shape_01ba,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x01CD,wallgun_shape_01cd,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x01D9,,
|
||||
0x025F,wallgun_shape_025f,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x0260,wallgun_shape_0260,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x02C3,,
|
||||
0x02C4,,
|
||||
0x02C9,bbetty_shape_02c9,Auto-derived from BBETTY self-shape comparison in USECODE
|
||||
0x02CB,,
|
||||
0x02DF,npcdeath_shape_02df,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x02F0,wallgun_shape_02f0,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x02F5,,
|
||||
0x02F7,,
|
||||
0x030A,door_shape_030a,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x030B,door_shape_030b,Auto-derived from DOOR self-shape comparison in USECODE
|
||||
0x0319,npcdeath_shape_0319,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x033C,npc_shape_033c,Auto-derived from NPC self-shape comparison in USECODE
|
||||
0x0344,,
|
||||
0x0371,npcdeath_shape_0371,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x0373,wallgun_shape_0373,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x0383,,
|
||||
0x0384,npcdeath_shape_0384,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x0385,,
|
||||
0x0399,wallgun_shape_0399,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x03A1,wallgun_shape_03a1,Auto-derived from WALLGUN self-shape comparison in USECODE
|
||||
0x03F8,,
|
||||
0x03FF,,
|
||||
0x0438,,
|
||||
0x0439,,
|
||||
0x043A,,
|
||||
0x043B,,
|
||||
0x043F,door2_shape_043f,Auto-derived from DOOR2 self-shape comparison in USECODE
|
||||
0x0440,door2_shape_0440,Auto-derived from DOOR2 self-shape comparison in USECODE
|
||||
0x044A,,
|
||||
0x0456,,
|
||||
0x0459,,
|
||||
0x045A,,
|
||||
0x045D,,
|
||||
0x045E,,
|
||||
0x045F,,
|
||||
0x0460,,
|
||||
0x0461,,
|
||||
0x0470,,
|
||||
0x0471,,
|
||||
0x04D1,npcdeath_shape_04d1,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x04E6,,
|
||||
0x04F9,,
|
||||
0x04FA,,
|
||||
0x04FD,,
|
||||
0x04FE,,
|
||||
0x050A,,
|
||||
0x0511,,
|
||||
0x0518,,
|
||||
0x0528,npcdeath_shape_0528,Auto-derived from NPCDEATH self-shape comparison in USECODE
|
||||
0x052C,,
|
||||
0x0576,,
|
||||
0x057A,,
|
||||
0x057F,,
|
||||
0x0580,,
|
||||
0x058F,,
|
||||
0x0596,,
|
||||
0x059C,,
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue