Amaroq7 / SPMod

SourcePawn Scripting Engine for Half-Life 1 based games
GNU General Public License v3.0
27 stars 12 forks source link

Architecture changes #50

Closed Mistrick closed 4 years ago

Mistrick commented 5 years ago

Description

My suggestion is move binds for other languages to extentions, in core create only interfaces for another modules. With this we can easier create binds for more languages(if someone will want add support for other language).

Question for discussion: Maybe better develop metamod instead metaplugin for interfaces?

Amaroq7 commented 5 years ago

Maybe better develop metamod instead metaplugin for interfaces?

Could you elaborate? Should we develop new metamod or use as a base existing one? What would be the benefits of this move?

Mistrick commented 5 years ago

For start i think use as a base, leave existing interfaces and parallel develop new. In future we can replace old interfaces to new. Benefits are remove one level. Current state(considering the first suggestion): engine->metamod->spmod->extention with other language->plugin With first suggestion and move to metamod level we'll get: engine->metamod->plugin with other language->plugin

Amaroq7 commented 5 years ago

Which metamod would the best to use as a base? As we know there are a few available on the net.

theAsmodai commented 5 years ago

I don't recommend to integrate it's into metamod. Will be better to make universal core and separate extensions (adapters) for different scripting languages.