User Tag List

Results 1 to 3 of 3

Thread: Refactoring of ffscript.*

  1. #1
    ZC Contirbutor ZC Developer ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,030
    Mentioned
    95 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,586
    Level
    19
    vBActivity - Bars
    Lv. Percent
    17.77%
    Daily Activity
    0%
    Weekly Activity
    51.56%
    Monthly Activity
    15.49%

    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.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  2. #2
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    68 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    10,794
    Level
    30
    vBActivity - Bars
    Lv. Percent
    80.26%
    Daily Activity
    0%
    Weekly Activity
    4.69%
    Monthly Activity
    4.56%
    I've moved this to a new thread, since it is unrelated to setting up CMake build environments.

  3. #3
    ZC Contirbutor ZC Developer ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,030
    Mentioned
    95 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,586
    Level
    19
    vBActivity - Bars
    Lv. Percent
    17.77%
    Daily Activity
    0%
    Weekly Activity
    51.56%
    Monthly Activity
    15.49%
    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.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

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