Go to file
Hein-Pieter van Braam b696beea65 Correct hash behavior for floating point numbers
This fixes HashMap where a key or part of a key is a floating point
number. To fix this the following has been done:

* HashMap now takes an extra template argument Comparator. This class
gets used to compare keys. The default Comperator now works correctly
for common types and floating point numbets.

* Variant implements ::hash_compare() now. This function implements
nan-safe comparison for all types with components that contain floating
point numbers.

* Variant now has a VariantComparator which uses Variant::hash_compare()
safely compare floating point components of variant's types.

* The hash functions for floating point numbers will now normalize NaN
values so that all floating point numbers that are NaN hash to the same
value.

C++ module writers that want to use HashMap internally in their modules
can now also safeguard against this crash by defining their on
Comperator class that safely compares their types.

GDScript users, or writers of modules that don't use HashMap internally
in their modules don't need to do anything.

This fixes #7354 and fixes #6947.
2017-02-16 18:44:29 +01:00
core Correct hash behavior for floating point numbers 2017-02-16 18:44:29 +01:00
doc Merge pull request #7581 from Faless/v6_wild_bind 2017-02-12 23:31:40 +01:00
drivers Correct hash behavior for floating point numbers 2017-02-16 18:44:29 +01:00
main Rename the _MD macro to D_METHOD 2017-02-13 12:50:02 +01:00
misc Reorder the folders in tools to prepare moving tools/editor 2017-02-09 00:08:27 +01:00
modules Correct hash behavior for floating point numbers 2017-02-16 18:44:29 +01:00
platform Fix missing semicolon in previous commit 2017-02-13 23:46:25 +01:00
scene Correct hash behavior for floating point numbers 2017-02-16 18:44:29 +01:00
servers a ton of bug fixes to the renderer 2017-02-16 08:55:43 -03:00
thirdparty Reorder the folders in tools to prepare moving tools/editor 2017-02-09 00:08:27 +01:00
tools/editor Correct hash behavior for floating point numbers 2017-02-16 18:44:29 +01:00
.editorconfig Add .editorconfig 2015-06-22 14:07:26 -03:00
.gitattributes GH linguist: properly detect .inc files as C++ 2016-07-03 15:17:25 +02:00
.gitignore Added VC++ cache database and temporary storage folder when running 2017-01-15 10:47:50 +01:00
.travis.yml Working on compile issues for iOS 2017-01-16 23:14:13 +11:00
CONTRIBUTING.md Add information about dev communication channels 2017-01-11 14:27:12 +01:00
icon.png Fixed iCCp chunk in pngs 2016-06-22 21:13:29 +02:00
icon.svg Remove grey capsule on official logo 2016-02-28 16:52:45 +01:00
ISSUE_TEMPLATE.md Use Markdown comments in the issue template 2017-01-19 11:04:59 +01:00
LICENSE.md Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
logo.png Fixed iCCp chunk in pngs 2016-06-22 21:13:29 +02:00
logo.svg Remove grey capsule on official logo 2016-02-28 16:52:45 +01:00
LOGO_LICENSE.md logo in svg curves & license 2015-06-08 01:33:46 -03:00
methods.py fix code generation so it generates Transform2D instead of Matrix32 2017-01-11 09:15:57 -03:00
README.md Rewrite the README to be more descriptive 2016-11-03 19:29:31 +01:00
SConstruct Reorder the folders in tools to prepare moving tools/editor 2017-02-09 00:08:27 +01:00
signal_renames.txt Added a list of signals to rename, this should become a header eventually 2017-01-12 00:54:21 -03:00
version.py Bump version to 3.0-alpha 2017-01-02 23:02:25 +01:00

GODOT

Godot Engine

Homepage: https://godotengine.org

2D and 3D cross-platform game engine

Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so that users can focus on making games without having to reinvent the wheel. Games can be exported in one click to a number of platforms, including the major desktop platforms (Linux, Mac OSX, Windows) as well as mobile (Android, iOS) and web-based (HTML5) platforms.

Free, open source and community-driven

Godot is completely free and open source under the very permissive MIT license. No strings attached, no royalties, nothing. The users' games are theirs, down to the last line of engine code. Godot's development is fully independent and community-driven, empowering users to help shape their engine to match their expectations. It is supported by the Software Freedom Conservancy not-for-profit.

Before being open sourced in February 2014, Godot had been developed by Juan Linietsky and Ariel Manzur (both still maintaining the project) for several years as an in-house engine, used to publish several work-for-hire titles.

Getting the engine

Binary downloads

Official binaries for the Godot editor and the export templates can be found on the homepage.

Compiling from source

See the official docs for compilation instructions for every supported platform.

Community

Godot is not only an engine but an ever-growing community of users and engine developers. The main community channels are listed on the homepage.

To get in touch with the developers, the best way is to join the #godotengine IRC channel on Freenode.

Documentation and demos

The official documentation is hosted on ReadTheDocs. It is maintained by the Godot community in its own GitHub repository.

The class reference is also accessible from within the engine.

The official demos are maintained in their own GitHub repository as well.

There are also a number of other learning resources provided by the community, such as text and video tutorials, demos, etc. Consult the community channels for more info.

Build Status Code Triagers Badge