Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Main board on the left side
- if (m_board_0)
- {
- float InternalHeightScale = *(float*)0x10BDD3C; // ptr_InternalHeightScale
- const float HeightScale720p = 2.142857075f; // InternalHeightScale value for 720p
- float grid_x_start = x_center + (m_board_0->m_mat_C[0][3] * (0.515f * x_scale));
- float grid_y_start = y_center - ((187.0f / HeightScale720p) * InternalHeightScale);
- int inv_size_x = (int)m_board_0->m_size_x_4; // Total number of squares in the X axis
- int inv_size_y = (int)m_board_0->m_size_y_5; // Total number of squares in the Y axis
- float curSquare = grid_x_start; // Set curSaqure as the first square
- float curRow = grid_y_start;
- float squareSizeX = 50.0f * x_scale;
- float squareSizeY = (43.0f / HeightScale720p) * InternalHeightScale;
- float squarePadding = 2.0f; // Space in between each square
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement