aboutsummaryrefslogtreecommitdiff
path: root/modules/enet
Commit message (Collapse)AuthorAgeFilesLines
* Add support for tutorial links to makerst.pyrobojumper2018-06-121-2/+2
| | | | Also change the <tutorials> structure to make use of individual <link> tags
* SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* Expose channels in NetworkedMultiplayerENetFabio Alessandrelli2018-05-123-6/+115
|
* Document websocket module, further document enetFabio Alessandrelli2018-05-082-4/+37
|
* Enet: Add wait time param to close_connection()mhilbrunner2018-05-072-23/+63
| | | | | | | | Enet: Allow to set client interface/address and port Enet: More error checks Fix comment
* Add DNS resolution in NetworkedMultiplayerEnet::create_client()mhilbrunner2018-04-132-8/+22
|
* Implement get_peer_[address|port] in ENet/WSServerFabio Alessandrelli2018-04-122-1/+34
| | | | | | | Also implement get_connected_host and get_connected_port in WebSocketPeer (not supported in HTML5 due to browser limitation). Add shorthand disconnect_peer(id) for get_peer(id)->close() like in ENet to WebSocketServer.
* NetworkedMultiplayerEnet: Add disconnecting/kicking peersmhilbrunner2018-04-102-46/+72
|
* [DOCS] Net.MultiplayerEnet: List returned errorsMax Hilbrunner2018-03-131-2/+2
|
* [DOCS] NetworkedMultiplayerENetMax Hilbrunner2018-03-021-3/+13
|
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-271-1/+1
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* doc: Update version string in headerRémi Verschelde2018-02-191-1/+1
|
* doc: Sync with current sourceRémi Verschelde2018-01-251-1/+1
| | | | | | Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
* SCons: Allow unbundling bullet on Linux (only 2.87+)Rémi Verschelde2018-01-131-2/+2
|
* doc: Update version string in XMLRémi Verschelde2018-01-131-1/+1
|
* Update docsBojidar Marinov2018-01-121-14/+4
| | | | [ci skip]
* Bind many more properties to scriptsBojidar Marinov2018-01-122-0/+7
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-054-0/+4
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-014-8/+8
| | | | Happy new year to the wonderful Godot community!
* Remove "const" from PacketPeer get_packet/get_varFabio Alessandrelli2017-12-152-6/+6
| | | | | | They are NOT constant methods, as state by the comment message, they fetch the last packet and then forget about it, actively changing the state of the object.
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-1/+1
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* doc: Fix enum tags thanks to 2bc6db6Rémi Verschelde2017-11-241-5/+5
|
* doc: Update header version for 3.0-betaRémi Verschelde2017-11-241-1/+1
|
* Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-171-1/+1
| | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* doc: Make all module docs self-containedRémi Verschelde2017-11-152-2/+93
|
* Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-251-1/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-274-4/+4
|
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-5/+5
|
* Updated function argument namesWilson E. Alvarez2017-08-121-1/+1
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-1/+1
|
* Add zstd compression support.Ferenc Arn2017-06-082-2/+12
| | | | | zstd has much better compression speed and ratio, and better decompression speed than currently available methods. Also set zstd as the default compression method for Compression as well as FileAccessCompressed functions.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-084-0/+4
|
* ENet code cleanup and changes from review.Fabio Alessandrelli2017-03-241-7/+0
|
* Update ENet module to support custom ENet libFabio Alessandrelli2017-03-243-9/+31
| | | | Keep compatibility with upstream enet libraries
* Make that Whole New World great againRémi Verschelde2017-03-051-1/+2
| | | | Fix regression from 5dbf180 that broke Windows build.
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-053-250/+228
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-6/+6
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-2/+4
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-023-8/+8
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-021-6/+5
|\ | | | | Fixes and improvementes for IPv6 implementation.
| * IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli2016-12-091-6/+5
| | | | | | | | | | | | | | | | | | | | IP_Address changes: - Converts to and from String transparently while handling IPv4 as IPv6 mapped (::ffff:[IP]) address internally. - Completely remove AddrType enum. - Setting/Getting of ip array is now only possible through dedicated functions (ie. set_ipv4, get_ipv4, set_ipv6, get_ipv6) - Add function to know if the address is a valid IPv4 (for IP implementation and enet)
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-014-4/+4
|/ | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* scons: Reorder options for clarityRémi Verschelde2016-11-031-1/+1
| | | | Also prefix all thirdparty-related toggles with `builtin`.
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-0/+1
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-012-17/+17
| | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* Merge pull request #6925 from godotengine/ipv6Rémi Verschelde2016-10-261-3/+6
|\ | | | | Adding IPv6 support
| * adding ipv6Ariel Manzur2016-10-181-3/+6
| |
* | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
|/ | | | Also switch existing shebangs to "better" /usr/bin/env python.
* modules: Clone env in each moduleRémi Verschelde2016-10-151-8/+7
| | | | | | | | | | | | | | | | | | | | This allows to pass include paths and flags only to a given thirdparty library, thus preventing conflicts between their files (e.g. between opus and openssl which both provide modes.h. This also has the nice effect of making the compilation command smaller for each module as it no longer related to all other modules, only the final linking brings them together. This however requires adding manually the ogg include path in opus and vorbis when building against the builtin ogg, since it is no longer in the global env. Also simplified template 'thirdparty_<module>_sources' to 'thirdparty_sources'. "Core" modules like cscript, gdscript, gridmap, ik and virtual_script still use the main env_modules, but it could be changed if need be.