Juan Linietsky
cacf9ebb7f
all light types and shadows are working, pending a lot of clean-up
2016-11-09 23:55:06 -03:00
George Marques
411faaa6f4
Rename remaining WinRT references to UWP
2016-11-03 14:51:08 -02:00
George Marques
b113c7b7a3
Rename WINRT_ENABLED to UWP_ENABLED
2016-11-03 14:51:08 -02:00
Rémi Verschelde
cc95d4448c
scons: Reorder options for clarity
...
Also prefix all thirdparty-related toggles with `builtin`.
2016-11-03 07:45:08 +01:00
George Marques
3958171a7a
Merge pull request #7006 from vnen/fix-ipv6-uwp
...
Fix IPv6 linking for UWP
2016-11-01 12:39:45 -02:00
George Marques
4160b3c9fe
Fix IPv6 linking for UWP
2016-10-31 21:39:45 -02:00
Rémi Verschelde
f34151ff0f
style: Various other PEP8 fixes in Python files
...
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa
style: Fix PEP8 whitespace issues in Python files
...
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.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e
style: Start applying PEP8 to Python files, indentation issues
...
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.
2016-11-01 00:33:51 +01:00
Juan Linietsky
6b2a27bbe5
shadow atlas allocation (work in progress)
2016-10-31 08:47:46 -03:00
Fabio Alessandrelli
bdc7ca84ca
Define IPV6_V6ONLY flag if not defined on windows (old mingw versions)
2016-10-30 22:58:15 +01:00
Fabio Alessandrelli
eb27e993f0
TCP/UDP Listen sockets can now be set to IPv6 only
2016-10-30 17:46:05 +01:00
Fabio Alessandrelli
812908e236
Fix windows debugger connection problems.
...
Unify network socket creation between platform.
Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
2016-10-30 17:46:05 +01:00
Fabio Alessandrelli
ee69bd81cf
TCPServer listen now default to IP type ANY (v6 socket with v4 support)
2016-10-30 17:46:05 +01:00
Rémi Verschelde
1944635ac4
Merge pull request #6959 from RandomShaper/fix-big-libs
...
Adopt simpler strategy for big libs on Windows
2016-10-30 17:35:37 +01:00
Rémi Verschelde
e34a5324c8
scons: Move lib splitting method to methods.py
...
Apparently it might still be necessary for some console ports.
2016-10-30 17:04:07 +01:00
Juan Linietsky
acfa606915
resolved reflection cubemap blending
2016-10-29 22:11:05 -03:00
Juan Linietsky
d6567010bf
-Many many fixes
...
-Gizmos work again
2016-10-29 20:48:09 -03:00
Pedro J. Estébanez
51ad1c1668
Adopt simpler strategy for big libs on Windows
2016-10-29 03:34:53 +02:00
Juan Linietsky
53d8f2b1ec
PBR more or less working, still working on bringing gizmos back
2016-10-27 11:50:26 -03:00
Zher Huei Lee
439d439321
RegEx re-implemented as a module
...
Re-wrote nrex as a module using godot-specific parts and new
features:
* Added string substitutions.
* Named groups are now supported.
* Removed use of mutable variables in RegEx. RegExMatch is returned
instead.
2016-10-27 10:27:40 +01:00
Fabio Alessandrelli
25e29972a9
Fix PacketPeerUDP get_packet_port()
...
Properly convert port field from network to system ordering on incoming packets.
2016-10-26 18:27:01 +02:00
Rémi Verschelde
c67e3a485d
Merge pull request #6925 from godotengine/ipv6
...
Adding IPv6 support
2016-10-26 14:32:51 +02:00
Fabio Alessandrelli
80e911647c
Pass correct address size (ipv4,ipv6) to socket connect, bind, sendto
...
The address size passed to network system calls now reflects the the actual IP type (v4 or v6).
Fix Windows and OSX ipv6 sockets
2016-10-26 08:20:31 +02:00
Juan Linietsky
cb34b70df1
More scene work, can display a skybox
2016-10-21 07:27:13 -03:00
Ariel Manzur
672225b710
added windows support for ipv6, cleaned up unix code
2016-10-20 07:04:10 -03:00
Ariel Manzur
1d45f35a4a
fixed some byte order and parsing problems
2016-10-19 18:32:36 -03:00
Juan Linietsky
4428115916
Everything returning to normal in 3D, still a long way to go
...
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
2016-10-19 11:14:41 -03:00
Ariel Manzur
887a897c02
adding ipv6
2016-10-18 18:53:18 -03:00
Rémi Verschelde
c23e8797f1
Merge pull request #6855 from vnen/xaudio2-driver
...
Isolate XAudio2 driver
2016-10-18 07:22:10 +02:00
George Marques
05bf24b9a5
Fix memory management of XAudio2 driver
2016-10-17 20:42:37 -02:00
George Marques
f3102160a1
Isolate XAudio2 driver
...
Now it's possible to compile for Windows platform if wanted. It's
supported only for Windows 8 or later, so it's not enabled by default.
2016-10-17 20:42:12 -02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
e57042e8a9
png: Try to fix neon issue on iphone armv7
2016-10-15 18:10:19 +02:00
Rémi Verschelde
248bc9159c
drivers: Refactor SCsub and drop redundant env_drivers clone
...
The reordering of the SConscript includes allows to ensure that
stuff like the builtin zlib headers will be available for libpng.
Also moved glew back into global env, otherwise windows seems
not to find it... Kind of shooting in the dark with this multi-env
setup.
2016-10-15 18:10:18 +02:00
Rémi Verschelde
edbc0c0d0b
freetype: Make it a module and split thirdparty library
...
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
2016-10-15 18:10:17 +02:00
Rémi Verschelde
e6dc51a0f7
chibi: Move to a module
2016-10-15 12:20:53 +02:00
Rémi Verschelde
cbf52606f4
zlib: Split thirdparty files, simplify scons option
2016-10-15 12:20:47 +02:00
Rémi Verschelde
36738ddda4
glew: Split thirdparty files and isolate env
...
Not fully happy about the way this one interacts with the various
platforms. Maybe the platform_config.h should be generated by the
SCsub instead of passing a define just to know where is the header.
2016-10-15 12:01:28 +02:00
Rémi Verschelde
8311a78df5
squish: Move to a module and split thirdparty lib
2016-10-15 12:01:28 +02:00
Rémi Verschelde
8981ff8a84
rtaudio: Split thirdparty files
2016-10-15 12:01:25 +02:00
Rémi Verschelde
5c12c9e69b
mpc: Move to a module and split thirdparty libmpcdec
2016-10-15 11:50:42 +02:00
Rémi Verschelde
cfcc8a20e8
theora: Move to a module and split thirdparty lib
...
Same rationale as the previous commits.
2016-10-15 11:50:41 +02:00
Rémi Verschelde
da09c6131b
modules: Clone env in each module
...
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.
2016-10-15 11:50:41 +02:00
Rémi Verschelde
422196759f
openssl: Move to a module and split thirdparty lib
...
Same rationale as the previous commits.
2016-10-15 11:50:41 +02:00
Rémi Verschelde
d9a291f641
ogg/vorbis/opus: Make them modules and unbundle thirdparty libs
...
Took the opportunity to undo the Godot changed made to the
opus source. The opus module should eventually be built in its
own environment to avoid polluting others with too many include
dirs and defines.
TODO: Fix the platform/ stuff for opus.
2016-10-15 11:50:40 +02:00
Rémi Verschelde
ee3cf211c6
webp: Make it a module and unbundle libwebp thirdparty files
...
Note that there are two Godot-specific changes made to libwebp
for the javascript/HTML5 platform. They are documented in the
README.md.
2016-10-15 11:50:39 +02:00
Rémi Verschelde
b1e8889d96
dds/etc1/pbm/pvr: Make those modules and split thirdparty files
...
They are not particularly packaged in Linux distros so we do not
facilitate unbundling via SCons. There could be done if/when there
is interest.
Also s/pnm/pbm/, long-lived typo :)
2016-10-15 11:50:39 +02:00
Rémi Verschelde
16ba665db6
jpg: Make it a module and split jpgd thirdparty files
...
Similar rationale as in previous commit.
2016-10-15 11:50:39 +02:00
Rémi Verschelde
5fef84a135
png: Split library to thirdparty dir and allow unbundling
...
Uses the new structure agreed upon in #6157 , but the thirdparty/ folder
does not behave following a logic similar to that of modules/ yet.
The png driver can't be moved to a module as discussed in #6157 , as it's
required by core together with a few other ImageLoader implementations
(see drivers/register_driver_types.cpp:register_core_driver_types())
Dropped the possibility to disable PNG support, it's a core component
of Godot.
2016-10-15 11:50:39 +02:00
Rémi Verschelde
f63bf12193
Drop nedmalloc which is apparently not used anymore
2016-10-14 18:21:23 +02:00
Rémi Verschelde
d3d0507c05
Remove speex support, it is obsoleted by opus
...
As mentioned by upstream, Xiph.Org [0]:
> The Speex codec has been obsoleted by Opus. It will continue to be
> available, but since Opus is better than Speex in all aspects,
> users are encouraged to switch.
[0] http://www.speex.org/
2016-10-13 18:58:56 +02:00
Juan Linietsky
1527cf8c0d
2D Shaders are working again using the new syntax, though all is buggy in general
2016-10-10 18:31:01 -03:00
Juan Linietsky
cf5778e51a
-Added ViewportContainer, this is the only way to make viewports show up in GUI now
...
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
Juan Linietsky
a6e9dc6153
make editor update by tracking changes in visualserverraster
2016-10-03 23:46:24 -03:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Rémi Verschelde
78d97b060a
Merge pull request #6605 from zaps166/old-gl-ext-funcs
...
Add compatibility with old OpenGL 2.1 drivers
2016-10-03 14:21:37 +02:00
Rémi Verschelde
c46e205237
Merge pull request #6617 from zaps166/theora-x86-simd-fix
...
Fixes in Theora SCsub
2016-10-03 12:33:57 +02:00
mookiexl
0b12ebba11
Limit directional shadow draw distance, fixes #559 , optimization ( #1991 )
...
* Shadow fadeout exponent hardcoded for now, should be user configurable.
* optimization - skip shadows outside visible range
2016-10-03 12:28:32 +02:00
Błażej Szczygieł
75299cf334
Fixes in Theora SCsub
...
- properly pass x86 assembly define to the compiler,
- don't compile unnecessary/encoder files.
2016-10-03 12:26:52 +02:00
Rémi Verschelde
463a42c71e
Merge pull request #6606 from zaps166/don-crash-on-unsupported-gl
...
Don't crach when OpenGL version is unsupported
2016-10-03 11:54:49 +02:00
Rémi Verschelde
9fce85f9d7
Merge pull request #6501 from SuperUserNameMan/windows_compile_with_standalone_msvc
...
scons detects standalone MSVC on Windows
2016-10-03 11:36:44 +02:00
Błażej Szczygieł
7b8fe97888
Don't crash in "_process_hdr()" if "framebuffer.luminance" is empty
...
If "glFramebufferTexture2D()" fails on old drivers the Vector is empty.
Don't allow to read from empty Vector (NULL pointer).
2016-09-25 13:09:23 +02:00
Błażej Szczygieł
ca3b8deb78
Don't crach when OpenGL version is unsupported
2016-09-25 13:06:14 +02:00
Błażej Szczygieł
a27fafb273
Add compatibility with old OpenGL 2.1 drivers
...
If ARB_framebuffer_object is not supported, try to fall-back to
EXT_framebuffer_object if present.
In current version of godot, the way framebuffers are used is backward
compatible with the older EXT_framebuffer_object extension.
Fixes #6591
Done with SuperUserNameMan
2016-09-25 12:58:22 +02:00
knd
708a028ce8
removed redundant assign operation in mesh_add_surface: elem_count is reassigned a value before the old one has been used.
2016-09-21 05:23:42 +03:00
Rémi Verschelde
c05242e324
Merge pull request #6489 from zaps166/vorbis-no-enc
...
Vorbis: Don't compile unnecessary encoder files
2016-09-17 18:36:10 +02:00
Rémi Verschelde
80861b7d59
Merge pull request #6414 from RandomShaper/improve-shader-shadow
...
Expose additional light/shadow properties to canvas item shaders
2016-09-17 18:34:22 +02:00
yg2f
663d4ee7de
scons detects standalone MSVC on Windows
...
Under Windows, Scons is now capable of detecting and compiling with
standalone MSVC compilers (aka "Visual C++ Build Tools").
http://landinghub.visualstudio.com/visual-cpp-build-tools
Tried with version 2015, and native x86 and x64 compilers under
Windows 10 pro 64 and Windows 8.1 64, with the default Win8 SDK
provided by the "Visual C++ Build Tools" web-installer.
Follow the same compiling instructions than for compiling with Visual
Studio, except that Visual Studio is no more required.
KNOWN ISSUES :
- ``methods.detect_visual_c_compiler_version()`` will emit a warning message
on computers where the ``VSINSTALLDIR`` environement variable is not present.
But it should compile just fine and still automatically detects the 32 or
64 bits according to the compiler you picked.
TODO :
- eventually, update ``platform/winrt/dectet.py`` with function
``methods.msvc_is_detected()`` and try to compile winrt/UWP with
these standalone compilers (if you did not select Win10 SDK when
installing the standalone tools, you can run it again).
- update doc to make users aware of "Visual C++ Build Tools" aka
"stadalone MSVC".
- eventually, update ``methods.detect_visual_c_compiler_version()``
2016-09-16 11:17:57 +02:00
Błażej Szczygieł
222bc07874
Vorbis: Don't compile unnecessary encoder files
2016-09-14 22:40:20 +02:00
Juan Linietsky
fc61eb37ce
Merge pull request #5920 from 29jm/fix-warnings
...
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
e2aad59b59
Merge pull request #5962 from Alex-doc/Y_billboard
...
Implements Y billboard
2016-09-10 12:12:26 -03:00
Juan Linietsky
7a27d5d9e7
Merge pull request #6363 from vnen/winrt
...
Fix the support for WinRT/UWP
2016-09-10 11:47:42 -03:00
Pedro J. Estébanez
0960887625
Expose light shadow color to canvas item shaders
2016-09-07 01:52:54 +02:00
Pedro J. Estébanez
b69e422af9
Rename misleading define
...
The macro USE_LIGHT_SHADOW_COLOR actually was being defined when the shader used SHADOW (the output shadow color), not the shadow color set for the light so it's better named USE_OUTPUT_SHADOW_COLOR. In 3D there's not that difference but renaming as well for consistency.
2016-09-07 00:51:03 +02:00
George Marques
15458c8e6a
Add Windows Universal export to editor
...
- Use OPENSSL_ENABLED definition to the whole source to detect it
anywhere.
- Add WinRT/UWP template files with manifest and default images.
2016-09-06 13:09:45 -03:00
George Marques
5f5db46e8d
Patch thirdy-party libraries to build for WinRT
...
- Patch enet code.
- Patch OpenSSL code and add shims for unavailable API.
- Add extra definition header for Freetype.
2016-09-03 19:46:26 -03:00
George Marques
c9b82498b4
Fix drivers coding for WinRT
...
- Add a proper function to retrieve IP addresses.
- Solve issues with Windows FileAccess and DirAccess to use the same code
for WinRT.
- Add patches to the GLES2 rasterizer to workaround ANGLE issues.
2016-09-03 19:36:44 -03:00
Juan Linietsky
fb4d6d1db0
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
Johan Manuel
a4674bda47
Fix some comparisons between signed and unsigned integers
2016-08-13 13:21:35 +02:00
Johan Manuel
67b29e3b9e
Fix some warnings about misleading indentation
2016-08-13 13:21:35 +02:00
Johan Manuel
046f94d3ac
Remove some unused variables
2016-08-13 13:21:35 +02:00
Alex Piola
c3b9ef8229
Implements Y billboard
...
Y billboard wasn't hooked up. This commit implements it.
2016-08-01 14:00:30 +02:00
Rémi Verschelde
a155342eca
GLES2: Check for GPU capabilities to display an error
...
The engine will still segfault, but the error message should be displayed by the
OS in a blocking manner, so that it will only crash once users have acknowledged
the error dialog.
Closes #1162 .
2016-07-25 23:08:46 +02:00
Rémi Verschelde
c1ab343f02
RtAudio: Update to upstream version 4.1.2
...
The only differences we have with the upstream tarball are marked with
`// -GODOT-` comments for clarity. The changes we currently have are
just some defines for cross-platform configuration, and could likely be
moved to the SCons buildsystem (ideally in a sub-environment to avoid
having RtAudio-specific defines pollute the whole build log).
One change for WinRT was not kept, if it is needed it should ideally be
integrated upstream:
```
#if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__WINDOWS_WASAPI__)
-#ifdef WINRT_ENABLED
- #define MUTEX_INITIALIZE(A) InitializeCriticalSectionEx(A, 0, 0)
-#else
#define MUTEX_INITIALIZE(A) InitializeCriticalSection(A)
-#endif
```
2016-07-23 13:25:25 +02:00
Rémi Verschelde
b13f430853
zlib: Update builtin version to upstream 1.2.8
...
Our only differences to the upstream distribution are:
- The `gz*.c` files are not included
- Z_PREFIX and Z_SOLO are defined in zconf.h
2016-07-23 13:06:54 +02:00
Rémi Verschelde
1d41a070f6
rg_etc1: Upstream version 1.04
...
From https://github.com/richgel999/rg-etc1
2016-07-23 12:44:40 +02:00
Rémi Verschelde
4d4cb1bfab
FreeType: Update to upstream version 2.6.5
...
The only diffs to the upstream sources are to be found in `include/ft2build.h`
and `include/freetype/config/ftoption.h`.
2016-07-22 23:29:25 +02:00
Rémi Verschelde
b13bbcecc3
FreeType: Remove unnecessary subfolder
...
Also sort sources alphabetically for clarity.
2016-07-22 22:01:16 +02:00
Rémi Verschelde
6b70676306
FreeType: Reduce diff with upstream 2.5.0 version
...
The Godot specific changes to ftoption.h are indicated with a
`// -Godot-` comment for clarity.
See #5859 for details.
2016-07-22 21:51:30 +02:00
Rémi Verschelde
9698571d61
Fix multichar character constant warning
...
Multi-character character constants are implementation defined,
and therefore they are risky to use for use when trying to be compatible
with so many different platforms. Fixes #2540 .
2016-07-18 21:34:50 +02:00
Rémi Verschelde
22419082d9
Remove some noisy debug prints
...
Part of #5031
2016-07-17 18:25:21 +02:00
Rémi Verschelde
1f2110956b
Merge pull request #5592 from volzhs/libwebp-0.5.1
...
Update webp driver to 0.5.1
2016-07-14 09:03:14 +02:00
Rémi Verschelde
68fbb8f8ac
Drop obsolete "webpold" backup of previous webp version
...
Fixes #5252
2016-07-14 08:36:06 +02:00
George Marques
2c6d0d4905
Fix builtin OpenSSL configuration
...
Fixes a bug that happens on Windows 64-bits.
2016-07-09 20:13:35 -03:00
volzhs
e55c6f8232
Modified webp source codes for godot
2016-07-08 22:10:25 +09:00
volzhs
ddd446f274
Update webp driver to 0.5.1 (upstream)
2016-07-08 21:44:40 +09:00
Rémi Verschelde
3fcb9b1ec1
Removed unused variables (second pass) + dead code
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Rémi Verschelde
b6ac91c0e6
Removed unused variables (first pass)
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:03 +02:00
Rémi Verschelde
a28bf56ef9
GH linguist: properly detect .inc files as C++
...
Also drop two unnecessary speex buildsystem files.
2016-07-03 15:17:25 +02:00
Juan Linietsky
f9bd038ca7
Removed no longer needed check
2016-07-02 13:32:07 -03:00
Juan Linietsky
ffbc2e56c9
Fix some bugs in diraccess, closes #5288
2016-06-30 18:23:39 -03:00
Juan Linietsky
f56a0435f2
Turn on SNI in OpenSSL
2016-06-29 11:20:17 -03:00
Juan Linietsky
620da09b87
try to fix windows build
2016-06-25 15:20:37 -03:00
Juan Linietsky
8dac3bf3b1
Added function to notify ScriptLanguage when a thread is created/freed, allows scripts to allocate a stack there via TLS
2016-06-25 10:41:23 -03:00
Rémi Verschelde
9bf3ee7acc
png: Do not output warnings as errors
2016-06-23 08:23:45 +02:00
J08nY
f0290e643b
libpng: New version 1.6.27
...
Warning: libpng 1.6 is strict about iCCp chunks being incorrect,
solution is to fix the profile. On *nix ImageMagicks "convert" works
on windows optiPNG.
2016-06-22 20:57:30 +02:00
Juan Linietsky
93441d6119
properly initialize loops to 0 in eventplayer
2016-06-20 14:46:17 -03:00
Juan Linietsky
8f7a1367fe
fix loop counter for eventstream, closes #4493
2016-06-20 14:43:20 -03:00
J08nY
214f316cf9
libtheora: New version 1.1.1
2016-06-19 15:37:58 +02:00
J08nY
644e9076bb
libvorbis: New version 1.3.5
2016-06-19 15:37:49 +02:00
J08nY
98f23d27a4
libogg: New version 1.3.2
2016-06-19 14:39:38 +02:00
Daniel J. Ramirez
422fac5066
Removed lots of prints
2016-06-18 18:01:06 -05:00
Rémi Verschelde
bb3362fd12
Drop useless 3rd party files from nedmalloc and png
...
Part of #5272
2016-06-18 20:27:58 +02:00
Rémi Verschelde
80727b6896
Drop empty .cpp files for header-only classes
...
Part of #5272
2016-06-18 20:00:08 +02:00
George Marques
e048d1e0a2
Fix make_dir for long paths on Windows
2016-06-18 12:28:11 -03:00
Juan Linietsky
e3905a084e
-made get_space_left() return values more homogenous, also for script, converted to mb, closes #4617
2016-06-18 11:32:45 -03:00
Juan Linietsky
61655d6dc2
Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872
2016-06-18 11:13:03 -03:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Błażej Szczygieł
aebad5de5f
Fix Theora video playback without a Vorbis stream
...
- prevent audio resampler errors when number of channels is 0,
- don't check for 'audio_done' when there is no audio data.
(cherry picked from commit 763b29f34e
)
2016-06-18 00:49:55 +02:00
Juan Linietsky
7f02627290
-Add visible IO errors when closing a file fails due to it being locked (most likely on windows), closes #4760
2016-06-13 10:10:50 -03:00
Juan Linietsky
3d95c82669
Merge pull request #5090 from akien-mga/glew-1.13.0
...
Upgrade embedded GLEW to version 1.13.0
2016-06-08 07:54:31 -03:00
J08nY
39260f9dca
RtAudio: proper under/overflow warning
...
fix #5102
2016-06-08 12:25:40 +02:00
Rémi Verschelde
5bed0af65e
GLEW: Update to upstream version 1.13.0 (pristine)
...
This removes a custom redefinition of glewGetProcAddress,
which was apparently necessary for older Macs with buggy OpenGL
(see #5087 ).
The added source files are as provided in the upstream tarball.
2016-06-08 00:17:54 +02:00
Rémi Verschelde
768e925271
GLEW: Define static + enabled and includes via SCons
...
This allows us not to have to hack our definitions in the upstream files,
making it easier to upgrade to newer versions in the future.
For the include paths to work, the headers are moved to a GL subfolder to
match their upstream location.
2016-06-08 00:16:27 +02:00
Rémi Verschelde
4c658dc523
Haiku: Do not define GLEW_ENABLED to undefine it later
...
Partial revert of f61eb5fd8e
.
2016-06-08 00:10:30 +02:00
Juan Linietsky
0c985913a7
Merge pull request #4092 from sanikoyes/Pr-etc1-pkm-loading
...
Add etc1(pkm) texture loading support
2016-06-06 22:14:11 -03:00
Juan Linietsky
be830d10c2
Merge pull request #5026 from Geequlim/patch9frame-extension
...
Enhanced Patch9Frame
2016-06-06 20:15:33 -03:00
Rémi Verschelde
7fd6977ef9
Merge pull request #5070 from zenvoid/master
...
Add missing license information for bundled libraries
2016-06-06 23:31:55 +02:00
Roberto
c0a8c4f6e4
Add missing license information (ogg/vorbis/opus)
2016-06-06 19:05:36 +02:00
Roberto
18fc2ccbe1
Add missing license information (Theora)
2016-06-06 16:32:37 +02:00
Roberto
f97f8971e3
Add missing license information (WebP)
2016-06-06 12:45:30 +02:00
J08nY
3fb3b7c1f7
Somewhat fixed Directory::get_space_left() return values.
2016-06-06 08:14:22 +02:00
Juan Linietsky
2420e46b44
vsync support
...
-works on windows
-may not work on X11, if so please fix
-OSX does not seem to support disabling vsync
2016-06-05 19:14:33 -03:00
Rémi Verschelde
2884faf55b
Merge pull request #4999 from volzhs/fix-project-path
...
change invalid characters when get user data dir on Windows & Unix
2016-06-04 21:37:47 +02:00
Geequlim
fdf914e53e
Add texture region support for stylebox render
2016-06-05 00:45:53 +08:00
Rémi Verschelde
bc25492e63
Update to libpng 1.5.27
...
No security relevant fix as far as I can see, but the version bump
does not hurt either.
2016-06-02 23:28:54 +02:00
volzhs
9073dc9963
change invalid characters when get user data dir on Windows & Unix
...
Can't create user data folder when project name has ``\ / : * ? " < > |`` characters on OS_Windows & OS_Unix.
So, change it to ``-`` to be able to make folder.
fixes #4928 and it's altanative to #4986 .
2016-06-03 03:39:37 +09:00
Juan Linietsky
4f100f92d8
DPI Detection support
...
Windows only for now.
Many builds may break (older visual studio, mingw32)
2016-05-29 13:40:21 -03:00
Rémi Verschelde
53279bf02d
FreeType: Add mandatory license text
...
Part of #4859 .
2016-05-29 17:30:57 +02:00
Juan Linietsky
3e8eb396d7
Finalized DynamicFont implementation
...
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Juan Linietsky
8be2fabbe5
Changed import workflow
...
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Ariel Manzur
dbb4c0c9b7
fixes android drivers build
2016-05-21 21:47:21 -03:00
Ariel Manzur
4c4d79e3c9
fix drivers build on ios
2016-05-21 21:07:34 -03:00
Ariel Manzur
12bd9ee6f2
fix
2016-05-21 20:07:32 -03:00
Ariel Manzur
6cf2353305
using 1 env for all drivers
2016-05-21 19:31:58 -03:00
eska
2392824dba
Remove nocpuid.c from builtin OpenSSL
...
Since opensslconf.h no longer defines OPENSSL_CPUID_OBJ, OpenSSL defines
OPENSSL_cpuid_setup itself (with the same empty definition)
2016-05-12 17:06:34 +02:00
Rémi Verschelde
c7292b1f3d
OpenSSL buildsystem: actually apply the flag on gcc/clang
...
Commit 972b0f7
was bogus.
2016-05-11 19:41:52 +02:00
Rémi Verschelde
972b0f78b3
Windows: Fix MinGW argument being passed to MSVC
...
Fixes #4620
2016-05-11 18:48:04 +02:00
George Marques
2e44e255ed
Add ignore error flag to OpenSSL driver
2016-05-09 12:52:49 -03:00
Rémi Verschelde
8a45936abd
Merge pull request #4560 from eska014/fix-emscripten-opus
...
Fix JavaScript build
2016-05-07 20:19:58 +02:00
Ariel Manzur
baaa74f215
cloning env for builtin_openssl _and_ openssl :)
2016-05-06 22:43:22 -03:00
Ariel Manzur
62c17d65a8
clonning env for builtin ssl
2016-05-06 22:30:48 -03:00
eska
5619efe9f8
Ignore unneeded Opus file, fix JavaScript build
2016-05-05 19:21:57 +02:00
George Marques
81297f0fa1
Fix build for Windows 64-bits with GCC
2016-05-05 14:10:41 -03:00
Juan Linietsky
8043135e0d
missing default value
2016-05-04 12:46:37 -03:00
Juan Linietsky
fd6667a7dc
fix to avoid video texture scaling
2016-05-04 12:44:50 -03:00
Juan Linietsky
89d87294db
ability to shrink all images x2 on load
...
this is for extreme cases when running on devices with very low video
memory, so you can still retain compatibility.
2016-05-04 12:37:07 -03:00
Rémi Verschelde
db0fde9d39
Merge pull request #4541 from vnen/pr-fix-win64-build
...
Fix windows 64-bits build.
2016-05-04 08:35:45 +02:00
George Marques
9424c6c58f
Fix windows 64-bits build.
...
The change in `tools/doc/doc_data.cpp` is needed because the MSVC
compiler does not support variable length arrays.
Fix #4113
2016-05-03 16:35:36 -03:00
mrezai
ab623c923d
Update OpenSSL to 1.0.2h
2016-05-03 23:59:14 +04:30
George Marques
7c59d819a7
Update Opus driver to 1.1.2
...
And opusfile to 0.7.
2016-05-02 13:18:34 -03:00
Aren Villanueva
e5c1a2c3f7
Implements get_executable_path for OS X should proc_pidpath in os_osx.mm doesn't succeed. Silences the warning for javascript as the function currently appears superfluous.
2016-04-20 17:49:48 +10:00
Rémi Verschelde
206895afae
Merge pull request #4329 from mrezai/openssl-1.0.2g
...
Update OpenSSL to version 1.0.2g
2016-04-18 19:21:46 +02:00
Zher Huei Lee
48b2dfab9f
Fixed zero-length arrays in nrex. Fixes #4346
2016-04-18 10:06:47 +01:00
mrezai
e97922f220
Update OpenSSL to version 1.0.2g
2016-04-15 19:03:35 +04:30
mrezai
2cbd850979
Fix OpenSSL compilation on Windows
...
Fixes #4285 .
2016-04-12 07:58:56 +02:00
Rémi Verschelde
925aa086a2
Merge pull request #4275 from mrezai/openssl-1.0.1s
...
Update OpenSSL to version 1.0.1s
2016-04-11 23:16:31 +02:00
mrezai
c860574d8b
Update OpenSSL to version 1.0.1s
2016-04-10 17:48:59 +04:30
Zher Huei Lee
6207d56b95
Updated nrex to v0.2
...
* Fixed capturing groups matching to invalid results
* Fixed parents of recursive quantifiers not expanding properly
* Fixed LookAhead sometimes adding to result
2016-04-08 13:29:37 +01:00
MSC
7a9998370f
free Material 'shadow_material_double_sided' on ::finish()
2016-04-03 19:24:14 +02:00
sanikoyes
dda9528dac
Add etc1(pkm) texture loading support
2016-03-19 09:48:41 +08:00
Kyle Luce
674c6f2f2d
Add function to convert Date time from a dictionary to Epoch
...
- Also changed get_time_from_unix_time to get_date_time_from_unix_time to be
consistent.
Ticket:
https://github.com/godotengine/godot/issues/4038
2016-03-16 23:13:39 -07:00
Rémi Verschelde
c9a401e541
Merge pull request #3694 from techtonik/patch-1
...
Show driver information in verbose mode
2016-03-15 10:30:47 +01:00
Rémi Verschelde
aec4f57f95
Merge pull request #3528 from SaracenOne/baked_light_realtime_colourize
...
Ability to colourize baked lighting in real time.
2016-03-15 10:22:09 +01:00
Kyle Luce
feef563f3f
Fixes the month consistency issue in enums and get_date etc
...
- Also updated the docs to reflect this.
- Added some vim temp files to gitignore
- Changed NaCL to be consistent with the other OS_Unix::get_date implementation
(added 1 to month to map to 1-12)
Ticket:
https://github.com/godotengine/godot/issues/4025
2016-03-13 15:27:39 -07:00
Saracen
24bc7d8db7
Fix 'FLAG_RECEIVE_SHADOWS' flag for GeometryInstances so that turning it off now correctly disables shadows from affecting the instance.
2016-03-12 16:51:17 +00:00
Juan Linietsky
8b1dcbfe4d
-Made editor support SSL certs by default (embedded them)
...
-Made asset sharing support https
-Many fixes to HTTPRequest
-Added an asset installer dialog
-Visual cleanups to asset sharing tab
-Fixed some issues in ScrollContainer, hope it does not break things
-Asset sharing tab is not visible (hidden on purpose) for now.
2016-03-12 10:46:38 -03:00
Juan Linietsky
a3d6768199
Merge pull request #3958 from SaracenOne/cpu_skinning_path_fix
...
Fix to CPU skinning path when using GPU skinning (meshes with morphs)
2016-03-08 15:34:36 -03:00
Saracen
7fecebd8a8
Added extra controls to GeometryInstances to control how they should cast shadows: double-sided and shadows only.
...
Conflicts:
servers/visual/visual_server_raster.h
2016-03-07 23:14:14 +00:00
volzhs
db89a47e28
This will disable png arm neon optimizing for android template if compile on windows, but make compiling successful.
...
And arm neon opt is enabled if not on windows.
2016-03-07 21:20:32 +09:00
Saracen
23a4683879
Fix to CPU skinning path when using GPU skinning (meshes with morphs) causing modifications to root bone to have doubled offset and wasted performance.
2016-03-06 18:47:52 +00:00
Zher Huei Lee
d7052ddba3
Added relative paths for DirAccess::remove()
...
Follows similar behaviour to DirAccess::rename()
2016-03-01 10:40:31 +00:00
Rémi Verschelde
f740d0ced3
Merge pull request #3693 from SaracenOne/hardware_skinning_fix
...
Fixed hardware-accelerated skinning support.
2016-02-28 23:01:56 +01:00
anatoly techtonik
ba6858dd41
Show which video driver is used in verbose mode
2016-02-24 23:36:40 +03:00
Saracen
fe49ac19df
Fixed hardware-accelerated skinning support.
2016-02-24 02:16:20 +00:00
est31
fb1e52f4d8
Fix allocation bug if compiled with modern clang or gcc
...
* Add overflow checked intrinsic abstractions that check on overflow.
* Use them for memory allocation code.
* Use size_t type for memory allocation code to support full platform dependent width.
Fixes #3756 .
2016-02-19 07:58:42 +01:00
Julian Murgia - StraToN
aec721b61f
Forgot to correct the ERR_FAIL_COND_V.
2016-02-12 07:50:35 +01:00
Julian Murgia - StraToN
e380ea8fac
Added RegEx::get_capture_start() method
2016-02-12 07:45:12 +01:00
Saracen
de5281c398
Ability to colourize baked lighting in real time.
2016-02-06 18:03:20 +00:00
Juan Linietsky
80e88c6a50
Removed PE-bliss, win32 binares so far remain without icon, had many issues with it:
...
-corrupted 32 binaries without reason
-does not support upx binaries
-forces dependency o libstdc++
2016-02-04 20:03:03 -03:00
Juan Linietsky
f6a8a0f513
-Correctly flip BG texture if viewport is flipped, fixes #3507
2016-02-02 07:40:38 -03:00
Ariel Manzur
0cd8c054a2
thread renaming
2016-01-31 20:23:24 -03:00
Ariel Manzur
b406aae790
total pointers
2016-01-31 20:23:24 -03:00
Ariel Manzur
5b68608b10
checking for file?
2016-01-31 20:23:23 -03:00
Juan Linietsky
caddcca4f4
-Many fixes to windows build system with Mingw on Windows. Fixes #2690
2016-01-25 00:21:04 -03:00
Juan Linietsky
2fce78ad10
Correct viewport scaling with stretch mode viewport, fixes #1571
2016-01-24 00:46:26 -03:00
Juan Linietsky
784a3eeb90
-Fixed video stream theora not finishing when stream finishes, closes #3066
2016-01-23 17:58:17 -03:00
Juan Linietsky
08e536dbe0
-Support the TRNS flag on libpng, fixes #3097
2016-01-23 17:19:51 -03:00
Rémi Verschelde
d67df42cc8
Merge pull request #2180 from sketchyfun/SketchyFun
...
Billboards were displayed upside down when drawn to a render texture
2016-01-19 22:25:40 +01:00
Saracen
1cc5ccba1b
Allows vec4 shader uniforms to be set by quaternion variant type.
2016-01-13 22:09:07 +00:00
Juan Linietsky
c633a29a39
improve reporting of error in wrong inheritance for autoload script
2016-01-13 09:42:03 -03:00
Ariel Manzur
761b08ec8f
loading unaligned pbm
2016-01-12 06:24:47 -03:00
punto-
4a5db60843
Update bitmap_loader_pnm.cpp
2016-01-11 11:55:20 -03:00
Juan Linietsky
9e8f647440
fix issue loading binary pbm
2016-01-11 11:44:53 -03:00
Rémi Verschelde
7f82c8d7c5
Merge pull request #3230 from touilleMan/issue-55
...
Remove unnecessary null pointer checks
2016-01-11 12:00:44 +01:00
Juan Linietsky
6eb742d49f
-Make a rare corner case where disabling/reenabling mipmaps causes invalid texture state. Fixes #3102
2016-01-10 21:45:58 -03:00
Juan Linietsky
a120c66f98
-Removed OS.get_system_time_msec(), this is undoable on Windows and also unusable from GDscript due to precision.
...
-Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
2016-01-10 18:24:55 -03:00
Juan Linietsky
f6798d9d73
-Made tile parameter work, fixes #3167
2016-01-10 17:45:41 -03:00
Juan Linietsky
52e53d4513
-Added a new mode, WRITE_READ to File, to recover compatibility with old projects but also achieve desired functionality. Closes #3272
2016-01-10 15:15:04 -03:00
eska
a6c1a5c6d0
Fix pthread renaming in Open/FreeBSD
2016-01-09 15:56:31 +01:00
mrezai
88ecc29d1e
Fix uint compile error
2016-01-05 15:45:02 +03:30
Emmanuel Leblond
cabf923484
Remove unnecessary null pointer checks
2016-01-04 11:46:16 +01:00
Juan Linietsky
908f75c23f
having active items is pointless in input map
2016-01-03 18:52:42 -03:00
Juan Linietsky
e8fbf39f88
-Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
...
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
Juan Linietsky
eca92bb7ac
make it impossible to shrink framebuffer < 0, fixes #2066
2016-01-02 21:08:57 -03:00
Juan Linietsky
8fb70142e4
Ability to use opacity on distance field textures, fixes #2148
2016-01-02 15:57:19 -03:00
Juan Linietsky
5769f8aaae
Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes #2278
2016-01-02 12:03:33 -03:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
reduz
875bff2c4e
-fix loading of samples in mod, s3m and xm. Fixes #2553
2015-12-29 16:06:45 -03:00
reduz
77b5b4f4df
removed some prints
2015-12-29 12:56:58 -03:00
mrezai
92cc8fcc74
redundant TAB removed
2015-12-23 15:41:46 +03:30
mrezai
0897b73cd6
Fix ios libpng link error
2015-12-23 14:57:00 +03:30
Ariel Manzur
02d6669a38
threads
2015-12-22 10:08:20 -03:00
Ariel Manzur
83f2084cb8
testing patch for aligned reads by webp in javascript
2015-12-22 09:19:12 -03:00
mrezai
bf69e07ea6
Fix libpng link errors on android
2015-12-21 11:50:54 +03:30
Rémi Verschelde
6750c8a729
Update to libpng 1.5.26
...
Includes numerous security fixes compared to the previous version which was around 1.5.7 or so.
Fixes #2787
2015-12-19 20:41:22 +01:00
Ariel Manzur
4a7e5fafb1
thread rename for ios and osx (if called from the thread to be renamed)
2015-12-18 02:58:30 -03:00
Ariel Manzur
10298b9534
thread set name
2015-12-17 06:24:27 -03:00
Ariel Manzur
6c3c20fc35
compile thing
2015-12-16 02:40:02 -03:00
Juan Linietsky
a1142225bf
-split view of property editor and editor settings
2015-12-15 23:39:36 -03:00
Juan Linietsky
b12a2f456c
-fixes to theora video ending sooner than expected, fixes #3066
2015-12-15 09:17:32 -03:00
Juan Linietsky
95a469ad28
added binary API to StreamPeer, fixes #2863
2015-12-13 12:53:29 -03:00
Juan Linietsky
0f57bbb8e9
remove editor driver split
...
fixes #3001
2015-12-11 09:03:54 -03:00
est31
3dbf7dd7fa
Fix windows build
2015-12-09 16:06:00 +01:00
Juan Linietsky
428984ec0c
-New mask mode for lights, makes using masks MUCH easier.
2015-12-08 20:25:08 -03:00
Juan Linietsky
e176bb6a7c
Merge pull request #2719 from SaracenOne/clipping_fix
...
Canvas Clipping fix
2015-12-08 17:18:19 -03:00
Juan Linietsky
eff81965af
Merge pull request #2956 from est31/add_system_wide_export_path
...
Add way to look for templates at system wide level too
2015-12-08 17:04:24 -03:00
Juan Linietsky
afb895f197
Merge pull request #2993 from leezh/nrex-v0.1
...
updated the RegEx library nrex to v0.1
2015-12-08 17:00:27 -03:00
Juan Linietsky
5e2f327d4b
Merge branch 'master' of https://github.com/godotengine/godot
2015-12-07 11:51:01 -03:00
Juan Linietsky
8bdf2be4a6
-Webp include paths are broken, hacked them to work, fixes #2995
2015-12-07 11:50:00 -03:00
Saracen
157b97b087
Extended clipping fix to missing clipping-related features.
2015-12-07 13:59:42 +00:00
Juan Linietsky
7ba484bc74
some fixes
...
-fix compilation on tres/tscn on MSVC
-fixed theora playback performance, closes #3004
2015-12-06 20:22:45 -03:00
Juan Linietsky
fe2a9bc746
optional streaming from thread for Theora
2015-12-05 23:16:41 -03:00
Zher Huei Lee
d0ddf150d9
updated the RegEx library nrex to v0.1
...
After implementing unit testing to nrex I caught and fixed some errors
so it should behave more like Python's RegEx In addition, I've added
version numbering so it should be able to tell if the library needs
updating. Here are a list of changes:
- Fixed zero count quantifiers failing.
- Fixed infinite recursion if quantifying zero length token.
- Fixed `$` (as a string pattern on its own) not matching.
- Fixed look behind rewinding beyond the start of the string.
- Added support for alternative back reference format `\g{1}` similar to
Python. This allows digits to be used immediately after back references.
- Number of capture groups are still limited to 9 by default but can now
be manually set, with option for no limit at all. (Python has no limit)
- Curly bracket quantifiers `{0}` no longer interpreted as a literal
string if previous token is not quantifiable. (Python behaviour)
2015-12-04 21:18:41 +00:00
Juan Linietsky
504e464c8a
-Missing files in new webp version
2015-12-04 10:21:22 -03:00
Juan Linietsky
da113fe40d
-Upgraded webp to a MUCH newer version. Hoping it fixes some bugs in the process. Keeping old version just in case for now.
...
-Added ability to convert xml and tscn scenes to binary on export, makes loading of larger scenes faster
2015-12-04 10:18:28 -03:00
Juan Linietsky
4b1f0afb01
-several fixes to Android to work better on Tegra 3/4 devices, uses 16 bits FBOs so all 2D shader effects should now work in every single Android device.
2015-12-02 11:15:48 -03:00
est31
e1d02e4831
Make the setting unix-only.
...
For this, put the detection into the OS class and its subclass.
2015-11-30 02:35:59 +01:00
koalefant
2355e1c3b8
Fixed leak when saving PNG-s
2015-11-29 20:11:42 +01:00
George Marques
4057907cf4
Remove redundant Opus directive definition
...
Clean up the build command line another extra bit.
2015-11-27 19:59:50 -02:00
George Marques
fc0c4c6175
Remove Opus extra includes
...
Remove the extra directories to include that were needed by the Opus
library. Now the lib includes more specific paths to avoid those.
2015-11-27 19:59:13 -02:00
Juan Linietsky
b987d2113b
0theora compilation fixes
2015-11-25 00:28:03 -03:00
Juan Linietsky
082e3fbb29
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
main/main.cpp
2015-11-24 10:52:41 -03:00
Juan Linietsky
ccd40f76e8
-work in progress resourceparser and .tscn parser. Still non-functional
...
-fixed theora so it can compile theoralib but not theora
-fixed generation of windows icon in .rc, which didn't previously work in 32 bits
2015-11-24 10:42:05 -03:00
Rémi Verschelde
aa30e01f26
Merge pull request #2752 from SaracenOne/shadow_color
...
New shader feature: change the colour of shadows on a per-material basis
2015-11-23 11:40:52 +01:00
Saracen
2cc52bc3ff
Modification to GUI in 3D demo to show resolved viewport clipping bug and small fix to bug causing viewport clipping to be inverted.
2015-11-19 23:47:25 +00:00
Juan Linietsky
dd09215c90
Revert "libao audio driver"
2015-11-19 20:05:26 -03:00
Juan Linietsky
6127f17368
Merge pull request #2756 from trond/bugfix_udp
...
UDP fixes
2015-11-19 19:33:04 -03:00
Juan Linietsky
43ce972ddb
Merge pull request #903 from a12n/libao
...
libao audio driver
2015-11-19 19:31:56 -03:00
Trond Abusdal
a8a2458f0b
Fixed mistake where available buffer size would not be updated for each recvfrom-call in PacketPeerUDPWinsockPposix.
2015-11-19 19:06:01 +01:00
Juan Linietsky
0168947084
Merge pull request #2518 from masoudbh3/godot-icons
...
Add icon to exe file in windows export
2015-11-19 00:08:47 -03:00
Juan Linietsky
33aa019e4f
Merge pull request #2699 from ZuBsPaCe/visual-studio-2015-compilation
...
Visual studio 2015 compilation
2015-11-18 23:56:06 -03:00
Saracen
dd00452997
Merge branch 'master' of https://github.com/okamstudio/godot into shadow_color
...
Conflicts:
drivers/gles2/shader_compiler_gles2.cpp
2015-11-18 23:18:10 +00:00
Juan Linietsky
0c3386b2ed
Merge pull request #2707 from akien-mga/master
...
Cosmetic fixes to SCons buildsystem
2015-11-18 19:43:28 -03:00
Juan Linietsky
f0aeb036d1
Merge pull request #2715 from SaracenOne/shader_fix_and_enhancement
...
Write to 4-dimensional position access and shader graph code generation fix.
2015-11-18 19:36:47 -03:00
Juan Linietsky
0fd3e18818
Merge pull request #2724 from SaracenOne/disable_baked_light_sampling_on_shadeless
...
Disable baked lighting sampling on shadeless materials.
2015-11-18 19:31:18 -03:00
Juan Linietsky
474822b6db
Merge pull request #2642 from leezh/nrex-update
...
Updated nrex with new features
2015-11-18 19:13:57 -03:00
Juan Linietsky
1ceefd4759
Merge pull request #2661 from romulox-x/lowMem2D
...
Added low_memory_2d_mode
2015-11-18 19:12:34 -03:00
Juan Linietsky
7f5eb40c19
Merge pull request #2726 from SaracenOne/set_loop_restart_time_fix
...
Fixed broken set_loop_restart_time method in AudioStreamPlaybackOGGVorbis
2015-11-18 19:00:38 -03:00
Juan Linietsky
f738906519
Merge pull request #2737 from akien-mga/type-specific-error-output
...
Display error type (error, warning, script error) in OS::print_error + cleanup error ANSI coloring
2015-11-18 18:58:22 -03:00
Juan Linietsky
9827c3cd26
Merge pull request #2748 from vnen/fix-2744
...
Fix Opus driver build for VS2010 and VS2012
2015-11-18 18:55:19 -03:00
Juan Linietsky
18e014a193
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
drivers/theora/video_stream_theora.cpp
2015-11-18 04:49:28 -03:00
Juan Linietsky
081a236c67
-Merged Script and Help tabs
...
-Help tabs can be opened many at the same time
-Color temperatures for opened scripts
-Dominant script opening when switching scene tab
2015-11-17 09:46:08 -03:00
Ariel Manzur
4811313056
tabs
2015-11-16 09:29:00 -03:00
Ariel Manzur
906c6374dc
drivers and theora
2015-11-16 08:44:03 -03:00
Aren Villanueva
4f40a3dc65
Changed drviers/SCsub spaces to tabs.
2015-11-16 13:03:51 +11:00
Aren Villanueva
e420b69606
Properly fixes compilation in an msys environment.
2015-11-16 11:14:40 +11:00
Aren Villanueva
402c24ec8b
iOS compile fixes.
2015-11-16 11:10:07 +11:00
Aren Villanueva
00d79a6d6c
Optimised the oc_filter_hedge and oc_filter_vedge routines in theora a little.
2015-11-16 11:10:07 +11:00
Aren Villanueva
c1fdc3b5d1
Compile fixes for mingw msys2.
...
The drivers directory has way too many source files being compiled for a single library file. The command line length limit was getting hit.
2015-11-16 11:10:07 +11:00
Rémi Verschelde
9ab7de243f
Fix error messages forcing a white font for subsequent messages
...
This is achieved using the "no specific formatting" \E[0m tag.
Fixes #2566 .
Also remove the hardcoded black background colour and use default bolded terminal font for error message.
Error logs should now look good both on terminals with a dark and light background colour.
2015-11-10 18:30:40 +01:00
Rémi Verschelde
6334895088
Display error type (error, warning, script error) in OS::print_error
...
Previously all types of errors would be shown as ERROR, thus making for example warnings (WARN_PRINT) somewhat aggressive.
ERROR is displayed in red, WARNING in yellow and SCRIPT ERROR in magenta (though the latter does not seem used so far).
Fixes #1127 .
2015-11-10 18:29:34 +01:00
Trond Abusdal
41a161647d
* Winsock UDP messages sent to an unavailable target causing WSAECONNRESET will no longer close the socket.
...
* Ensured that unsigned<->signed conversion would not cause wrong buffer size values sent to recvfrom.
2015-11-09 01:33:16 +01:00
Trond Abusdal
f809cd44ea
Fixed PacketPeerUDP getting wrongly closed due to recvfrom using rb.data_left instead of rb.space_left.
2015-11-09 00:22:05 +01:00
masoud bh
55b8c3ee48
change pe_bliss parent directory from /drivers to /tools
2015-11-09 02:24:01 +03:30
masoud bh
24f3f43457
Add icon to exe file in windows export
...
add version_info and icon sections in "export to windows platform".
add version_info and icon to godot exe file (editor & template exe).
fix an problem in image class.
change all default icons to android export icon (a little more rounded).
create an python script for convert file to cpp byte array for use in
'splash.h'.
2015-11-09 02:23:58 +03:30
Saracen
c1d19ad258
New shader feature: change the colour of shadows on a per-material basis.
...
Conflicts:
drivers/gles2/shader_compiler_gles2.cpp
2015-11-08 03:54:55 +00:00
Zher Huei Lee
f0d246a7bc
Exposed RegEx expanded option to scripts
2015-11-07 11:03:24 +00:00
Zher Huei Lee
26b977c967
Fixed segfault in RegEx.get_capture()
2015-11-07 11:03:24 +00:00
Zher Huei Lee
6d54f82ab4
Updated nrex to latest version
2015-11-07 11:03:24 +00:00
Zher Huei Lee
8766d3100d
Updated nrex for LookAhead support
2015-11-07 11:03:24 +00:00
George Marques
03d4c05150
Fix Opus driver build for VS2010 and VS2012
...
Fix #2744
2015-11-06 18:59:21 -02:00
Juan Linietsky
800c575b13
maybe fix stop issue in theora
2015-11-04 09:46:25 -03:00
Juan Linietsky
eb419bee04
fix video/audio synchronization code in theora
2015-11-03 09:30:28 -03:00
Saracen
6bcc2e1f83
Fixed broken set_loop_restart_time method in AudioStreamPlaybackOGGVorbis class.
2015-11-02 17:42:56 +00:00
Saracen
539bbd6654
Disable baked lighting sampling on shadeless materials.
2015-11-02 17:30:18 +00:00
Anton Yabchinskiy
3b9868d2e4
Merge branch 'master' of github.com:okamstudio/godot
2015-11-02 20:25:01 +03:00
Saracen
ff363c94db
Another clipping fix: default back to using window size to calculate clipping on viewports which don't have a rendertarget which fixes clipping on the editor viewport.
2015-11-02 16:48:11 +00:00
Saracen
5072134f41
Fixed canvas clipping on offscreen viewports.
2015-11-02 16:48:09 +00:00
Saracen
b54d96ceba
Added ability to write directly to 4-dimensional position vector from within custom vertex shader code. Bugfixes to shader graph code generation concerning xforms.
2015-11-02 16:03:31 +00:00
Rémi Verschelde
399b1b0474
Cosmetic fixes to SCons buildsystem
...
- Removed trailing spaces
- Made sure all indentation is done using tabs (fixes #39 )
- Potentially fixed an identation issue for openssl check
2015-11-01 20:53:26 +01:00
Juan Linietsky
61ecb6a5e6
properly compute total time for ogg vorbis
2015-11-01 12:32:11 -03:00
ZuBsPaCe
b051914032
Fixes Visual Studio 2015 linker error (___iob_func)
...
The original, uncommited fix simply changed compiler flag /MT to /MD. This
would link the C runtime dynamically instead of statically. This is bad,
because some users would have to install the c runtime before starting the
editor.
You can find alot of info about this error, which can happen after
upgrading to VS 2015, and there are workarounds. But I realized, that the
only place, where iob_func is used, is in e_os.h of the openssl library.
The latest version already contains a workaround. I simply updated the
part in e_os.h.
Reference: https://github.com/openssl/openssl/blob/master/e_os.h#L268
Reference: https://software.intel.com/en-us/forums/intel-parallel-studio-beta-archived/topic/266345
Reference: https://connect.microsoft.com/VisualStudio/feedback/details/1144980/error-lnk2001-unresolved-external-symbol-imp-iob-func
Reference: http://stackoverflow.com/questions/757418/should-i-compile-with-md-or-mt
Here's the original error message:
Creating library bin\godot.windows.tools.lib and object bin\godot.windows.tools.exp
drivers1.windows.tools.lib(t1_enc.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(txt_db.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(d1_enc.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(ui_openssl.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(cryptlib.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(pem_lib.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(d1_both.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(rsa_sign.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
bin\godot.windows.tools.exe : fatal error LNK1120: 1 unresolved externals
scons: *** [bin\godot.windows.tools.exe] Error 1120
2015-10-30 03:03:05 +01:00
romulox_x
b86e3c3402
added low_memory_2d_mode, to indicate when 3D post processing buffers and viewport depth buffers should not be allocated
2015-10-21 19:23:34 -07:00
Juan Linietsky
b59c86f6f9
-Ability to debug video memory usage
...
-Small fix to xml saver (swapping > and <)
2015-10-21 09:50:44 -03:00
Juan Linietsky
2b12a8109d
Merge branch 'master' of https://github.com/okamstudio/godot
2015-10-19 18:48:34 -03:00
Juan Linietsky
5d86a25f4d
-some fixes to where screen is read from rasterizer
...
-fixed bug in ogg vorbis looping
-properly flushing audiostream rb when stopping
2015-10-19 18:47:49 -03:00
Juan Linietsky
277a339cf0
Merge pull request #2365 from Mavhod/patch-1
...
get_date on Linux
2015-10-17 10:49:46 -03:00
Juan Linietsky
c2515d352e
Merge pull request #2369 from Max-Might/master
...
Haiku: platform support
2015-10-17 10:48:57 -03:00
Juan Linietsky
13d2710fed
Merge pull request #2474 from masoudbh3/android-armeabi-v7a
...
Fix android build script
2015-10-17 10:20:47 -03:00
Juan Linietsky
79e5ced7e6
-A little More control about pixel snapping in 2D
2015-10-13 15:53:34 -03:00
Juan Linietsky
b3cda43a0f
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
platform/windows/detect.py
2015-10-13 01:19:32 -03:00
Juan Linietsky
52e756752e
ability to change audio track in theora video
2015-10-13 01:17:54 -03:00
Kostadin Damyanov
29caf2bb5b
Merge remote-tracking branch 'upstream/master'
2015-10-13 05:01:54 +03:00
reduz
aad2bbdb6f
newline fixes
2015-10-08 15:00:40 -03:00
reduz
3514a87b37
fixed uninitialized memory issues in audio code
2015-10-08 14:50:18 -03:00
ZuBsPaCe
d99727d099
Fixes following Visual Studio 2013 compile error on windows:
...
drivers\opus\celt\bands.c(555) : error C2057: expected constant expression
drivers\opus\celt\bands.c(555) : error C2466: cannot allocate an array of constant size 0
drivers\opus\celt\bands.c(555) : error C2133: 'tmp' : unknown size
2015-10-03 00:42:40 +02:00
ZuBsPaCe
c69afe4948
Fixes following Visual Studio 2013 compile error on windows:
...
audio_stream_opus.h(57) : error C2864: 'AudioStreamPlaybackOpus::osrate' : a static data member with an in-class initializer must have non-volatile const integral type
See: http://stackoverflow.com/questions/2454019/why-arent-static-const-floats-allowed
2015-10-03 00:38:43 +02:00
George Marques
6e87314d83
Add support for Opus audio format
2015-10-02 14:25:38 -03:00
romulox_x
187c000ab5
removed unnecessary clear, which prevented root viewport from working right when told not to clear
2015-10-01 13:30:10 -07:00
Juan Linietsky
c858515785
Fixed theora playback. Removed theoraplayer.
...
Still need to get proper audio output latency in some platforms.
2015-09-26 14:50:42 -03:00
Juan Linietsky
83d9a692be
Ability to visually debug geometry visually:
...
-Visible 2D and 3D Shapes, Polygons, Tile collisions, etc.
-Visible Navmesh and Navpoly
-Visible collision contacts for 2D and 3D as a red point
-Customizable colors in project settings
2015-09-20 13:03:46 -03:00
masoud bh
867c95223d
Fix android build script
...
some fixes for android build script.
remove armv6,x86 options and add "android_arch" option for select
compiler architecture (armv7,armv6,x86)(default armv7).
add architecture suffix for output files and you can compile for several
architecture simultaneously.
example:
libgodot.android.opt.debug.armv7.so
libgodot.android.opt.debug.armv7.neon.so
libgodot.android.opt.debug.armv6.so
libgodot.android.opt.debug.x86.so
now we can enable/disable neon on armv7 with "android_neon" option
(default enable).
add "NDK_TARGET_X86" option for select toolchain to use for the NDK x86
(default x86-4.8).
change inputs model for "ndk_platform" option (default android-15).
fix armv7 ccflags.
with this patch, must put libgodot_android.so file in specific
architecture folder:
armv7 (default): <android-java>/libs/armeabi-v7a/
armv6: <android-java>/libs/armeabi/
x86: <android-java>/libs/x86/
2015-09-16 16:14:38 +04:30
Juan Linietsky
89a901c4b6
Merge branch 'master' of https://github.com/okamstudio/godot
2015-09-12 10:56:13 -03:00
Juan Linietsky
a88f67821c
HTML5 exporter seems to be fully functional
...
-user:// filesystem implemented
-default template page could look prettier, help appreciated
2015-09-12 10:54:47 -03:00
Juan Linietsky
943714c015
Merge pull request #2461 from romulox-x/iphoneSplash
...
fixed iOS splash screen
2015-09-12 00:17:24 -03:00
Juan Linietsky
682578f3b3
more c++ include references removed
2015-09-10 20:53:31 -03:00
Juan Linietsky
c7426717d3
Merge branch 'master' of https://github.com/okamstudio/godot
2015-09-10 20:31:34 -03:00
Juan Linietsky
83b69f8fef
remotion of some c++ includes to avoid dependency on libstdc++
2015-09-10 20:30:46 -03:00
steve
b0e5031f1f
ios now displays splash screen between launch image and main scene, instead of a black screen
2015-09-10 15:01:02 -07:00
Juan Linietsky
fad1faddae
Removing locatime so this function compiles again.
...
I don't think it has any practical use anyway.
2015-09-10 13:10:23 -03:00
Juan Linietsky
4e8dcc8938
Merge branch 'master' of https://github.com/okamstudio/godot
2015-09-09 18:52:47 -03:00
Juan Linietsky
9741374617
Rewrite of the AudioStream API
...
-Fixes long-standing issues regarding to playing a single stream multiple times simultanteously
-Fixes wrong-looping, starting, caching, etc. Issues resulting from bad original design
-Allows more interesting kinds of streams (stream graphs with streams inside streams!) in the future
2015-09-09 18:50:52 -03:00
Ariel Manzur
e3e93da6b9
fixed localtime thing for ios, not tested anywhere else
2015-09-09 20:24:38 +00:00
Kostadin Damyanov
c5f574b914
Merge remote-tracking branch 'upstream/master'
2015-09-05 12:03:17 +03:00
Juan Linietsky
b0aa49accb
merged some stuff for okam
2015-09-03 23:24:55 -03:00
Juan Linietsky
4b40f9228b
Merge branch 'master' of https://github.com/okamstudio/godot
2015-08-23 20:22:08 -03:00
Juan Linietsky
07e9741425
**WARNING BEFORE PULLING**
...
This push changes the binary and XML formats and bumps the major version to 2.0. As such, files saved in this version WILL NO LONGER WORK IN PREVIOUS VERSIONS. This compatibility breakage with older versions was required in order to properly provide project refactoring tools.
If I were you, unless you are brave, I would wait a week or two before pulling, in case of bugs :)
Summary of Changes
-New Filesystem dock, with filesystem & tree view modes.
-New refactoring tools, to change or fix dependencies.
-Quick search dialog, to quickly search any file
2015-08-23 20:15:56 -03:00
Kostadin Damyanov
2a757a6ad4
Haiku: move the audio driver to platform/haiku
2015-08-14 22:52:28 +03:00
Mavhod
3942117bbf
add ()
...
Sorry, firt time I put it but had no compiled for check.
2015-08-13 18:56:13 +07:00
Mavhod
69710055f0
get_date on Linux
...
tm_mon is 0-11
2015-08-13 14:09:21 +07:00
Kostadin Damyanov
cdf1ac7d58
Merge remote-tracking branch 'upstream/master'
2015-08-09 12:45:21 +03:00
Juan Linietsky
0a139aaef9
Merge pull request #2302 from antonyjones67/AndroidTemplateCompileWindows
...
Fixes compile bug for Android template on Windows.
2015-08-08 11:14:28 -03:00
Juan Linietsky
5e326e4903
Merge pull request #2328 from her001/patch-1
...
Fix vorbis seek_pos
2015-08-08 11:04:46 -03:00
xodene
6b25e83ba7
tested and fixed unix os_system_time_msec()
2015-08-06 11:08:48 -07:00
Maximillian
6f9a084ac8
Add OS.get_system_time_msec
2015-08-06 10:29:33 -07:00
Andy Conrad
d110260c1e
Fix vorbis seek_pos
2015-08-03 11:41:50 -05:00
Anton Yabchinskiy
dc8df8a91a
Merge branch 'master' of github.com:okamstudio/godot
2015-07-29 23:01:36 +03:00
Kostadin Damyanov
f5bfd497aa
Haiku: add sound support
2015-07-26 02:18:32 +03:00
PeaceSells
9983ceecf2
Fixes compile bug for Android template on Windows.
2015-07-24 13:12:23 -06:00
Zher Huei Lee
69eff35cd5
Fixed incorrect failsafe return values
2015-07-24 16:15:04 +01:00
Zher Huei Lee
87c1e16834
Made RegEx API similar to old version
2015-07-24 14:09:39 +01:00
Zher Huei Lee
d9f1a85948
More nrex fixes
2015-07-24 13:25:04 +01:00
Lee Zher Huei
732bfd0baf
Updated nrex fixes
2015-07-24 02:02:52 +01:00
Lee Zher Huei
ef005d4f64
Regex library Nrex initial port
2015-07-24 01:18:46 +01:00
Juan Linietsky
55b34e05b3
-some changes by okam
2015-06-30 11:28:43 -03:00
Kostadin Damyanov
e0e54ea7d4
Merge remote-tracking branch 'upstream/master'
2015-06-26 21:35:47 +03:00
Kostadin Damyanov
f61eb5fd8e
Haiku: fix the glew.c hack
2015-06-26 21:32:57 +03:00
romulox_x
acb5cdb574
forgot to add mirroredrepeat flag to flags file. fixed.
2015-06-25 15:41:12 -07:00
romulox_x
85e49d4e75
added support for mirrored repeat texture wrapping
2015-06-25 14:51:21 -07:00
Juan Linietsky
52308aba68
ability to change shadow color in light2d
2015-06-24 18:15:43 -03:00
BenH
d807a22981
Billboards were being displayed upside down when drawn to a render texture
...
Render texture's view transforms seem to be inverted, so when drawing
billboards, the 'up' vector given to set_look_at() is also inverted and
so the billboard gets drawn upside down.
2015-06-24 21:06:31 +01:00
Kostadin Damyanov
0038e27fc3
Merge remote-tracking branch 'upstream/master'
2015-06-18 22:48:29 +03:00
Juan Linietsky
4b35654a02
Update rasterizer_gles2.cpp
...
fixed camera plane
2015-06-12 09:54:19 -03:00
Kostadin Damyanov
8df3e30abd
Haiku: create a GL context and initialize the audio and physics servers
2015-06-11 22:57:41 +03:00
Juan Linietsky
9e479065f5
new space shooter demo
...
ortho camera sort fix, closes #2063
2015-06-11 10:00:48 -03:00
Kostadin Damyanov
f99b72c04f
Haiku: remove an #ifdef as the platform now supports MSG_NOSIGNAL
2015-06-10 21:18:39 +03:00
Juan Linietsky
8d61817293
Merge pull request #2037 from est31/use-local-win
...
Time zone support
2015-06-07 00:32:29 -03:00
Juan Linietsky
9acab32daa
new file dialog!
...
-ItemList control for easier lists/thumbnails
-New file dialog, with support for thumbnails, favorites, recent places,
etc
-Moved .fscache out of the project, no more bugs due to committed/pulled
.fscache!
-Dir dialog now sorts directories
2015-06-06 09:44:38 -03:00
est31
c5338fd6c4
Add OS.get_time_zone_info function
...
The returned dictionary maps "name" to the
name of the current time zone, and "bias" to
a bias from UTC in minutes.
2015-06-06 05:57:33 +02:00
est31
803069886e
Add utc param to get_time and get_date methods
...
If utc == false, we return the local time, like before.
Otherwise, we return UTC time.
utc defaults to false to not break behaviour.
2015-06-06 05:55:28 +02:00
Juan Linietsky
d5348eebdc
work in progress, resource previews
2015-05-31 02:00:18 -03:00
Kostadin Damyanov
a553327043
Haiku: some small fixes
2015-05-25 06:34:16 +03:00
Kostadin Damyanov
826f8af1ef
Haiku: link with the haiku libs, stub the OS_Haiku class.
2015-05-25 06:02:55 +03:00
Kostadin Damyanov
4e07a2dea8
Haiku: fix building with UNIX_ENABLED.
2015-05-25 03:49:24 +03:00
Antony
5ceec67add
Added Doxyfile for Doxygen documentation. Had to modify codec.h because it already had set up the mainpage. Added a logo without text for the Doxygen pages upper top left corner. Pointed Doxyfile to README.md. Thinking of adding Markup in c files pointing to Wiki links. That way we have current source markup but it points to Wiki for major documentation effort.
2015-05-10 14:36:58 -06:00
Juan Linietsky
1fd1b7a91b
Merge branch 'master' of https://github.com/okamstudio/godot
2015-05-09 13:09:20 -03:00
Juan Linietsky
1a7d370fcf
-Corrected DirAccessWindows functions, fixes #1872 , properly fixes #791 .
2015-05-09 13:05:34 -03:00
Juan Linietsky
deba45ebf7
Merge pull request #1841 from SuperUserNameMan/updated_rtaudio
...
update rtaudio to latest version
2015-05-07 20:03:00 -03:00
yg2f
2f4c435bfa
update rtaudio to latest version
...
update rtaudio from latest version availbale on github
2015-05-06 23:08:06 +02:00
ehriche
b89cd136a9
fixed ColorRgb attribute init order of struct
2015-05-06 01:22:38 +02:00
ehriche
edce27fc03
minor fixes in drivers mpc and vorbis.
2015-05-06 00:43:24 +02:00
Juan Linietsky
639f7e0016
Merge pull request #1810 from ricpelo/ricpelo-patch-3
...
Fixes Theora build
2015-05-04 20:42:26 -03:00
Ricardo Pérez
ba61a1dfd3
Fixes Theora build
...
Changes memcpy() -> copymem()
2015-05-04 23:57:55 +02:00
Juan Linietsky
fbbe7dcdfb
Merge remote-tracking branch 'origin/master'
...
Conflicts:
drivers/windows/dir_access_windows.cpp
2015-05-04 13:24:02 -03:00
Juan Linietsky
7f5b744b92
small unicode fixes
2015-05-04 13:12:05 -03:00
Juan Linietsky
f4caddbc23
-corrected frac() and hyperbolic sin,cos,tan when running on PC (GLSL120), fixes #1775
2015-05-04 10:53:54 -03:00
Juan Linietsky
c631d597ad
Merge pull request #1792 from swenner/static_analysis_fixes
...
Static analysis fixes
2015-05-03 22:53:30 -03:00
Juan Linietsky
795ccf0e14
Merge pull request #1800 from antonyjones67/VSGenerator
...
Added Visual Studio project generation. Use "vsproj=yes" in command line...
2015-05-03 22:52:20 -03:00
Antony Jones
2a4da03f10
Added Visual Studio project generation. Use "vsproj=yes" in command line. This does not set up NMAKE properly.
2015-05-03 15:18:56 -06:00
Simon Wenner
3f1826866b
fixed uninitialized name pointers (cppcheck)
2015-05-03 02:16:26 +02:00
Simon Wenner
332d9af81b
fixed memory leak: triangulated (cppcheck)
2015-05-03 02:11:43 +02:00
Juan Linietsky
c45ffc2ca9
-fixed old condition in TextureFrame that caused bugs in materials, closes #1742
2015-05-01 12:16:51 -03:00
Juan Linietsky
4804462ee0
-Fixes from source code analyzizer, closes #1768
2015-05-01 10:44:08 -03:00
Juan Linietsky
5c6b31c024
-fixed broken lighting in release version of godot for isometric light demo, fixes #1697
2015-04-30 11:34:24 -03:00
Juan Linietsky
0adca0a7c9
-made normalmaps easier in 2D, fixes #1467
2015-04-27 08:11:54 -03:00
Juan Linietsky
52e2f4606f
-Objects with BlendMode!=MIX do not get affected by CanvasModulate, fixes #1724
2015-04-24 23:46:42 -03:00
Juan Linietsky
59154cccf9
-Changed Godot exit to be clean.
...
-Added more debug information on memory cleanliness on exit (if run with -v)
-Fixed several memory leaks, fixes #1731 , fixes #755
2015-04-20 19:38:02 -03:00
Juan Linietsky
1de1a04b78
-fix local and global usage for DirAccess, fixes #791
...
please test anyway..
2015-04-18 20:11:33 -03:00
Juan Linietsky
a5cbfbbcbb
-fixed relative path saving to file, fixes #1694
2015-04-18 16:33:31 -03:00
Juan Linietsky
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
Juan Linietsky
3b434eacde
Fix clipping when used in viewport or inside another viewport, fixes #1661
2015-04-14 22:05:14 -03:00
Juan Linietsky
e573d3a945
fixed broken lighting, closes #1671
2015-04-12 20:41:25 -03:00
Juan Linietsky
f9906eeac8
-Fixed screen capture for viewports, added a screen capture demo, fixes #1529
2015-04-12 18:58:05 -03:00
Juan Linietsky
d148a03848
-Fixes bug in ShaderGraph material, when uniform property is not used, fixes #1634 and #1610
2015-04-09 00:29:21 -03:00
Juan Linietsky
b135cdbf05
Merge pull request #1531 from vkbsb/h5_canvas_polygon_fix
...
H5 canvas polygon fix
2015-04-07 20:22:58 -03:00
Juan Linietsky
b36e41cb71
Added a PVRTC encoder for iOS
2015-04-06 21:48:20 -03:00
Anton Yabchinskiy
16746f157f
Merge branch 'master' of github.com:okamstudio/godot
2015-04-04 09:31:21 +03:00
Juan Linietsky
5d99e15e43
fix shadow issue with lights in mix mode, i think fixes #1611
2015-04-03 14:36:10 -03:00
Juan Linietsky
9fa1698c74
Changes to Light
...
-=-=-=-=-=-=-=-=
-Changed material unshaded property for an enum, which supports light-only shading
-Added a "Mix" shading mode, useful for using lights as masks
-Added energy parameter to Light2D
2015-04-03 01:43:37 -03:00
Juan Linietsky
68e42f53ba
Beta1 Attempt #1
...
-=-==-=-=-=-=-=-
-Small fixes in canvas item light shader
-Fixed compilation in server target
-Export for Android makes 32 bits display as default
-changed version to 1.1beta1
2015-04-02 12:59:23 -03:00
Juan Linietsky
76c2b9d812
fix shadow attenuation
2015-04-01 12:23:13 -03:00
Juan Linietsky
7fc4059b13
read depth fixes
2015-03-31 17:57:16 -03:00
Juan Linietsky
ad634876b5
fixes for light2d in androids that do not support
...
read depth
2015-03-31 14:59:28 -03:00
reduz
7f8a0cddcf
fixes to shader to get most new demos working on mobile
2015-03-25 22:56:35 -03:00
Juan Linietsky
23e13ce3c2
fixes to new window management API
...
-needs testing on Linux
-needs testing on Windows
-NEED SOMEONE TO IMPLEMENT IT ON OSX!! PLEASE HELP!
2015-03-22 19:00:50 -03:00
Juan Linietsky
f706e3e5d1
Merge pull request #1380 from ElectricSolstice/wparentheses_removal
...
Changed code to remove gcc -Wparentheses warnings.
2015-03-22 15:05:47 -03:00
Juan Linietsky
ca30c87019
Merge pull request #1438 from Spooner/fix_isometric_demo
...
Fix isometric demo
2015-03-22 14:59:58 -03:00
Juan Linietsky
3a96937e93
Merge pull request #1512 from the-mech/master
...
[Fix] make_dir_recursive on Windows
2015-03-22 14:53:10 -03:00
rollenrolm
db0a71fc58
New option to show/hide hidden files
2015-03-21 18:33:32 +01:00
V.VamsiKrishna
4fa71a6ee0
Removing Print statement effects perf.
2015-03-21 22:25:48 +05:30
V.VamsiKrishna
372fa5277c
Fix for canvas_draw_polygon on webgl.
2015-03-21 10:12:25 +05:30
Juan Linietsky
acc6f3b285
signed distance field font support
2015-03-21 00:43:33 -03:00
V.VamsiKrishna
beab10ab9b
Revert "Revert "Missed some things in prev commit.""
...
This reverts commit 2e59788aa9
.
2015-03-20 11:48:21 +05:30
V.VamsiKrishna
eb3c88b3dd
Revert "Revert "Removing etc1 from build for javascript platform.""
...
This reverts commit 9965e93f7e
.
2015-03-20 11:47:56 +05:30
V.VamsiKrishna
2e59788aa9
Revert "Missed some things in prev commit."
...
This reverts commit d3280f91a1
.
2015-03-20 11:12:59 +05:30
V.VamsiKrishna
9965e93f7e
Revert "Removing etc1 from build for javascript platform."
...
This reverts commit 41b729ccff
.
2015-03-20 11:12:13 +05:30
V.VamsiKrishna
d3280f91a1
Missed some things in prev commit.
2015-03-20 11:06:28 +05:30
V.VamsiKrishna
41b729ccff
Removing etc1 from build for javascript platform.
...
Based on inputs from reduz
1) Made etc1 optional driver and default yes.
2) Reverted the hack in rg_etc1.cpp
3) Disabled etc1 for javascript plaform.
2015-03-20 10:18:13 +05:30
V.VamsiKrishna
743b3157bc
Fix for newer gcc. Picked from GoogleCode
2015-03-19 10:35:24 +05:30
V.VamsiKrishna
1d45cd0ff1
Fix Javascript build.
2015-03-19 10:31:36 +05:30
Juan Linietsky
53e1694e1e
New option to send canvas to render buffer
...
allows to use 3D environment effects for post processing such as Glow,
Bloom, HDR, etc. in 2D.
2015-03-16 01:14:59 -03:00
Matthew Hughes
1200689245
Update file_access_windows.cpp for mingw cross-compile
...
Cross compiling on linux failed on this file. Changing case of the windows.h and shlwapi.h allows mingw to find these headers but setting WINVER 0x0500 is needed for the compiler to find ReplaceFileW
2015-03-15 09:43:13 -05:00
Roman Nekrassow
e646fc5b5d
[Fix] make_dir_recursive on Windows
...
function normally tries to create c: which isn't possible, because the access is denied, handling ERROR_ACCESS_DENIED as ERR_ALREADY_EXISTS lets the function skip the creation of c: .
2015-03-14 12:35:18 +01:00
Juan Linietsky
650e13f3cd
back buffer copy node, to improve on texscreen()
...
back buffer copy node and respective demo
2015-03-12 01:05:50 -03:00
Anton Yabchinskiy
43713810de
Merge branch 'master' of https://github.com/okamstudio/godot
2015-03-10 11:44:40 +03:00
Juan Linietsky
91744e9ed3
New Demo, Screen Space Shaders
...
-Fixes to screen space shaders.
-Fixes to isometric light demo.
2015-03-10 00:53:50 -03:00
Juan Linietsky
09489e3a78
lot of work on 2D lighting and isometric maps
...
added a new demo, isometric_light that does full isometric sorting,
lights, shadows, etc.
2015-03-09 02:34:56 -03:00
Juan Linietsky
a0ee5cc353
time was not being set properly with the rest of the uniforms.
2015-03-02 19:21:46 -03:00
Juan Linietsky
a1f715a4da
support for 2D shadow casters
...
Added support for 2D shadow casters.
*DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a
CanvasItem and pull this, you will lose them. Shaders now work through a
2D material system similar to 3D. If you don't want to lose the 2D
shader code, save the shader as a .shd, then create a material in
CanvasItem and re-assign the shader.
2015-03-02 00:54:43 -03:00
romulox_x
320700fc92
changed the blending function when using a transparent render target so that it blends properly
2015-03-01 15:44:02 -08:00
Bil Bas (Spooner)
c85b2e3fb3
Merge branch 'master' of https://github.com/okamstudio/godot
2015-02-22 14:08:59 +00:00
romulox_x
2ac767b1f5
changed viewport clearing to use the alpha value of the clear color, and made the transparent bg option of viewport force a clear color of 0,0,0,0
2015-02-21 13:57:12 -08:00
Juan Linietsky
1d7337ba10
Merge pull request #1369 from not-surt/tile_rotation
...
Tile Rotation
2015-02-21 15:37:02 -03:00
Anton Yabchinskiy
19a99afa81
Merge branch 'master' of https://github.com/okamstudio/godot
2015-02-20 13:41:37 +03:00
Bil Bas (Spooner)
3241b0181e
Merge branch 'master' of https://github.com/okamstudio/godot
2015-02-19 02:00:50 +00:00
Juan Linietsky
5ef3f7392f
support for light and normal mapping in 2D
2015-02-18 19:40:02 -03:00
Anton Yabchinskiy
e024ff89b2
Merge branch 'master' of https://github.com/okamstudio/godot
2015-02-17 15:57:24 +03:00
ElectricSolstice
0e1f34b49d
Changed code to remove gcc -Wparentheses warnings.
2015-02-16 18:58:41 -08:00
Bil Bas (Spooner)
fba2d121b4
Corrected behaviour of File.READ_WRITE mode ( fixes #378 )
2015-02-16 20:59:16 +00:00
Carl Olsson
196185d0be
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
scene/2d/tile_map.cpp
2015-02-15 18:21:35 +10:00
Juan Linietsky
a49802ae33
-resolved shader set parameter bug, closes #1361
2015-02-14 14:54:58 -03:00
Carl Olsson
6a38ab1b43
Reorder tile transforms so transpose occurs before flips. Much more intuitive for flipping transposed tiles.
2015-02-13 10:56:53 +10:00
Carl Olsson
573ae5dd92
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
demos/2d/polygon_path_finder_demo/.fscache
2015-02-11 21:15:49 +10:00
Juan Linietsky
e74982e55e
fixes to skinned buffer
...
should avoid targets with large objects using morphs
also skinned buffer size is properly customizable on project settings.
2015-02-10 19:14:22 -03:00
Juan Linietsky
a34d27438c
ability to customize max render elements
...
should close #1339
2015-02-09 22:18:44 -03:00
Juan Linietsky
e7918ebbf2
Merge pull request #1281 from sanikoyes/Pr-fix-rtt-filters
...
Pr-fix-rtt-filters
2015-02-09 21:24:09 -03:00
Carl Olsson
ee44664b2a
Merge branch 'master' of https://github.com/okamstudio/godot
2015-02-02 21:34:47 +10:00
Carl Olsson
c5bf43f6eb
Working TileMap tile transpose transform.
2015-02-02 21:27:48 +10:00
sambler
73ca870c81
fix build on freebsd
...
Add some needed includes
Provide freebsd variation of get_executable_path
Provide variation of execv so that either full path
or appname to be found within $PATH can be used
2015-01-27 19:31:37 +10:30
Anton Yabchinskiy
6f93e6812e
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-21 12:03:29 +03:00
Juan Linietsky
c6eabbbec5
fixed world vertex issues in canvas item shader
2015-01-21 00:57:37 -03:00
Juan Linietsky
14ade5500f
Fixed bug in 3D material
...
textures that failed to load should now load again properly
2015-01-20 23:58:47 -03:00
Juan Linietsky
da0d4e4dea
Fixes to texscreen, fixes to white testcube
2015-01-20 22:31:32 -03:00
Juan Linietsky
11c1756257
Visual Shader Editing for 2D
...
Editing 2D shaders with visual editor seems to work now.
2015-01-20 20:36:25 -03:00
sanikoyes
75be78b370
Fix filter options not works in render target texture
2015-01-20 20:01:58 +08:00
Juan Linietsky
a0511ed59a
Color Ramp and Curve Map added to visual shader editing.
...
Added Color Ramp and Curve Map to shader nodes.
Fixed an issue that crashed Godot Editor right when opened.
2015-01-19 02:39:58 -03:00
Anton Yabchinskiy
d6998995b5
Merge branch 'master' of github.com:okamstudio/godot
...
Conflicts:
platform/x11/detect.py
2015-01-14 23:17:15 +03:00
sanikoyes
ffe53061cd
Add missing shader function: refract
2015-01-14 00:28:18 +08:00
Juan Linietsky
2ef5a342e3
-begin work on unidirectional collision detection
...
-fixed performance issue in new 2D engine
-texscreen() working in shader 2D
2015-01-13 10:49:26 -03:00
Juan Linietsky
30d3658110
-fixed issue with shader not being reset on layers, closes #1199
...
-ability for shader to use parent shader and params, closes #1198
2015-01-12 20:44:02 -03:00
Juan Linietsky
544ce2a1db
-Initial working(?) implementation of shaders for 2D. Lighting still not there though.
...
Check for reference:
https://github.com/okamstudio/godot/wiki/shader
2015-01-12 10:19:09 -03:00
reduz
f3dc51fc69
2D shader progress
2015-01-11 20:52:42 -03:00
Juan Linietsky
66afddb3e8
-Initial (untested) implementation of 2D shaders. Probably broken, will be fixed later.
...
-fixed issue of opacity not working
2015-01-11 11:43:31 -03:00
Juan Linietsky
d30f4e52f6
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-10 17:37:56 -03:00
Juan Linietsky
8997084831
2D Rewrite Step [1]
...
-=-=-=-=-=-=-=-=-=-
-Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future).
-Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order)
-Removed OpenGL ES 1.x support. Good riddance!
2015-01-10 17:35:26 -03:00
Anton Yabchinskiy
b6c5cb1064
Merge branch 'master' of github.com:okamstudio/godot
2015-01-10 22:29:17 +03:00
Dana Olson
88591af4ac
fix saving texture flags to *.png.flags file, closes #399
2015-01-10 02:37:00 -05:00
Rhody Lugo
d046bd88ad
OS X: Add keyboard layout detection and fix build
2015-01-08 02:56:27 -04:30
Juan Linietsky
78f4b93703
Fixes to GraphEdit:
...
-Working area is bigger now, solves #1148
-Using Position now works, fixes #1141
-RGB ops now work, fixes #1139
-Missing bindings to GraphEdit and GraphNode added
-Shader Graph Editor Shows errors on cyclic links and missing connections
2015-01-08 00:41:34 -03:00
Juan Linietsky
7a0e4c822c
-Visual Shader Editing Finished, PLEASE TEST!
2015-01-07 01:45:46 -03:00
Anton Yabchinskiy
a7875c586a
Merge branch 'master' of github.com:okamstudio/godot
2015-01-05 23:56:24 +03:00
Juan Linietsky
ddf7457894
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-03 16:53:39 -03:00
Juan Linietsky
fbdd925d9b
-Work in progress visual shader editor *DOES NOT WORK YET*
2015-01-03 16:52:37 -03:00
Juan Linietsky
6b5b95bb4e
-added new code completion guess locations, closes #1032
...
-moved commandline fix to mingw-only, should fix #1064
2015-01-03 13:03:13 -03:00
Juan Linietsky
cef3bd026f
-fixed issue with denormals in half precission, closes #1073
...
-added h_offset and v_offset to 3D Camera, should allow to do the same as in #1102
2015-01-03 11:06:53 -03:00
Juan Linietsky
d722537154
-proper minimum size computation for TabContainer
2015-01-02 22:34:22 -03:00
Juan Linietsky
7a5a4d135e
Merge pull request #998 from sanikoyes/Pr-fix-gles2-canvas_draw_polygon
...
Fix RasterizerGLES2::canvas_draw_polygon can't work correct at some devi...
2015-01-02 18:07:49 -03:00
Anton Yabchinskiy
4ab1bcde35
Merge branch 'master' of github.com:okamstudio/godot
...
Conflicts:
drivers/SCsub
platform/x11/detect.py
platform/x11/os_x11.h
2014-12-23 23:44:07 +03:00
Juan Linietsky
78e7777cf5
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
modules/gdscript/gd_editor.cpp
Improved code completion for InputEvent (shows members by type)
2014-12-21 11:46:28 -03:00
Juan Linietsky
f7f197c409
-ability to set default textures in shader (needed for visual shader editing)
...
-work in progress new graph system (will replace current one)
-crash fix in s3m loader (out of bounds acess)
-fixed vbox overriding of separation (fixes empty line between section tabs)
2014-12-21 11:42:44 -03:00
Juan Linietsky
a36a774897
Fixes
...
-=-=-=
-Added missing quaternion constructor
-code completion fixes
-winrt fixes
2014-12-20 15:30:06 -03:00
Alexander Stillich
f2843209a5
Implemented PulseAudio backend and fixed audio driver selection on X11
2014-12-19 13:44:34 +01:00
sanikoyes
0b7a5b8425
Fix RasterizerGLES2::canvas_draw_polygon can't work correct at some devices(like Sumsung Note2)
...
in some devices, gpu doe's not support uint(32bit) indies
2014-12-19 13:08:48 +08:00
Juan Linietsky
d55f95e0d2
Merge branch 'master' of https://github.com/okamstudio/godot
2014-12-16 22:33:35 -03:00
Juan Linietsky
bcf27feb98
New Code Completion
...
-=-=-=-=-=-=-=-=-=-
-Massive improvement to code completion
-Argument hinting for functions
If you manage to out-smart the code-completion in a situation where completion
should be possible to guess, let me know.
Please enter the commit message for your changes. Lines starting
2014-12-16 22:31:57 -03:00
Juan Linietsky
089d7fa171
Small batch of fixes
...
-=-=-=-=-=-=-=-=-=-=
-Fixed looping error in AudioStreamResampled
-winrt port progress
-fixes in material in ambient light
2014-12-15 15:42:58 -03:00
Anton Yabchinskiy
ff755f93eb
Merge branch 'master' of http://github.com/okamstudio/godot
2014-12-09 17:51:14 +03:00
Juan Linietsky
c79be979d4
Batch of Bugfixes
...
-=-=-=-=-=-=-=-=-
-Fixed Export UV XForm (should work now). #923
-Fixed enforcement of limits in property editor. #919
-Fixed long-standing bug of export editings in script inheritance. #914 , #859 , #756
-Fixed horrible error reporting in shader language. #912
-Added kinematic collision with plane (please test well). #911
-Fixed double animation track insert when using 2D rigs. #904
-VKey updates offset parameter in sprite edition. #901
-Do not allow anymore a script to preload itself. (does not fix #899 , but narrows it down)
-Avoid connection editor from overriding selected text. #897
-Fixed timer autostart. #876
-Fixed collision layers in 3D physics. #872
-Improved operators in shader #857
-Fixed ambient lighting bug #834
-Avoid editor from processing gamepad input #813
-Added not keyword #752
Please test!
2014-12-07 02:04:20 -03:00