Results 1 to 5 of 5

Thread: Enum files in MTW2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Enum files in MTW2

    A lot of the text files have optional _enum counterparts (which weren't so optional in RTW). These _enum files merely list all of the entires. For instance, export_descr_buildings.txt has an optional export_descr_buildings_enums.txt. Units file has one. Ancillaries file has one. Advice file has one. etc.

    I've been thinking about the utility of these "enum" files. Do they add anything to the game? Maybe they appreciably make the loading and look-up of their respective parent files faster/more efficient? I wonder if anyone has done a qualitative study into the matter.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  2. #2
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Enum files in MTW2

    Not that I know of.

  3. #3
    Lonck's Avatar Centenarius
    Join Date
    Jun 2006
    Location
    mah couch
    Posts
    851

    Default Re: Enum files in MTW2

    enums are leftover from rtw. I've read in these forums that the file names_enums.txt doesn't do anything. CA prolly didn't use em when they made M2TW but as they like to use their previous games' files they decided not to use the enums anymore.

  4. #4

    Default Re: Enum files in MTW2

    I think CA may have just streamlined their code, which is why they were left out of M2TW.

  5. #5
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Enum files in MTW2

    I wonder if they speed up the game any. The engine still looks for them on startup.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •