Skip to content

How to use ReDefine #6

@burner1024

Description

@burner1024

Hi. I couldn't find a separate repo for ReDefine, so I guess this is the only place where I can ask...

I'd like to try ReDefine for UP/RP, in order to reduce code volume further. As far I understand, it automatically processes headers, and replaces what's possible. That looks nice, but I have a few questions (and that's just getting started):

  1. It appears that it does some sort of autoformat. Is it possible to do that separately? Unified code style is good, but I'll like to be able to inspect actual code change, and including whitespace just shows that the whole file is different.
  2. How safe is it? In terms of silently doing a wrong thing which then gets compiled and shipped?
  3. Why multiple macros are specified expllicitly in the config? Does it replace only those specified?
  4. What do I to with this, for example:
    WARNING (IfArgumentIs) function<critter_add_trait> must be added to configuration before using this action : fileline<arroyo\acbrahmn.ssl:128> :: critter_add_trait(self_obj,TRAIT_OBJECT,OBJECT_TEAM_NUM,TEAM_ARROYO);
  5. Reasonably, if run on UP/RP codebase without any changes, how well do you think it'll work? What would probably need adjustment/tailoring?

ref BGforgeNet/Fallout2_Unofficial_Patch#33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions