Commit Graph

1524 Commits

Author SHA1 Message Date
Lynix 8132812c23 Interpolation factor is now only checked in debug
Former-commit-id: b5cf2b63740a0827403cac7843aca4b820b7687f
2012-10-29 09:59:55 +01:00
Lynix a608aa0e2a Cleaning loader code
Former-commit-id: a34fae25b7e70e1168fa6bfa089d8de991184036
2012-10-29 09:59:18 +01:00
Lynix 2831f596d2 Added missing include
Former-commit-id: c8cdcb907f85b064e5cf3a7faa23740131af9283
2012-10-29 09:56:21 +01:00
Remi Beges 9fef43951b Replaced templates by float
*Since only valid template parameters were float and double, the whole
template aspect has been removed.
Double precision would only be used in extremely rare occasions
(applications needing high precision and slow performances), it is not
relevant to template the whole module for it.


Former-commit-id: fc6dd028189c608a6a7b4c312b3e5e3f53a01fd7
2012-10-27 18:59:39 +02:00
Lynix 3a9e8850c0 Added Keyboard::GetKeyName (experimental)
Former-commit-id: a937b98ceeed3cb7c64bf6c1f544bb7021ad01bd
2012-10-26 14:09:09 +02:00
Lynix 4c23ccf1c6 (Matrix4) Renamed Destroy to Undefine, fixed bug
Fixed Transpose() not checking COW ownership


Former-commit-id: de2c64b9aef5abf2f73ce6cff2fe8442c1c382c5
2012-10-26 14:08:30 +02:00
Lynix 61c081ace3 Fixed and improved Matrix class (See description)
-Added ApplyScale
-Added Destroy()
-Added GetInverseAffine
-Added Inverse(Affine)
-Added (Make)Transform method, generating a TRS transform matrix
-Fixed COW
-Inverse methods now takes an optionnal boolean pointer


Former-commit-id: 84e7c679c242876f9b0888875b37afa12eed311a
2012-10-24 22:32:46 +02:00
Lynix 5f95dbe82e (NzImage) Fixed Convert crash and optimized Fill
Former-commit-id: 674acfd1e8e6fa28a8657ba45adedca311f54949
2012-10-24 18:41:13 +02:00
Lynix 8712de3118 Cleaned NzNormalizeAngle code
Former-commit-id: 3d984db7632e0c9cba032d22b1470828326c0ad9
2012-10-24 18:22:07 +02:00
Lynix 855b3676e8 Fixed quaternion interpolation
Former-commit-id: b43671708fb9e64517a67ba070167587688457fb
2012-10-24 18:21:33 +02:00
Lynix 889a18b8be Fixed typo
Former-commit-id: 6695febce4d2d5d59d578c3219a5848b13b554f1
2012-10-24 17:59:22 +02:00
Lynix bb003885bf Fixed premake file of examples and template
Former-commit-id: 9fb60b867d80450a6afb97dbc65904bfee89b377
2012-10-24 17:59:14 +02:00
Remi Beges 745b9dbbd1 Removed 'virtual' in front of templated function
Former-commit-id: 7afa1cdd4ff3db4b73dcb79bcfda6739859c3215
2012-10-09 22:15:29 +02:00
Lynix 5bbc8d0fa4 Fixed debug-mode compilation
-Also added multiplication operator and equality comparison to Cube and
Rect


Former-commit-id: b4194a50fbe3025d3be1fc25d48a85d5a05fc5ac
2012-10-08 23:08:46 +02:00
Lynix 94268ae6b2 Fixed typo
Former-commit-id: 3a47a8981692b57ccad50e1044c1139c34bf9c75
2012-10-08 15:35:02 +02:00
Lynix cfd54b859d Added linear interpolation (Lerp) to math module
Former-commit-id: 5920e21f25d42701a1895734eca492fdf5351669
2012-10-08 14:45:29 +02:00
Lynix 737f2a70bd Fixed compilation error
Former-commit-id: f6be1fa1b43082fa295c7dd95337475365f0c453
2012-10-05 20:14:01 +02:00
Remi Beges a72d388c05 Merge remote-tracking branch 'upstream/master'
Conflicts:
	include/Nazara/Noise/NoiseMachine.hpp
	src/Nazara/Noise/ComplexNoiseBase.cpp
	src/Nazara/Noise/NoiseMachine.cpp

Former-commit-id: 54af2e19e336cfacee63cabe785d7b05fa392b53
2012-10-05 17:53:41 +02:00
Lynix 91f0b97142 Fixed cracks in some Vorbis files
Thanks to Marisa-Chan for the fix in libsndfile


Former-commit-id: e60b7671f3ce4f03c5d387ca69e3883c496e7dc0
2012-10-04 23:41:10 +02:00
Lynix fcacaba7ca Cleaned code
Former-commit-id: a61b8bf3470036cd8a61199e78609206d959966f
2012-10-04 23:39:10 +02:00
Lynix 34c1479a30 Renamed "one-library" build option to "united"
Former-commit-id: 0578d236b4e209f1e9b35ae4302c040322e15ee8
2012-10-04 23:32:24 +02:00
Lynix defbb0f1a6 Updated examples
It is now possible to pause the animation in AnimatedMesh demo with the
P key


Former-commit-id: 98d1b5196007dd524e2257157d6e7fd3171fb070
2012-10-04 09:36:56 +02:00
Lynix 41bfaf6941 Fixed String::Simplified()
Former-commit-id: 6193b710728d0ff1ab0387428d65f0ce5bebd115
2012-10-04 09:34:29 +02:00
Lynix 10fc386865 Added VertexDeclaration::HasElement
Former-commit-id: 30dccfba56bba0e56c08da79c3fde3bdf94119cb
2012-10-04 09:33:54 +02:00
Lynix 7bab3d9443 Cleaned code
Former-commit-id: 65b235b0c8326e060ec7032bb2a153e22518a25a
2012-10-04 09:32:55 +02:00
Lynix b219b19710 Fixed Tuple.inl including Utility debug headers
Former-commit-id: 259b43f54669c6b58e04ee16719df73b441b72dd
2012-10-04 09:23:39 +02:00
Lynix 516bf7b3b9 Fixed NzStream options
Former-commit-id: 1479dd2bbed9587af7b9b7c165192709478f30e1
2012-10-04 09:22:59 +02:00
Remi Beges 3f8e3cfb60 Modifications for the new architecture
to fullfill mixer implementation requirements
*Added FBM2D, first complex noise class of the new architecture
*Removed NoiseMachine, because was redundant and not fitting with the new
architecture
*Minor changes to almost every other noise class (mostly adding 'this->')
everywhere an inherited member from template base class was called from
the inherited class
2012-10-02 19:55:35 +02:00
Lynix 07e949404c Added NzStream and stream options
Former-commit-id: d2c69b12f34fffff4d412111e7af7cc4dbb638a8
2012-10-01 00:57:32 +02:00
Lynix aaca9349fd Fixed Matrix4 equality comparison
Former-commit-id: cb1e21196c2053138a8d70bc09d39ecbf7b83ba8
2012-09-30 23:11:43 +02:00
Lynix 8d057fb3b1 Renamed GetBPP to GetBytesPerPixel
Also added GetBitsPerPixel


