Commit Graph

1003 Commits (516fad14e45d341211121832bb3daa172aebd6e1)

Author SHA1 Message Date
Marcelo Fernandez 13f4f0e8f8 Fix Windows 32 bits builds producing 64 bits code 2018-10-25 13:35:33 -03:00
Bastiaan Olij f52cc4c964
Merge pull request #183 from Acclution/master
Fix issue where Vector2::normalize() did not normalize correctly
2018-09-09 17:59:39 +10:00
Christoffer ffb087caed Fix issue where Vector2::normalize() did not normalize correctly 2018-09-03 19:19:56 +02:00
Thomas Herzog 72d227dd1c
Merge pull request #171 from Calinou/improve-buildsystem
Improve the build system
2018-08-17 12:09:23 +02:00
Hugo Locurcio 46fe7ada03
Improve the build system
- The SCons option system is now used for validation
- An help message can now be displayed using `scons -h`
- New `use_mingw` option to compile using MinGW on Windows
- Removed `arch` in favor of `bits`
- Renamed `headers` to `headers_dir`
- Built libraries now contain the target in the file name
2018-08-17 12:01:16 +02:00
Bastiaan Olij 499300ea6a
Merge pull request #153 from BastiaanOlij/update_godot_headers_20180725
Update godot_headers to latest master (Godot 3.1)
2018-07-25 21:38:09 +10:00
Bastiaan Olij 4ea54ad58e Update godot_headers to latest master (Godot 3.1) 2018-07-25 21:36:00 +10:00
Thomas Herzog 09409f5c37
Merge pull request #152 from joealam/master
(README) Fix misleading typo regarding generate_bindings
2018-07-23 09:22:08 +02:00
Joe Alam 50c9ed60b1 Fix misleading typo regarding generate_bindings 2018-07-20 23:23:49 +01:00
Thomas Herzog 02bb4ffad9
Merge pull request #145 from BastiaanOlij/json_303
Added godot_api.json from official 3.0.3 release
2018-07-06 14:36:22 +02:00
Thomas Herzog 88ec502970
Merge pull request #148 from marcelofg55/fix_return_const
Fix clang warning: 'const' type qualifier on return type has no effect
2018-06-24 00:11:39 +02:00
Marcelo Fernandez baddc2ae66 Fix clang warning: 'const' type qualifier on return type has no effect 2018-06-23 12:15:53 -03:00
Thomas Herzog 5b7fff2bf0
Merge pull request #147 from Kowbell/master
Update README.md to include compilation error fix
2018-06-20 10:31:58 +02:00
Kowbell 2bed3eeb49 Update README.md to include compilation error fix
A PR and issue were already submitted related to this but they are dead
in the water for other reasons. I needed this fix as well, so I assume this isn't a one-off
error and that this information may be helpful to others.
2018-06-19 20:06:35 -04:00
Bastiaan Olij 0c3fd55458 Added godot_api.json from official 3.0.3 release 2018-06-15 23:12:51 +10:00
Thomas Herzog 74d0106a76
Merge pull request #139 from BastiaanOlij/fix_submodule
fix submodule link
2018-06-04 15:08:55 +02:00
Bastiaan Olij c60a249862 fix submodule link 2018-06-04 21:56:49 +10:00
karroffel 94ec311924 better debugging experience on linux 2018-05-16 13:25:53 +02:00
karroffel 684a06daf2 included godot_headers as submodule 2018-05-16 02:11:41 +02:00
karroffel fe38da6cb3 added godot_headers as submodule 2018-05-16 01:56:41 +02:00
Thomas Herzog 1d4ca1575f
Merge pull request #133 from timower/master
Fix const for String operators.
2018-05-15 23:00:02 +02:00
Timothy Werquin 1a32997a0f Fix const for += operator in string 2018-05-15 22:24:53 +02:00
Timothy Werquin 1803ca43fa Fix String const operators.
Added const to various operators.
2018-05-15 22:23:03 +02:00
Thomas Herzog d8becfbe90
Merge pull request #130 from marcelofg55/int_real_arrays
Fix bindings for PoolIntArray and PoolRealArray
2018-05-09 10:22:59 +02:00
Thomas Herzog 4e4527584b
Merge pull request #131 from marcelofg55/fix_float_double
fix method calls that take floats/doubles
2018-05-09 10:22:26 +02:00
Marcelo Fernandez ae38ebc80c fix method calls that take floats/doubles 2018-05-08 21:58:48 -03:00
Marcelo Fernandez 709446da94 Fix bindings for PoolIntArray and PoolRealArray 2018-05-08 21:47:34 -03:00
Thomas Herzog 6f8ce54b1a
Merge pull request #127 from Redwan13/master
C++14 syntax sugar
2018-04-25 13:05:57 +02:00
Nickolai Korshunov ef37d8d76e Merge branch 'master' of https://github.com/GodotNativeTools/godot-cpp 2018-04-25 11:40:49 +03:00
Nickolai Korshunov 876715b610 disable strict enums 2018-04-25 11:39:18 +03:00
Thomas Herzog 68ba815bc5
Merge pull request #123 from marcelofg55/osx_scons
On OS X append .osx.64 to the result_name var on SConstruct
2018-04-08 19:12:36 +02:00
Marcelo Fernandez b52d55927a On OS X append .osx.64 to the result_name var on SConstruct 2018-04-08 13:00:54 -03:00
Thomas Herzog f7d933debc
Merge pull request #116 from garyo/poolarray-const-operator
Mark all Pool*Array::operator[] as const
2018-03-13 16:18:12 +01:00
Gary Oberbrunner a6689b2132 Make all Pool*Array::operator[] as const
This is needed since that operator returns a local copy, not
an lvalue. Attempting to write to the return value of these operators
wouldn't change the array element. PoolVectors need locking when
writing, so this operator can't return a writable reference.

To update a Pool*Array, use the `set()` method which locks and unlocks
the array. For multiple writes, use the `write()` method which returns
a locked writable view, and unlocks when it goes out of scope.
2018-03-13 11:00:25 -04:00
Thomas Herzog 4a9e305776
Merge pull request #105 from marcelofg55/windows_compile_fixes
Fix compile issues on Windows
2018-03-09 18:36:37 +01:00
Thomas Herzog ba1fbfa4d1
Merge pull request #109 from danielytics/easier-printing-and-formatting
adds variadic printing function, makes String.format custom placehold…
2018-03-07 16:15:49 +01:00
danielytics e74b8f593e adds variadic printing function, makes String.format custom placeholder work 2018-03-07 12:21:33 +00:00
Thomas Herzog 779568c67c
Merge pull request #108 from danielytics/variadic-functions
Adds variadic template functions for register_signal and emit_signal
2018-03-07 11:43:12 +01:00
danielytics 85e73de2e0 adds an example of registering signal with arguments to README 2018-03-07 10:34:25 +00:00
danielytics 01db553c49 adds Array::make and Dictionary::make static methods and has variadic template functions use those 2018-03-07 10:27:34 +00:00
danielytics c7b03c4132 make register_signal and auto-generated variadic funcitons use variadic templates to streamline their use 2018-03-06 21:36:20 +00:00
Marcelo Fernandez 98e5f78fa0 Fix compile issues on Windows 2018-03-05 13:28:49 -03:00
karroffel 2343a8a54c fix #101 2018-03-02 19:04:57 +01:00
karroffel a212746a3d add clang option to makefile 2018-03-02 19:03:57 +01:00
Thomas Herzog 0d8a605596
Merge pull request #102 from marcelofg55/master
Fix compile problem on OS X
2018-03-02 08:17:36 +01:00
Marcelo Fernandez 5162132236 Fix compile problem on OS X 2018-03-01 20:30:55 -03:00
Thomas Herzog 3820c0537b
Merge pull request #99 from QuentinCaffeino/crosscompiling
Added crosscompiling for linux-windows; Added makefile
2018-02-25 18:09:31 +01:00
QuentinCaffeino af2861faf7 use_llvm fix 2018-02-25 17:03:55 +01:00
QuentinCaffeino 43f57c7f80 Bindings are generated by default; Replaced generate with regenerate flag; Updated readme 2018-02-25 16:25:42 +01:00
Nickolai Korshunov a049a34f28 fixed forward decl 2018-02-24 11:13:22 +03:00