Hercules Renewal

Ind

Development Administrator
Staff member
Messages
1,655
Points
113
Starting today we'll be going throughout all of our source code to modify how functions are called. so what?

Benefit

With this new implementation chances to have custom source modifications conflict when you update hercules will be drastically reduced. How? Instead of modifying existing functions users will be able to create a new version of them elsewhere, e.g. in a custom file, and have it replace the original one. How? very simple.

battle->check_target = my_new_check_target_function;
PluginsThis change opens the possibility for a new plugin implementation in the future.

Project Vision

We understand this move will conflict with some points in our project vision, we'll be modifying it soon.

More

We want Hercules to stand out, with that in mind we've been planning features exclusive to Hercules, features other projects won't be able to merge. And how is that even possible? features that will integrate with our forum is one example of them. For example a feature capable of automatically looking for new updates in scripts/modifications downloaded from our upcoming downloads section.

 
creative & interesting features....I love it.

 
Reallly a very good idea, and:
We want Hercules to stand out, with that in mind we've been planning features exclusive to Hercules, features other projects won't be able to merge. And how is that even possible? features that will integrate with our forum is one example of them. For example a feature capable of automatically looking for new updates in scripts/modifications downloaded from our upcoming downloads section.
 
This for me is the best part, innovation for Hercules, ambitions for the project grow is really cool. 
 
Onward!!!
 
I applaud the team and its open-mind to spring forward past hurdles which have hindered more innovative design and concepts of the past. Thank you for being willing to advance, and not just stick to the same old same. This truly puts Hercules at the front of the line of emulation projects imho. Kudos!

 
Reallly a very good idea, and:
We want Hercules to stand out, with that in mind we've been planning features exclusive to Hercules, features other projects won't be able to merge. And how is that even possible? features that will integrate with our forum is one example of them. For example a feature capable of automatically looking for new updates in scripts/modifications downloaded from our upcoming downloads section.
 
This for me is the best part, innovation for Hercules, ambitions for the project grow is really cool. 
 
Onward!!!
Nice, function overloading, hope this not get copied
default_smile.png


 
Last edited by a moderator:
Very good. Do you plan to do something in help.txt ? If the lines are aligned in the txt file in game are all misaligned

 
First I would like to say... Very ambitious project, I like it and I will try it out as soon as possible.

Second... How are you implementing this? It would be nice to have function pointer arrays for each module, this would make runtime modification possible.

Edit: And.... that's exactly what you are doing, how nice ^^

 
Last edited by a moderator:
Documentation about this, how can we create/modify functions and the correct use of this new function.

 
Documentation about this, how can we create/modify functions and the correct use of this new function.
it should make no big difference when doing that really, for example, before:
Code:
if (battle_check_target(target, bl, BCT_ENEMY) > 0)
now:
Code:
if (battle->check_target(target, bl, BCT_ENEMY) > 0)
as for creating functions, its up to you whether you want to place them in the interface or not.
 
Back
Top