Not logged inOpenClonk Forum
Up Topic Some Questions about Source Code

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Anonymous
Hi,

I am trying to get a general gist on how the source code works, specifically in finding out the exact file/function that deals with

1) the movement speed of shoveling underground
2) the speed of cutting down a tree
3) the attack speed of the bow. 

Relating to 2) 3)
From what I searched, it seems like the function/classes involved in player movement is under master/src/control/C4PlayerControl.cpp
the ExecuteControl() and Execute() functions are related to judging when the keys are being pressed down and doing the action, but where would the info be about specifically
the object axe, and executing axe moves to cut tree?  Or the executing bow and arrow?

Relating to 1)
https://git.openclonk.org/openclonk.git/blob/refs/heads/master:/src/object/C4Movement.cpp
Under src/object/C4Movement.cpp, I see the function DoMovement()...  Is this the code for shoveling underground?

Thank you in advance

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill