Welcome, Guest! Login | Register
Calling internal functions from 3impact engine
Info
Report
49 Posts

I think 3Impact game engine is behind 3drad. Is it possible to call 3impact dll which is in 3drad folder using idllcall Function. Do all 3impact functions are available? Can i get or send object handle to 3impact dll?
Created on: 2 months ago
Edited on: 1 month ago
Info
Report
217 Posts

Some 3Impact functions are exposed in the scripitng interface. And yes, 3D Rad is written on top of 3Impact.

Unfortunately, you can't call 3Impact functions from iDllCall manually. You will need a secondary dll wrapper that is compatible with the 3D Rad function signature that is required by the iDllCall function.
Created on: 2 months ago
Edited on: 2 months ago
Info
Report
49 Posts

bad news
what is dllwrapper ?
3drad can be recreated using 3impact
Created on: 2 months ago
Info
Report
217 Posts

Quote from: Jaysonbourn


what is dllwrapper ?

https://en.wikipedia.org/wiki/Wrapper_library (Answer for your question is here)
You will need to make function prototypes that are compatible with the iDllLoad function.
The prototype for these functions is
 void __cdecl f(float *) /

For example
 
extern "C"
{
	void __declspec(dllexport) MyAdd(float *vals)
	{
		vals[2] = vals[1] + vals[0];
	}
}

More information about writing 3D Rad Dlls is here :
https://github.com/NicusorN5/3D_Rad_Extender_Lib/wiki/Making-a-simple-DLL-Function



Quote from: Jaysonbourn


3drad can be recreated using 3impact

Since 3D Rad was written on top of 3Impact (on your words: it was made using 3Impact) then of course.
Created on: 2 months ago
Edited on: 2 months ago
Reply
Preview
Post
Or use the advanced reply form here...
Sponsored