RE: Patch news (3.5) (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> Norm Koger's The Operational Art Of War III



Message


ralphtricky -> RE: Patch news (3.5) (4/15/2015 9:42:24 PM)

quote:

ORIGINAL: FlipTrac_511
quote:

ORIGINAL: ralphtrick
I remember that I patched one area where the AI behavior was determined by the mouse location...

If you want to understand the complexity, Quake 3 has nearly 310K lines (including comments and blank lines) TOAW has about 170K.

I can't fathom how you figured out how a cursor was affecting AI...hiding in 170k lines of code. [&o][&o][&o]

It was a subtle problem. If I remember right, I was looking at the movement routine and it took in an x,y but actually used the current mouse position if the menu didn't pop up or something like that. When you're using the mouse to move that works great, but when it's the AI it's not going to work right. I don't remember if I was debugging through the AI or getting rid of the global mouse position.




Page: <<   < prev  2 3 4 5 [6]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.9375