User Tag List

Results 1 to 3 of 3

Thread: Refactoring of ffscript.*

  1. #1
    Mad, Mad, Author ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    702
    Mentioned
    61 Post(s)
    Tagged
    1 Thread(s)

    Refactoring of ffscript.*

    One thing that would be very wise to do in this branch, if @Gleeok did not already do it, is to make the ArrayH class (and the SH class in general) available globally. At present, they are all very much tied to ffscript.cpp, and there is no way of handling them externally. The way they are set up in the 2.50.x tree, is somewhat idiotic, and you can't call these functions from outside of ffscript.cpp. I will set this up if it isn't already done, but many values will need rearranging.

    I would say that all the ffcscript vars and classes belong in ffscript.h, and that the ffscript functions should be moved into classes, or rather, into a new 'class ffscript'.
    Last edited by ZoriaRPG; 01-08-2017 at 12:54 PM.


    Script Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | stdArguments.zh (v.6.9.9/1) | | Timers.zh (v.1.5)
    ZScript | ZC Dev | ZC 2.53 | Alucard's: stdCombos.zh (v1.1) | stdWeapons.zh | particles.z
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0.

  2. #2
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,074
    Mentioned
    36 Post(s)
    Tagged
    0 Thread(s)
    I've moved this to a new thread, since it is unrelated to setting up CMake build environments.

  3. #3
    Mad, Mad, Author ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    702
    Mentioned
    61 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by DarkDragon View Post
    I've moved this to a new thread, since it is unrelated to setting up CMake build environments.
    Fair enough. I seem to remember Gleeok already doing this, or something related to it. At the least, I recall something of this sort in the old master branch. I put it in that thread as it may have fallen in line with the list of refactoring associated to it, but it can live in its own topic right enough.


    Script Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | stdArguments.zh (v.6.9.9/1) | | Timers.zh (v.1.5)
    ZScript | ZC Dev | ZC 2.53 | Alucard's: stdCombos.zh (v1.1) | stdWeapons.zh | particles.z
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social