Former-commit-id: 9cc1df58133c538b1dc74215a9022d13dfd9d7f6
2012-09-30 23:11:00 +02:00
Remi Beges a41a2ddcb3 Added ability to give offset and gain to every noise (mappedNoise) +
bugfixes
2012-09-30 19:13:25 +02:00
Lynix 49ac00f28d Fixed error message
Former-commit-id: f07c8fe20e7e11d49da8c114cdf518bf04484855
2012-09-23 18:07:31 +02:00
Lynix bdb7703ab2 Improved OS detection macros
Former-commit-id: 6f89791cfde43a813dc1250bd82ba9f54afb7786
2012-09-21 19:10:35 +02:00
Lynix a73cd1374a Normalized line ending
Former-commit-id: bd061c48bdc8f0d26159dac3b41017defef5ae1e
2012-09-21 14:24:48 +02:00
DigitalPulseSoftware 4b3772e2d8 Fixed typo
Former-commit-id: 440a4d3939cfee80ba4224dc8ed90084adaf0380
2012-09-21 14:20:38 +02:00
Jérôme Leclercq 84509ecc16 Fixed useless headers includes
Former-commit-id: 17429fb0c822b6044c7a990b85e05ca37dcd0b90
2012-09-21 12:41:48 +02:00
Jérôme Leclercq cc6f2a6fc9 Added InputStream::GetLine(size);
Former-commit-id: 4c5afc038877bfa9865285d044663df3f7932d58
2012-09-21 12:39:40 +02:00
Jérôme Leclercq 2ea37a1877 Added InputStream::EndOfStream()
Former-commit-id: d8618fbb677a73cb6890d913af66adb22e6c2a39
2012-09-21 12:07:13 +02:00
Jérôme Leclercq f9443e37d4 Fixed DopplerEffect comments
Former-commit-id: 26b6f08b6bbc54b0e96d708feda4229e182cb918
2012-09-21 12:06:28 +02:00
Jérôme Leclercq 4cfbd68796 Fixed WindowStyle_Titlebar enum
Former-commit-id: 6c239b54ce2f734e0221cf87bd059ee1c73b5fe2
2012-09-20 22:32:53 +02:00
Jérôme Leclercq cd5a1b7a5e Added RenderTextures (And many others things)
-Added Forward, left and up vector (Vector3)
-Added Matrix4::ConcatenateAffine shortcut
-Added Quaternion::GetInverse() and Quaternion::Inverse()
-Added Resource listeners
-Added Depth and stencil pixel formats
-All enums now have an ending "max" entry
-Animation/Mesh::Add[Sequence/Skin/SubMesh] now returns a boolean
-Contexts are now resources
-Enhanced AnimatedMesh demo
-Fixed MD2 facing
-Fixed Vector3::CrossProduct
-Made Resource thread-safe
-Made OpenGL translation table global
-Many bugfixes
-MLT will now write malloc failure to the log
-Most of the strcpy were replaced with faster memcpy
-Occlusion queries availability is now always tested
-OpenGL-related includes now requires NAZARA_RENDERER_OPENGL to be
defined to have any effect
-Pixel formats now have a type
-Renamed RenderTarget::IsValid to IsRenderable
-Renamed Quaternion::GetNormalized() to GetNormal()
-Renamed Texture::Bind() to Prepare()
-Renamed VectorX::Make[Ceil|Floor] to Maximize/Minimize
-Removed MATH_MATRIX_COLUMN_MAJOR option (all matrices are column-major)
-Removed RENDERER_ACTIVATE_RENDERWINDOW_ON_CREATION option (Render
windows are active upon their creation)


Former-commit-id: 0d1da1e32c156a958221edf04a5315c75b354450
2012-09-20 22:07:30 +02:00
Lynix a6ed70123b Added missing external libraries binaries
Former-commit-id: 8c1faed067e523a94b81cbf3658df6a6096898c0
2012-08-21 15:18:21 +02:00
Lynix 40ec2003b4 Added Audio module
Fixed examples resources not being commited
Temporary removed static build configurations
2012-08-21 15:04:00 +02:00
Lynix 71b777e732 Fixed examples linking 2012-08-18 15:12:04 +02:00
Lynix cd6b2c447a Fixed modules target names 2012-08-18 14:08:14 +02:00
Lynix 0bb693c148 Added option to exclude a module from build 2012-08-18 02:46:02 +02:00
Lynix d3951ddef6 Regenerated (And fixed) global headers 2012-08-18 01:50:48 +02:00
Lynix 15afde86c8 Rewritted ResourceLoader and moved it to core
Added creation constructor to NzImage
Added member function functor
Added option to build Nazara as one library (instead of many)
Fixed some 2011 copyrights
Made use of "using def = T" C++11 feature instead of some illigible
typedefs
Removed unused premake file
2012-08-18 01:46:01 +02:00
Lynix 5619ddb0b1 Changed all the files encoding to UTF-8
Named modules in licence informations
2012-08-10 03:21:37 +02:00