Questions about trunk debug build

Discuss the future of Warzone 2100 with us.
User avatar
EVIL386
Trained
Trained
Posts: 80
Joined: 05 Jan 2007, 02:11

Questions about trunk debug build

Post by EVIL386 »

Hi there, just recently compiled rev. 7812 and I've noticed a couple of changes.

When I enter debug mode, every couple of minutes all my research completes and I get an additional 10000 units of power, I searched the code high and low and I couldn't find where this was happening, can you point me at the lines or at least which files?

I have a same game where this is already happening if it's a bug, but I imagine it's a feature to help speed up games when debugging.

Also congrats on your fantastic looking new renderer.

Regards, EViL386.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Questions about trunk debug build

Post by Per »

It is a bug.
User avatar
EVIL386
Trained
Trained
Posts: 80
Joined: 05 Jan 2007, 02:11

Re: Questions about trunk debug build

Post by EVIL386 »

Hmm, i've been poking around the code but since I can't get MSVC to compile (I have 2008, apparently there are files/projects missing) I can't breakpoint around the code, I've done searches for addPower, modifyResources and others but to no avail. Sorry :(