thread: .lvl files
View Single Post
  #644  
02-28-2010, 02:51 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

:
You mean there is some sort of table to "function calls", where each cell is one DWORD long, and points to a function identifier followed by some arguments?
Yes, but also I think each DWord in the path relates to the index of the function pointer table. Also the func args appear to always be the same, I think its:

-an int that has a magic meaning, the game always checks it for 2 or 4.
-a pointer to the current file location in the path
-a pointer to a global class that contains all kinds of stuff

Werid thing is that load_mud wont appear to load any data from the file pointer for location / is it scrubber / native / etc.. it knows this info by checking members in the global class pointer.

So I assume at the level load it somehow prepopulates this information
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote