Git Product home page Git Product logo

ff2-official's Introduction

Welcome to the official FF2 repository! Build Status

Want the latest version? Check out the Releases page. You can also check out the forums to learn more. Brought to you by 50DKP.

Include File Changes


Some third-party include files were modified in order to make FF2 work properly with or without the plugin that the include file belonged to. It is highly recommended that you also make these changes when compiling FF2.

smac.inc:

  • Remove:
MarkNativeAsOptional("SMAC_CheatDetected");

rtd.inc: Inside public SharedPlugin:__pl_rtd =

  • Remove:
required = 1
  • Add:
#if defined REQUIRE_PLUGIN
required = 1
#else
required = 0
#endif

Formatting


If you wish to make a pull request, the following formatting rules should be adhered to:

  • Braces on new line
  • No spaces between parentheses or most operators (=, ==, *, |, &, etc)
    • Exception: One space between &&, ||, ;, and ,
    • Note: & and | formatting rules are currently not enforced
  • Tabs, not spaces
  • No tabs on newline
  • No whitespace after a line
  • Bracket all conditional statements, even if it is not required (one-line if statements, for example)
  • Variable names should be camel-cased (markdownIsStupid)
  • Method names should be capitalized normally (MarkNativeAsOptional)

Example:

if(markdownIsStupid)
{
	if(ubuntuIsAmazing)
	{
		while(!someOtherBoolean)
		{
			for(new i=0; i<=someOtherNumber; i+=3)
			{
				if(i==someNumber && moreVariableNames!=42)
				{
					someOtherBoolean=true;
				}
			}
		}
	}

	someBitWiseThing[someNumber]=someBitWiseThing[someNumber]|coolBitWiseVariable;
	return;
}

ff2-official's People

Contributors

50wliu avatar akuba- avatar bbg-theory avatar dalix avatar lawdy avatar maximilianrob avatar naydef avatar nopied avatar powerlord avatar shadow93 avatar wildcard65 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.