Bojidar Marinov
26a51c3c0b
Reimplement for..in range() so that it always results in ints
...
Fixes #8278 , fixup of bfef8de1bc
2017-06-22 20:41:52 +03:00
Karroffel
de18b8ee96
[GDNative] added GDN_EXPORT macro for libraries
...
Up until now there only was GDAPI which was used
for the procedures Godot exposes.
2017-06-18 01:16:10 +02:00
Rémi Verschelde
c210de581e
etc: Do not overestimate number of CPU threads
...
The *2 factor between cores and threads of most modern CPUs
is already taken into account in get_processor_count().
2017-06-17 10:51:50 +02:00
Juan Linietsky
b19225bfce
-Fix freezes caused by etccomp2, closes #9183
...
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16 21:49:37 -03:00
George Marques
7966ebe6fa
Complete changing of resource extensions
...
Some places were missing in e42d59f
.
2017-06-16 15:42:18 -03:00
Karroffel
f0cf946063
[GDNative] corrected typo for Mac library ext.
...
Seems like the extension is .dylib and not .dynlib.
This should make it easier to select files from the editor.
2017-06-16 15:48:05 +02:00
George Marques
e42d59f01e
Rename Godot-specific resource extensions
2017-06-15 21:35:20 -03:00
Rémi Verschelde
19017a760c
Merge pull request #9158 from Hinsbart/script_templates
...
Add ability to use custom script templates.
2017-06-14 23:11:41 +02:00
Juan Linietsky
a8e845a474
Merge pull request #8548 from tagcup/etc2comp
...
Add ETC1/ETC2 compression support though etc2comp.
2017-06-13 19:17:13 -03:00
Andreas Haas
8361b1ce07
Add ability to use custom script templates.
...
Templates will be loaded from .godot/script_templates
For now they're disabled for GDNative.
Ideas for further improvements:
- Add a "Save as Template" option to the script editor, as it can normally only save to res://
- Support more placeholders / custom placeholders
2017-06-13 20:03:08 +00:00
Juan Linietsky
12b2652ecb
Merge pull request #9104 from tagcup/zstd
...
Add zstd compression support.
2017-06-11 18:41:56 -03:00
alexholly
935f730170
renamed all Rect3.pos to Rect3.position
2017-06-09 15:54:02 +02:00
Ferenc Arn
f177c15347
Add zstd compression support.
...
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.
2017-06-08 23:48:14 -05:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Rémi Verschelde
01ed55987c
Merge pull request #9058 from touilleMan/gdnative-clean-and-add-properties
...
Continue improving GDNative
2017-06-08 10:31:13 +02:00
Emmanuel Leblond
8ecdbfc417
[GDnative] API consistency + missing properties
2017-06-08 07:21:53 +02:00
Juan Linietsky
871ceeb0fe
TGA support based on SaracenOne's work.
2017-06-07 19:46:36 -03:00
Rémi Verschelde
f8d7670e82
Merge pull request #9038 from AlexHolly/rect2-rename-pos
...
renamed all Rect2.pos to Rect2.position
2017-06-05 15:52:05 +02:00
Rémi Verschelde
075c7d8133
Merge pull request #8990 from zer0problem/master
...
Fixed .hdr support to compile on windows
2017-06-05 15:45:53 +02:00
Rémi Verschelde
d3afecf681
Merge pull request #8974 from Paulb23/script_overview
...
Added script overview
2017-06-05 15:42:12 +02:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
...
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Juan Linietsky
8a1097a224
many fixes to image loader, voxel cone tracing, etc.
2017-06-02 22:08:41 -03:00
Ferenc Arn
6a9c990da7
Add ETC1/ETC2 compression support though etc2comp.
...
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04.
Fixes #8457 .
2017-05-31 18:59:00 -05:00
Juan Linietsky
a134f58fb3
rewritten PBR implementation to make it friendlier with Blender
2017-05-31 20:29:56 -03:00
sheepandshepherd
4844013827
Fix GDNative PoolVector typos
2017-05-31 23:44:20 +02:00
zer0problem
cc05a90bf7
Fixed compiling on windows after .hdr support
...
Changed type to avoid casting.
2017-05-31 13:11:11 +02:00
sheepandshepherd
9f34bb4ebe
Wrap copy constructor for some GDNative types
2017-05-31 00:03:50 +02:00
Juan Linietsky
5567e898d1
Several fixes related to PBR and Environment
2017-05-30 08:56:19 -03:00
Paulb23
a4e222ae71
Added members overview
2017-05-29 12:56:33 +01:00
Juan Linietsky
bb20f230ad
-Added .hdr format support
...
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Andreas Haas
015d36d18b
GDScript: Use "is" keyword for type checking.
...
Replaces the `extends` keyword with `is` in the context of testing for type compatibility.
`extends` is still used for declaring class inheritance.
Example:
```gdscript
extends Node2D
func _input(ev):
if ev is InputEventKey:
print("yay, key event")
```
2017-05-27 10:59:59 +02:00
Juan Linietsky
f89641907f
-Added EXR supprot for HDR (no BC6 compression yet though)
...
-Improvements to texture importer
-Proper detection of S3TC compression modes, and added all modes to Image
-Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-26 22:31:32 -03:00
Juan Linietsky
7c89e00d46
Merge pull request #8590 from tagcup/s3tc_stuff
...
Use libsquish to decompress DXT textures.
2017-05-25 16:29:04 -03:00
Karroffel
f23b56e3ec
[GDNative] fixed some functions that returned references
...
Those errors were introduced with #8821 (6fd217d
). These functions need to return reference types, otherwise setting values on those containers does not work.
2017-05-23 22:57:02 +02:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Rémi Verschelde
231511b2a6
Merge pull request #8631 from volzhs/editor-theme-custom
...
New customizable editor theme
2017-05-20 07:16:11 +02:00
Emmanuel Leblond
abcb044bf3
Finish implementation of GDnative builtins bindings
2017-05-19 23:28:15 +02:00
Ferenc Arn
3c175115eb
Use libsquish to decompress DXT textures.
2017-05-18 16:57:53 -05:00
Rémi Verschelde
dcc44f05b7
Merge pull request #8798 from RandomShaper/gdfs-ext-check
...
Add extended check option to GDFunctionState::is_valid()
2017-05-18 12:51:29 +02:00
Rémi Verschelde
c3baf5eb3c
Fix two typos from previous commit
...
Also cleanup comments on variant types.
2017-05-17 18:45:56 +02:00
Pedro J. Estébanez
b69d4ebff4
Add extended check option to GDFunctionState::is_valid()
2017-05-17 14:55:59 +02:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Karroffel
11e496d99a
[GDNative] fixed a reload bug
...
When there was no terminate function defined in the library the exported variables would not update.
This fixes that.
2017-05-13 14:37:57 +02:00
Rémi Verschelde
88d5c943e7
Merge pull request #8696 from bojidar-bg/fix-path-autocomplete
...
Fix gdscript autocomplete showing only paths
2017-05-12 18:17:20 +02:00
Thomas Herzog
0f8a17b0cb
Merge pull request #8720 from karroffel/gdnative-methodbind-varcall
...
[GDNative] added varcall and print
2017-05-11 23:53:46 +02:00
Karroffel
d137e83c60
[GDNative] added varcall and print
2017-05-11 23:06:11 +02:00
Karroffel
15bce7f75f
removed multiscript
...
removes MultiScript which was re-added in #8502 (aka 4c14700
).
This feature didn't turn out to be as useful as most expected. It causes more troubles than it does good.
2017-05-11 21:23:19 +02:00
sheepandshepherd
99e07448d1
Add error printing functions to GDNative
2017-05-10 00:19:38 +02:00
Rémi Verschelde
32afcbc482
Put brave old bb10 platform to a well-deserved rest
...
Add some 🔥 to appease @reduz. Fixes #8692 .
2017-05-08 22:22:20 +02:00