Difference between revisions of "MG/Development"

From MegaGlest
Jump to navigation Jump to search
(Undo revision 8882 by 小丑遊戲 (talk))
Tag: Undo
 
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
 
For people who would like to work on MegaGlest, the MegaGlest team has tried to work hard to make things as easy for the users as possible. Below is a list of links to try to assist anyone who is interested in helping with development or just to learn for your own enjoyment.
 
For people who would like to work on MegaGlest, the MegaGlest team has tried to work hard to make things as easy for the users as possible. Below is a list of links to try to assist anyone who is interested in helping with development or just to learn for your own enjoyment.
(對於希望使用MegaGlest的人,MegaGlest團隊一直在努力工作,以使用戶盡可能容易。 下面是一個鏈接列表,以嘗試幫助有興趣幫助開發或只是學習自己的樂趣的任何人。)
 
  
MegaGlest is hosted at GitHub(MegaGlest託管在GitHub):
+
MegaGlest is hosted at GitHub:
 
* Game engine: [https://github.com/MegaGlest/megaglest-source megaglest-source]
 
* Game engine: [https://github.com/MegaGlest/megaglest-source megaglest-source]
 
* Game assets: [https://github.com/MegaGlest/megaglest-data megaglest-data]
 
* Game assets: [https://github.com/MegaGlest/megaglest-data megaglest-data]
Line 9: Line 8:
  
 
Please refer to the topics below for further information.
 
Please refer to the topics below for further information.
(請參考下面的主題以獲取更多信息。)
 
  
 
==Accessing GIT==
 
==Accessing GIT==

Latest revision as of 20:58, 5 January 2021

Introduction[edit]

For people who would like to work on MegaGlest, the MegaGlest team has tried to work hard to make things as easy for the users as possible. Below is a list of links to try to assist anyone who is interested in helping with development or just to learn for your own enjoyment.

MegaGlest is hosted at GitHub:

Please refer to the topics below for further information.

Accessing GIT[edit]

Compiling[edit]

Installers[edit]

Installers make it easy for people to get the software setup on their computers, so when the MegaGlest team makes a new stable release, they also prepare/build Installers. As of v3.5.1 megaglest's build system support 'make install' style installation on Linux based platforms. The following is an example of how to do this in Ubuntu:

cd mk/linux
mkdir build
cd build
cmake ../../..
make -j 3
sudo make install
megaglest

Testing[edit]

Once a new revision is successfully compiled, newly added features need extensive testing so that a stable and working version is shipped.

Testing the game menu[edit]

If there are problems with the game related to the game menu, edit source/shared_lib/include/platform/sdl/thread.h and uncomment the following line (remove the leading double slash) before recompiling.

//#define DEBUG_MUTEXES

See Also[edit]