Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script helpers by modders for modders
Vale Offline
Member

Posts: 92
Threads: 13
Joined: Mar 2014
Reputation: 7
#7
RE: Script helpers by modders for modders

Ok, so heres the idea of a helper. (Not only does hpl use them, but most programming languages have some form of them.)
Imagine you create a bunch of functions that you can use between a bunch of maps. Rather than coding them for every map, you code them into another 'helper' hps file which you include in each map. You can then use these functions in that map!
So a function like ImGui_drawGfx(), which may seem like something hardcoded into Soma, is actually a function coded somewhere else and included with a #include.
Its no different from you making a custom void myFunc().
(This post was last modified: 10-08-2015, 07:24 PM by Vale.)
10-08-2015, 07:23 PM
Find


Messages In This Thread
Script helpers by modders for modders - by Vale - 10-08-2015, 02:46 PM
RE: Script helpers by modders for modders - by Vale - 10-08-2015, 07:23 PM



Users browsing this thread: 1 Guest(s)