annotate round 6

This commit is contained in:
Dethrace Labs 2025-06-17 10:50:49 +12:00
parent 58539fb6e5
commit 5e3436626c
13 changed files with 39 additions and 3 deletions

View File

@ -6,6 +6,8 @@ br_scalar gYon_factor;
// GLOBAL: CARM95 0x530c80
br_material* gMaterial[2];
// These variables are all used only by the 3dfx patch
int g16bit_palette_valid;
tException_list gExceptions;
br_actor* g2d_camera;

View File

@ -6,6 +6,7 @@ tNet_mode gNet_mode;
// GLOBAL: CARM95 0x550fa0
tNet_game_player_info gNet_players[6];
br_matrix34 gRoot_to_camera;
// GLOBAL: CARM95 0x550af0
@ -13,6 +14,7 @@ tCar_detail_info gCar_details[60];
// GLOBAL: CARM95 0x550ae0
int gThis_net_player_index;
br_scalar gPedestrian_distance_squared;
// GLOBAL: CARM95 0x551434
@ -44,8 +46,11 @@ tNet_game_options* gNet_options;
// GLOBAL: CARM95 0x550ac0
br_vector3 gCamera_direction;
int gNetwork_available;
int gPedestrian_image;
int gHighest_pedestrian_value;
// GLOBAL: CARM95 0x551430

View File

@ -41,6 +41,7 @@
// GLOBAL: CARM95 0x520040
int gPalette_munged;
int gColourValues[1];
// GLOBAL: CARM95 0x520048
@ -177,12 +178,15 @@ br_colour gRGB_colours[9] = {
16711935u,
13649666u
};
// GLOBAL: CARM95 0x5201c8
br_matrix34 gSheer_mat = {
{ { 1.0, 0.0, 0.0 },
{ 0.0, 1.0, 0.0 },
{ 0.0, 0.0, 1.0 },
{ 0.0, 0.0, 0.0 } }
};
// GLOBAL: CARM95 0x5201f8
br_matrix34 gIdentity34 = {
{ { 1.0, 0.0, 0.0 },
{ 0.0, 1.0, 0.0 },
@ -192,12 +196,17 @@ br_matrix34 gIdentity34 = {
// GLOBAL: CARM95 0x520228
tShadow_level gShadow_level = eShadow_us_only;
// GLOBAL: CARM95 0x52022c
br_scalar gShadow_hither_z_move;
// GLOBAL: CARM95 0x520230
br_scalar gShadow_hither_min_move;
/* clang-format off */
// arrows pointing to 180, 202, 224, 246 degrees (step = 90 / 4 = 22(.5) degrees)
int gArrows[2][4][60] =
{
// GLOBAL: CARM95 0x520238
int gArrows[2][4][60] = {
{
// inner arrow (=fill)
{ 10, 0, 0, -1, 0, 1, 0, 0, -1, 0, -2, 0, 1, -1, 1, 1, 1, -2, 2, 2, 2, },
@ -284,6 +293,7 @@ br_pixelmap* gCursor_giblet_images[18];
// GLOBAL: CARM95 0x53e790
br_pixelmap* gEval_1;
br_pixelmap* gEval_2;
// GLOBAL: CARM95 0x53f8b8

View File

@ -49,6 +49,7 @@ int gVisible_length;
// GLOBAL: CARM95 0x53a1b8
int gLetter_y_coords[15];
int gThe_key;
// GLOBAL: CARM95 0x53a444

View File

@ -79,7 +79,9 @@ tHeadup_info gHeadup_image_info[32] = {
{ "UWON.PIX", eNet_only },
{ "DTIMEOUT.PIX", eNot_net }, // Only used by the demo, not present in the full version
};
char* gYour_car_names[2][6];
char* gDrivable_car_names[6];
// GLOBAL: CARM95 0x50a530

View File

@ -83,6 +83,8 @@ tU32 gLast_player_list_received;
// GLOBAL: CARM95 0x534c7c
tMin_message* gMin_messages;
// GLOBAL: CARM95 0x535dc0
void (*gAdd_proc)(tNet_game_details*);
// GLOBAL: CARM95 0x534c64

View File

@ -79,6 +79,7 @@ tNet_sequence_type gNet_race_sequence__newgame; // suffix added to avoid duplica
// GLOBAL: CARM95 0x550098
tNet_game_type gLast_game_type;
int gCurrent_net_game_count;
// GLOBAL: CARM95 0x53e5f4
@ -86,6 +87,7 @@ tU32 gAnne_flic_data_length;
// GLOBAL: CARM95 0x53e5a0
int gShifted_default_yet;
char* gNet_name;
// GLOBAL: CARM95 0x53e598

View File

@ -16,7 +16,9 @@ char* gOil_pixie_names[1] = { "OIL.PIX" };
// GLOBAL: CARM95 0x509a3c
int gNext_oil_pixie = 0;
br_scalar gZ_buffer_diff;
br_scalar gMin_z_diff;
// GLOBAL: CARM95 0x551dc0

View File

@ -77,7 +77,9 @@ int gTest_toggle;
// GLOBAL: CARM95 0x507118
int gAlready_elasticating;
int gVertices_used_in_non_edit_paths;
int gFaces_used_in_non_edit_paths;
// GLOBAL: CARM95 0x507124

View File

@ -156,6 +156,7 @@ tPed_gib_materials gPed_gib_materials[4];
// GLOBAL: CARM95 0x536b58
tProximity_ray gProximity_rays[20];
int gPed_colliding;
// GLOBAL: CARM95 0x550a90

View File

@ -71,6 +71,7 @@ tPipe_reset_proc* gReset_procs[32] = {
ResetProxRay,
NULL,
};
tPiped_registration_snapshot gRegistration_snapshots[5];
// GLOBAL: CARM95 0x531ffc
@ -78,6 +79,7 @@ tPipe_smudge_data* gSmudge_space;
// GLOBAL: CARM95 0x532010
tU32 gOldest_time;
int gCurrent_snapshot_registration_index;
// GLOBAL: CARM95 0x531fa0
@ -130,6 +132,7 @@ tU32 gYoungest_time;
// GLOBAL: CARM95 0x53208c
tU8* gPipe_buffer_phys_end;
tU8* gLocal_buffer_record_ptr;
// GLOBAL: CARM95 0x532018

View File

@ -34,13 +34,14 @@ int gIn_check_quit = 0;
// GLOBAL: CARM95 0x52148c
tU32 gLost_time = 0;
#if BR_ENDIAN_BIG
#if BR_ENDIAN_BIG
// GLOBAL: CARM95 0x521490
tU32 gLong_key[4] = { 0x6c1b995f, 0xb9cd5f13, 0xcb04200e, 0x5e1ca10e };
// GLOBAL: CARM95 0x5214a0
tU32 gOther_long_key[4] = { 0x67a8d626, 0xb6dd451b, 0x327e2213, 0x15c29437 };
#else
// GLOBAL: CARM95 0x521490
@ -52,8 +53,10 @@ tU32 gOther_long_key[4] = { 0x26d6a867, 0x1b45ddb6, 0x13227e32, 0x3794c215 };
// GLOBAL: CARM95 0x5214b0
int gEncryption_method = 0;
// GLOBAL: CARM95 0x544ef0
char* gMisc_strings[250];
br_pixelmap* g16bit_palette;
br_pixelmap* gSource_for_16bit_palette;

View File

@ -161,6 +161,7 @@ br_scalar gNearest_distance;
// GLOBAL: CARM95 0x534c50
br_actor* gNearest_actor;
br_actor* gStandard_lamp;
// GLOBAL: CARM95 0x534abc