Commit Graph

6601 Commits

Author SHA1 Message Date
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
Lynix f8a0cdad39 Added Windows shortcut to generate CodeLite project
Changed two submesh's error message
Fixed OpenGL.hpp/.cpp spaces for some displayers
OpenGL loads GL_kdr_debug if possible instead of GL_ARB_debug_output
Refactored external includes
2012-08-10 02:03:25 +02:00
Lynix b559932d63 Changed readme and examples encoding to UTF-8 2012-08-10 01:41:37 +02:00
Lynix b442ab0bd2 Refactored mathematics module
Added AABBs
Added code examples
Added experimental support for texture arrays (1D/2D)
Added initialisers (new way of initialising modules)
Added global headers (Plus a global header generator script)
Added pattern support for directory
Added support for spinlocks critical section on Windows
Added NzRenderWindow::SetFramerateLimit
Core project now includes Mathematics files
Fixed color implementation using double
Fixed declaration needing renderer include
Fixed MLT not clearing nextFree(File/Line) after Free
Fixed move operators not being noexcept
Fixed thread-safety (Now working correctly - If I'm lucky)
Moved Resource to core
New interface for modules
New interface for the renderer
Put some global functions to anonymous namespace
Removed empty modules
Renamed ThreadCondition to ConditionVariable
Replaced redirect to cerr log option by duplicate to cout
Setting mouse position relative to a window will make this window ignore
the event
Shaders sending methods no longer takes the uniform variable name (it's
using ID instead)
Using new OpenGL 4.3 header
2012-08-08 04:44:17 +02:00
Remi Beges ed200354cb Merge remote-tracking branch 'upstream/master' 2012-07-24 14:35:05 +02:00
Remi Beges 354d7ed002 Improved interface
*MappedNoiseBase provides a gain and offset control on the noise value
*AbstractXDNoise provides a way to contain different noises in a std
container and access the main "GetValue" member function
*Applied minor optimisation to Perlin4D (previously forgotten)
2012-07-24 14:21:56 +02:00
Lynix 06eda4eba9 Added Meshes and Animations (And many more)
Added NzTexture::IsMipmappingSupported
Color::(FromTo)HSV now takes hue and saturation in degrees
Fixed Context::EnsureContext
Fixed COW thread-safety (String, Image, Matrix4)
Fixed Quatenion<T>::operator*(const Vector3<T>&)
Fixed ResourceLoader
Fixed String::Resize with a size of 0
Fixed Texture mipmapping crash
Fixed per-class thread-safety
IndexBuffer and VertexBuffer are now resources
It is now possible to use more than 8 texcoords per shader
Moved all enumerations into separate files (Core/Enums.hpp,
Utility/Enums.hpp, ..)
Removed NzContextParameters::defaultWindow
VertexDeclaration has been rewritten (New interface/COW)
2012-07-13 15:22:14 +02:00
Lynix 5f95f0b677 Updated OpenGL headers 2012-07-01 23:09:25 +02:00
Lynix ee8a6fda3b Fixed last commit 2012-07-01 02:06:40 +02:00
Lynix 7ed9e16664 NzString::Clear now takes an optional argument
Fixed NzString::ToDouble rejecting legal strings
NzString::Clear can now keep the internal buffer to improve performances
NzStringToNumber now takes an optional argument to check if the
conversion went well
Optimized NzString::ToInteger
2012-07-01 00:44:53 +02:00
Lynix d97e4a7f43 Fixed cursor change not showing immediatly
Fixed error message when failed to create icon
2012-06-24 15:06:17 +02:00
Lynix bcf36e7a14 Added support for custom cursor/icon 2012-06-24 13:28:24 +02:00
Lynix d851e35a56 Added NzWindow::SetCursor
Moved window flags to global scope (nzWindowStyle)
Removed NzWindow::ShowMouseCursor (superseded by SetCursor)
2012-06-23 15:02:17 +02:00
Lynix 71cf7876c5 Optimized image flipping
Added new extensible flipping system
Optimized NzTexture::Update(Face)
2012-06-22 23:18:37 +02:00
Lynix acc9b99ad2 Fixed typo 2012-06-22 09:57:24 +02:00
Lynix 8e04e71c14 Added class template 2012-06-21 16:50:17 +02:00
Lynix 445d6d236d Added NzBuffer::SetStorage
Fixed (Index/Vertex)Buffer::(Fill/Map) not filling/mapping the entire
buffer when the third argument was zero
Fixed Renderer not accepting sequential index buffer
2012-06-21 16:37:28 +02:00
Lynix ec9470ceb6 Moved buffers to Utility
Fixed NzVector4::operator/
Replaced enumName_Count by enumName_Max
Renamed (Index/Vertex)Buffer::GetBufferPtr by GetPointer
2012-06-21 09:49:47 +02:00
Remi Beges 10a436b481 Made operator< of strict order 2012-06-20 20:36:14 +02:00
Remi Beges 9996a7169a Removed Physics module 2012-06-19 18:31:42 +02:00
Remi Beges f1865e5030 Sligthly changed interface & added functionnalities
NzPhysicsWorld has now a public pointer to NewtonWorld
NzCollisionShape added, can be constructed from a NzCube for now
NzPhysicsEntity added
Minor fix + typo
2012-06-18 10:24:06 +02:00
Remi Beges 092ccd0302 Forgot to commit src files and Newton headers in previous commit 2012-06-16 13:33:31 +02:00
Remi Beges c55d9b5456 Laid Physics module basis
Added NzPhysicsWorld
Added NzPhysicsSolver
2012-06-16 13:28:47 +02:00
Remi Beges 8c9e5ddc8f Merge remote-tracking branch 'upstream/master' 2012-06-16 12:45:59 +02:00