equal
deleted
inserted
replaced
1013 * @see SetDirtyBlocks |
1013 * @see SetDirtyBlocks |
1014 */ |
1014 */ |
1015 void DrawDirtyBlocks() |
1015 void DrawDirtyBlocks() |
1016 { |
1016 { |
1017 byte *b = _dirty_blocks; |
1017 byte *b = _dirty_blocks; |
1018 const int w = ALIGN(_screen.width, 64); |
1018 const int w = Align(_screen.width, 64); |
1019 const int h = ALIGN(_screen.height, 8); |
1019 const int h = Align(_screen.height, 8); |
1020 int x; |
1020 int x; |
1021 int y; |
1021 int y; |
1022 |
1022 |
1023 if (IsGeneratingWorld() && !IsGeneratingWorldReadyForPaint()) return; |
1023 if (IsGeneratingWorld() && !IsGeneratingWorldReadyForPaint()) return; |
1024 |
1024 |