Can someone refresh me on indexing surfaces please

Blitz3D Forums/Blitz3D Programming/Can someone refresh me on indexing surfaces please

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Just keep a link between the surface, brush and texture name.
Type SurfTex
Field surf
Field texname$
;Field brush
End Type

Remember to free them when you are finished (GetBrushTexture, GetSurfaceBrush, GetEntityBrush create new copies).