Quake2/Halflife .bsp file loader!
hi
i need to use a loader for map files of q2/halflife (.bsp). i know the format of quake2 .bsp files but dont wanna reinvent the wheel..does anyone have some links to its code or if someone's coded it himself..kindly help me.
thanks
On a long enough time line, the survival rate drops to zero.
[edited by - b1llz on November 4, 2002 4:33:21 PM]
Ok, I have just released the source to my 2 year old engine that I forgot about . Grab the source here, about 640k zipped with the msvc 6 project included (no datafiles are included).
It loads half-life .bsp files and the model files with animations with support for rendering it in directx.
The relevant files are level.cpp, token.cpp, wad.cpp, level.h, token.h and wad.h for bsp loading and rendering.
Good luck .
Edit: can't link to files directly.
[edited by - premandrake on November 4, 2002 5:13:39 PM]
It loads half-life .bsp files and the model files with animations with support for rendering it in directx.
The relevant files are level.cpp, token.cpp, wad.cpp, level.h, token.h and wad.h for bsp loading and rendering.
Good luck .
Edit: can't link to files directly.
[edited by - premandrake on November 4, 2002 5:13:39 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement