On Monday, 3 April 2023 at 11:29:12 UTC, Hipreme wrote:
On Monday, 3 April 2023 at 09:08:42 UTC, dog2002 wrote:
Hello. The title sounds weird, but I try to explain it better.

In Unreal Engine and Unity, source code files don't use main() and other important functions. They have only a class. Like this:

```
class SomeClass: someInterface
{
    AFunctionFromTheInterface1()
    {

    }

    AFunctionFromTheInterface2()
    {

    }
}
```

And then all the source code files will be compiled into a single .dll/.so library, so the game engine can use one in a game.

I don't know what compiler does Unreal Engine use, but it uses C++.

https://github.com/MrcSnm/HipremeEngine/blob/66618c7783d62107bcaad393d5af5b86c9387b34/api/source/hip/api/package.d#L58


Thank you, looks almost what I need!

Reply via email to