Mercurial > mm7
comparison Render.h @ 1207:96a81634669e
arrays to std::arrays phase 3 - finishing global arrays
undone changes in render.h, because framerate dropped by half
author | Grumpy7 |
---|---|
date | Sun, 09 Jun 2013 01:30:36 +0200 |
parents | ab6560001f5b |
children | 0aeac0b9ca30 |
comparison
equal
deleted
inserted
replaced
1206:ab6560001f5b | 1207:96a81634669e |
---|---|
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 std::array<RenderBillboard, 500> pBillboardRenderList; | 505 extern RenderBillboard pBillboardRenderList[500]; |
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 std::array<RenderVertexSoft, 50> array_507D30; | 512 extern RenderVertexSoft array_507D30[50]; |
513 extern std::array<RenderVertexSoft, 50> array_508690; | 513 extern RenderVertexSoft array_508690[50]; |
514 extern std::array<RenderVertexSoft, 50> array_508FF0; | 514 extern RenderVertexSoft array_508FF0[50]; |
515 extern std::array<RenderVertexSoft, 50> array_509950; | 515 extern RenderVertexSoft array_509950[50]; |
516 extern std::array<RenderVertexSoft, 100> array_50A2B0; | 516 extern RenderVertexSoft array_50A2B0[50]; |
517 extern std::array<RenderVertexSoft, 50> array_50AC10; | 517 extern RenderVertexSoft array_50AC10[50]; |
518 | 518 |
519 extern std::array<RenderVertexSoft, 20> array_73D150; | 519 extern RenderVertexSoft array_73D150[20]; |
520 | 520 |
521 extern std::array<RenderVertexD3D3, 50> d3d_vertex_buffer; | 521 extern RenderVertexD3D3 d3d_vertex_buffer[50]; |
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 std::array<RenderVertexSoft, 384> pVerticesSR_801A10; | 526 extern RenderVertexSoft pVerticesSR_801A10[384]; |
527 extern std::array<RenderVertexSoft, 384> pVerticesSR_806210; | 527 extern RenderVertexSoft pVerticesSR_806210[384]; |