Author Topic: Coherent order of resource requirements  (Read 1072 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Coherent order of resource requirements
« on: 2 March 2011, 00:02:10 »
I think it would really look nicer if all resource requirements were always listed in the same order: gold, stone, wood, just as they display on top of the screen. Right now, some buildings and units list resources required to build them in this, others in that order...

If this is just dependant on the order the resource requirements are listed in on the XML files, and if everyone is fine with me changing those, then I'll happily do it.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Coherent order of resource requirements
« Reply #1 on: 2 March 2011, 01:43:03 »
I think it would really look nicer if all resource requirements were always listed in the same order: gold, stone, wood, just as they display on top of the screen. Right now, some buildings and units list resources required to build them in this, others in that order...

If this is just dependant on the order the resource requirements are listed in on the XML files, and if everyone is fine with me changing those, then I'll happily do it.
Support. For Glest 4, that is. I don't think its time to be adding more new features to either individual engine (just finish up what was started).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Coherent order of resource requirements
« Reply #2 on: 4 March 2011, 02:18:28 »
Well to me this is really more a bug fix than a feature. Especially if it should just mean we need to edit the XML files.

But it should probably be put into the correct order programmatically by the time it is written to the screen so that things don't depends on proper order in the XML files. Even then, I assume it is not a major code change.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Coherent order of resource requirements
« Reply #3 on: 16 March 2011, 05:27:36 »
A simple 5 minute code fix, its in svn (both unit and upgrade requirements)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Coherent order of resource requirements
« Reply #4 on: 20 March 2011, 02:03:40 »
Yeay, thanks! :)
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything