home *** CD-ROM | disk | FTP | other *** search
- This file should probably be located in ftp://ftp.cdrom.com/pub/idgames2/utils/level_edit/misc
-
- This is a program to read from the Quake map files. It includes all source code.
- Use it to learn from. Cameron and myself are not experts but it should help
- anyone who wants to get jump started reading map files.
-
- 11-15-96 -The Martian
- All right, a few more changes!!!
-
- 1)readmap now excepts the filename as a parameter ie readmap.exe (filename)
-
- 2)It reads all entities, their attributes and some special brushes like platforms
-
- 3)all code include, plus examples of a test run. A test map is included, in
- it's modified test state it might not actually run in quake, but you can try
- it.
-
- 4)Everything else is for the same reason Cameron talks about below.
- ---------------------------------------------------------------------------------------------
- 11-12-96 -The Martian
-
- This code has been changed to run as a dos executable.
- The code was changed using Visual C++ 1.52 Pro and the
- make file has been included as well as the executable and a sample
- run of the program(test.out).
-
- To run sample just type readmap.exe it will look for the
- test.map in the same directory. This is something
- that should be changed to a param.
-
- I am no expert C coder but it works. Some changes
- will probably effect some of the computations. Therefore
- use this code to learn from. It gives only one of many ways
- to read a .map file but most of the code is from John Carmack. Most of code
- is taken from the QuakeED code that was placed on the id ftp site.
-
- Happy Coding!
-