• 0

    posted a message on Galaxy++ editor
    Quote from SBeier: Go

    I don't know about tabs - currently pressing tab results in 1-4 spaces (up to the next multiple of 4 characters). What is your reason for wanting tabs instead? Perhaps I could do something else.

    It's just a coding preference. In all of my coding I always configure the editor to put in the tab character instead of some spaces. It's not really a high priority thing but its also pretty easy to implement I think.

    Posted in: Third Party Tools
  • 0

    posted a message on Galaxy++ editor

    I have another suggestion, about triggers. The process of writing triggers is extremely repetitive and often requires the same basic code. Why not condense that into a single declaration, like so:

    trigger gt_MeleeInitialization : EventMapInit {
        bool conditions() {
            if (DontRunThisTrigger()) return false;
        }
        void actions() {
            DoStuff();
        }
    }
    

    Its kinda like the trigger "class" extends the map init event. If you need to pass parameters to the event function, you can do it like so:

    trigger gt_TimerExpired : EventTimer(gv_MyTimer) {
    

    the example before would be compiled to:

    trigger gt_MeleeInitialization;
    bool gt_MeleeInitialization_Func(bool testConds, bool runActions) {
        if (testConds) {
            if (DontRunThisTrigger()) {
                return false;
            }
        }
        if (!runActions) {
            return true;
        }
        DoStuff();
        return true;
    }
    void gt_MeleeInitialization_Init() {
        gt_MeleeInitialization = TriggerCreate("gt_MeleeInitialization_Func");
        TriggerAddEventMapInit(gt_MeleeInitialization);
        return;
    }
    

    As you can see, it's a major reduction in code etc.

    Posted in: Third Party Tools
  • 0

    posted a message on Galaxy++ editor

    Hi, I really like your editor, it's really been speeding up my development time and ease.
    I have just a few requests:
    - an option to use tabs instead of spaces
    - when making a new project, choose the path where it is created
    - the ability to move the file tabs around, re-order them.

    Of course, if you are willing to open source your project I could definitely help!

    Posted in: Third Party Tools
  • To post a comment, please or register a new account.