comparison Render.h @ 1206:ab6560001f5b

arrays to std::arrays phase 2 - some more arrays converted
author Grumpy7
date Sun, 09 Jun 2013 01:10:49 +0200
parents 24454b5c9268
children 96a81634669e
comparison
equal deleted inserted replaced
1205:8c02e6f74b29 1206:ab6560001f5b
255 int field_44; 255 int field_44;
256 char pErrorMessage[48]; 256 char pErrorMessage[48];
257 char field_78[208]; 257 char field_78[208];
258 }; 258 };
259 #pragma pack(pop) 259 #pragma pack(pop)
260 extern struct RenderVertexD3D3 pVertices[50]; 260 extern struct RenderVertexD3D3 pVertices[50];
261 261
262 /* 182 */ 262 /* 182 */
263 #pragma pack(push, 1) 263 #pragma pack(push, 1)
264 struct Render 264 struct Render
265 { 265 {
500 500
501 501
502 502
503 503
504 extern int uNumDecorationsDrawnThisFrame; // weak 504 extern int uNumDecorationsDrawnThisFrame; // weak
505 extern RenderBillboard pBillboardRenderList[500]; 505 extern std::array<RenderBillboard, 500> pBillboardRenderList;
506 extern unsigned int uNumBillboardsToDraw; 506 extern unsigned int uNumBillboardsToDraw;
507 extern int uNumSpritesDrawnThisFrame; // weak 507 extern int uNumSpritesDrawnThisFrame; // weak
508 508
509 509
510 510
511 511
512 extern RenderVertexSoft array_507D30[50]; 512 extern std::array<RenderVertexSoft, 50> array_507D30;
513 extern RenderVertexSoft array_508690[50]; 513 extern std::array<RenderVertexSoft, 50> array_508690;
514 extern RenderVertexSoft array_508FF0[50]; 514 extern std::array<RenderVertexSoft, 50> array_508FF0;
515 extern RenderVertexSoft array_509950[50]; 515 extern std::array<RenderVertexSoft, 50> array_509950;
516 extern RenderVertexSoft array_50A2B0[50]; 516 extern std::array<RenderVertexSoft, 100> array_50A2B0;
517 extern RenderVertexSoft array_50AC10[50]; 517 extern std::array<RenderVertexSoft, 50> array_50AC10;
518 518
519 extern RenderVertexSoft array_73D150[20]; 519 extern std::array<RenderVertexSoft, 20> array_73D150;
520 520
521 extern RenderVertexD3D3 d3d_vertex_buffer[50]; 521 extern std::array<RenderVertexD3D3, 50> d3d_vertex_buffer;
522 522
523 extern RenderVertexSoft *ptr_801A04; 523 extern RenderVertexSoft *ptr_801A04;
524 extern RenderVertexSoft *ptr_801A08; 524 extern RenderVertexSoft *ptr_801A08;
525 525
526 extern RenderVertexSoft pVerticesSR_801A10[384]; 526 extern std::array<RenderVertexSoft, 384> pVerticesSR_801A10;
527 extern RenderVertexSoft pVerticesSR_806210[384]; 527 extern std::array<RenderVertexSoft, 384> pVerticesSR_806210;