Author Topic: megaglest source code question?  (Read 2065 times)

小丑遊戲

  • Archer
  • *
  • Posts: 23
    • View Profile
megaglest source code question?
« on: 7 August 2021, 09:43:49 »
問一個程序問題,那個遊戲中的小地圖,我想把它改到底部,要從minimap.cpp的哪個部分著手啊?
Ask a question about the program, the minimap in the game, I want to change it to the bottom, which part of minimap.cpp should I start with?


titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: megaglest source code question?
« Reply #1 on: 21 October 2021, 22:52:48 »
in metrics.cpp change this:

   minimapX= 10;
   minimapY= 750-128-30+16;

the virtual resolution of MG is 1000x750 ( no matter which real resolution of the screen )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios