- Refined state handling for TBlockInfo

- Added caching of normals into TBlockInfo
- Added differentiation for low and high res materials to TBlockInfo
- Removed draw list clearing from FillDrawList
- Changed TScreenBuffer.Store to return a reference to the stored TBlockInfo
- Added missing ; to GetSerial
- More cleanups in ULandscape.pas
- Moved several local variables of TfrmMain.Render into TfrmMain members
- Moved several size related variable initializations from Render into OnResize
- Extracted GetDrawOffset
- Added seperate RebuildScreenBuffer
This commit is contained in:
2009-05-17 15:32:51 +02:00
parent 61db743ee5
commit fee66eada8
4 changed files with 124 additions and 106 deletions

View File

@@ -971,6 +971,7 @@ object frmMain: TfrmMain
OnMouseUp = oglGameWindowMouseUp
OnMouseWheel = oglGameWindowMouseWheel
OnPaint = oglGameWindowPaint
OnResize = oglGameWindowResize
end
object pnlChatHeader: TPanel
Left = 0