some minor questions

some minor questions

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

some minor questions

Post by Auswaschbar »

Hi everyone,

while coding stuff some questions came out of my mind:
1. After uninstalling python 2.4 spring complains about missing libraries. After I deactivated all python libraries from the build system, compiling works again. This leads to the question: Why is spring still linked against Python 2.4 AND Python 2.5 when it doesnt need neither 2.4 nor 2.5?

2. Is there any DEBUG preprocessor flag I can use when I want some code only be compiled in debug mode, not for releases?

3. Will it cause desyncs when different clients recieve chat messages in a different order or dont recieve some messages at all?

Thanks in advance
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

1) unitsync needs python for the python bindings. The requirement should be made optional in the build system though, and a better check should be made for the version of python.

2) We use DEBUG IIRC. (Should be easy to check though...)

3) Yes in some cases, particularly if .cheat is enabled since stuff like .give is actually a chat message too.
Post Reply

Return to “Engine”