Deciphering the Code

Discuss Chaos Strikes Back for Windows and Linux, an unofficial port of Chaos Strikes Back to PC by Paul Stevens, as well as CSBuild, an associated dungeon editor.

Moderator: Zyx

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Deciphering the Code

Post by Paul Stevens »

Several people (well at least a couple) have taken some interest
in figuring out what is happening inside the code. For example, how
Wisdom points are computed.

I am willing to put almost anything into the debug version of
CSB for Windows. I, personally, have found the Timer Trace to
be very valuable in helping my understanding. If you would
like something added to the trace:

1)Prepare a print statement and put it into the code. Mark
it clearly so I can find it. Like surround it with comments

//****** Added trace ****
Printf(".........
//****** End added trace

2)I will put it into the debug version of the program.
3)I will post the debug version
4)You can see the results in the trace file.

These will become permanent additions to the code
with #ifdef - #endif so only your additions will show
up when I compile it for you.

PAul
prsteven@facstaff.wisc.edu
Post Reply

Return to “Chaos Strikes Back for Windows & Linux (CSBWin) / CSBuild”