V
V
violet342019-01-23 16:56:19
Game development
violet34, 2019-01-23 16:56:19

How to connect the standard library to the scripting language of the game?

It is necessary to connect the standard library to the scripting language of the game Corsairs GPK, it is written in C. There is no way to edit the engine (I have no idea how to do it).
What are the options?
That is, if I write #include in scripts, he will not see it, if I put it there and write #include ".../windows.h", he, of course, does not see everything else that she refers to.
So far, I can only copy all the standard libraries from the compiler and write the path to others in each, although such actions can be automated, but still it is long and dreary.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2019-01-23
@saboteur_kiev

There are no options. You need to have an idea how to do it.
It is impossible to connect the "standard" C language library directly to the Scripting language.
If the game has a scripting language, you need to study it, find out if it is possible to connect some libraries in this language, and connect its libraries.
You cannot link libraries from another language.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question