Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by madpower2000. 07/09/26 18:09
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 07/09/26 13:16
New Zorro version 3.11
by jcl. 07/06/26 06:56
Synthetic test data in Zorro
by jcl. 07/06/26 06:54
Parameter filename BUG
by walt_Schwarz. 07/02/26 15:36
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (AndrewAMD, TipmyPip, madpower2000, riggi89), 4,717 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
get address of overloaded function #409690
10/20/12 21:39
10/20/12 21:39
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
hi,

is there any possiblity to get the address of an overloaded function (by name, line in script or whatever). Probably there is an internal way, as the debugger is able to determine the local function from a line of code.

If there is an internal way - could you please at least export the symbols for this function in the acknex.dll?

Thanks a lot,
regards,
Timo

Re: get address of overloaded function [Re: TechMuc] #409750
10/22/12 06:45
10/22/12 06:45
Joined: Jul 2000
Posts: 28,119
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,119
Frankfurt
There is no function at the moment to determine the separate addresses of overlaoded functions.

Re: get address of overloaded function [Re: jcl] #409755
10/22/12 07:04
10/22/12 07:04
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Hmm are there any future plans? I mean it would be sufficient to let the engine_getscript function return all different overloaded function in subsequent calls. E.g.

Code:
std::vector<void*> p_overloaded;
void* p_single = 0;
while((p_single = (void*)engine_getscript("overloaded_function")) != 0) {
   p_overloaded.push_back(p_single);
}



Thanks a lot,
Timo

Last edited by TechMuc; 10/22/12 07:04.
Re: get address of overloaded function [Re: TechMuc] #409763
10/22/12 07:39
10/22/12 07:39
Joined: Jul 2000
Posts: 28,119
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,119
Frankfurt
It would be better to add a new engine_getscript function that gets the number of the function as argument. I've put that on my list.


Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1