Skip to content

Commit

Permalink
N'gine 0.5.3-a
Browse files Browse the repository at this point in the history
- Añadida la posibilidad de cambiar el centro de la caja de colisión de los sprites mediante el uso de un offset.
- Actualizada la documentación de la clase NGN_Sprite.
- Añadido el flag "animation_pause" a la clase NGN_Camera, el cual pausa la animación de todos los sprites si está en TRUE.
- Cambios menores en la estructura de la clase "NGN_Camera".
- Cambio en la estructura interna de NGN_Sprite y NGN_SpriteData, almacenando ahora cada fotograma en una textura independiente, lo cual soluciona el problema del límite de altura del sprite sheet de 8192 pixeles. Ahora cada fotograma puede tener un tamaño máximo de 8192x8192 pixeles. Esto no afecta al formato interno de los archivos .SPR y no es necesario reconvertirlos ni realizar ningún cambio en los proyectos existentes.
- Corregido el bug en el método NGN_Load::Sprite(); el cual reservaba más memoria de la requerida al cargar el sprite sheet.
- Añadido el ejemplo para el uso del hitbox ajustable de los Sprites.
  • Loading branch information
knightfox75 committed May 6, 2018
1 parent 0b541e6 commit 3bdadfa
Show file tree
Hide file tree
Showing 292 changed files with 7,947 additions and 565 deletions.
31 changes: 25 additions & 6 deletions Docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,38 @@
N'gine Changelog
--------------------------------------------------------------------------------

2018-05-07 Ver.0.5.3-a
--------------------------------------------------------------------------------
- A�adida la posibilidad de cambiar el centro de la caja de colisi�n de los
sprites mediante el uso de un offset.
- Actualizada la documentaci�n de la clase NGN_Sprite.
- A�adido el flag "animation_pause" a la clase NGN_Camera, el cual pausa la
animaci�n de todos los sprites si est� en TRUE.
- Cambios menores en la estructura de la clase "NGN_Camera".
- Cambio en la estructura interna de NGN_Sprite y NGN_SpriteData, almacenando
ahora cada fotograma en una textura independiente, lo cual soluciona el
problema del l�mite de altura del sprite sheet de 8192 pixeles. Ahora cada
fotograma puede tener un tama�o m�ximo de 8192x8192 pixeles. Esto no afecta
al formato interno de los archivos .SPR y no es necesario reconvertirlos ni
realizar ning�n cambio en los proyectos existentes.
- Corregido el bug en el m�todo NGN_Load::Sprite(); el cual reservaba m�s
memoria de la requerida al cargar el sprite sheet.
- A�adido el ejemplo para el uso del hitbox ajustable de los Sprites.


2018-03-22 Ver.0.5.2-a
--------------------------------------------------------------------------------
- Actualizados los templates para autodefectar el sistema operativo de destino
y asi poder adaptar el m�todo optimo para el cambio del modo de pantalla.
- A�adido el include a la libreria "cstdint" para asegurar el uso de tipos de
- Actualizados los templates para auto-detectar el sistema operativo de destino
y as� poder adaptar el m�todo �ptimo para el cambio del modo de pantalla.
- A�adido el include a la librer�a "cstdint" para asegurar el uso de tipos de
dato intxx_t de C++ 11.
- Corregido un BUG en el template de "Menu", el cual no eliminava los datos del
- Corregido un BUG en el template de "Menu", el cual no eliminaba los datos del
cursor al destruir el objeto.
- A�adido el soporte a gamepad en el template "Menu".
- Al crear una capa de texto, se ejecuta automaticamente el comando Cls(); para
aplicar la textura de fondo de manera automatica.

aplicar la textura de fondo de manera autom�tica.


2018-02-03 Ver.0.5.1-a
--------------------------------------------------------------------------------
- Corregido un error en la detecci�n de la relaci�n de aspecto de la pantalla
Expand Down
Binary file modified Docs/user manual.esp/ngn_load.h.pdf
Binary file not shown.
13 changes: 13 additions & 0 deletions Examples/camera/LICENSE.SDL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

Please distribute this file with the SDL runtime environment:

The Simple DirectMedia Layer (SDL for short) is a cross-platform library
designed to make it easy to write multi-media software, such as games
and emulators.

The Simple DirectMedia Layer library source code is available from:
http://www.libsdl.org/

This library is distributed under the terms of the zlib license:
http://www.zlib.net/zlib_license.html

22 changes: 22 additions & 0 deletions Examples/camera/LICENSE.SDL2_ttf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
This library is distributed under the terms of the zlib license:

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

Portions of this software are copyright © 2013 The FreeType Project (www.freetype.org). All rights reserved.

The source is available from the SDL website:
http://www.libsdl.org/projects/SDL_ttf
173 changes: 173 additions & 0 deletions Examples/camera/LICENSE.freetype.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
The source code to this library used with SDL_ttf can be found here:
http://www.libsdl.org/projects/SDL_ttf/libs/
---

The FreeType Project LICENSE
----------------------------

2006-Jan-27

Copyright 1996-2002, 2006 by
David Turner, Robert Wilhelm, and Werner Lemberg



Introduction
============

The FreeType Project is distributed in several archive packages;
some of them may contain, in addition to the FreeType font engine,
various tools and contributions which rely on, or relate to, the
FreeType Project.

This license applies to all files found in such packages, and
which do not fall under their own explicit license. The license
affects thus the FreeType font engine, the test programs,
documentation and makefiles, at the very least.

This license was inspired by the BSD, Artistic, and IJG
(Independent JPEG Group) licenses, which all encourage inclusion
and use of free software in commercial and freeware products
alike. As a consequence, its main points are that:

o We don't promise that this software works. However, we will be
interested in any kind of bug reports. (`as is' distribution)

o You can use this software for whatever you want, in parts or
full form, without having to pay us. (`royalty-free' usage)

o You may not pretend that you wrote this software. If you use
it, or only parts of it, in a program, you must acknowledge
somewhere in your documentation that you have used the
FreeType code. (`credits')

We specifically permit and encourage the inclusion of this
software, with or without modifications, in commercial products.
We disclaim all warranties covering The FreeType Project and
assume no liability related to The FreeType Project.


Finally, many people asked us for a preferred form for a
credit/disclaimer to use in compliance with this license. We thus
encourage you to use the following text:

"""
Portions of this software are copyright � <year> The FreeType
Project (www.freetype.org). All rights reserved.
"""

Please replace <year> with the value from the FreeType version you
actually use.


Legal Terms
===========

0. Definitions
--------------

Throughout this license, the terms `package', `FreeType Project',
and `FreeType archive' refer to the set of files originally
distributed by the authors (David Turner, Robert Wilhelm, and
Werner Lemberg) as the `FreeType Project', be they named as alpha,
beta or final release.

`You' refers to the licensee, or person using the project, where
`using' is a generic term including compiling the project's source
code as well as linking it to form a `program' or `executable'.
This program is referred to as `a program using the FreeType
engine'.

This license applies to all files distributed in the original
FreeType Project, including all source code, binaries and
documentation, unless otherwise stated in the file in its
original, unmodified form as distributed in the original archive.
If you are unsure whether or not a particular file is covered by
this license, you must contact us to verify this.

The FreeType Project is copyright (C) 1996-2000 by David Turner,
Robert Wilhelm, and Werner Lemberg. All rights reserved except as
specified below.

1. No Warranty
--------------

THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
USE, OF THE FREETYPE PROJECT.

2. Redistribution
-----------------

This license grants a worldwide, royalty-free, perpetual and
irrevocable right and license to use, execute, perform, compile,
display, copy, create derivative works of, distribute and
sublicense the FreeType Project (in both source and object code
forms) and derivative works thereof for any purpose; and to
authorize others to exercise some or all of the rights granted
herein, subject to the following conditions:

o Redistribution of source code must retain this license file
(`FTL.TXT') unaltered; any additions, deletions or changes to
the original files must be clearly indicated in accompanying
documentation. The copyright notices of the unaltered,
original files must be preserved in all copies of source
files.

o Redistribution in binary form must provide a disclaimer that
states that the software is based in part of the work of the
FreeType Team, in the distribution documentation. We also
encourage you to put an URL to the FreeType web page in your
documentation, though this isn't mandatory.

These conditions apply to any software derived from or based on
the FreeType Project, not just the unmodified files. If you use
our work, you must acknowledge us. However, no fee need be paid
to us.

3. Advertising
--------------

Neither the FreeType authors and contributors nor you shall use
the name of the other for commercial, advertising, or promotional
purposes without specific prior written permission.

We suggest, but do not require, that you use one or more of the
following phrases to refer to this software in your documentation
or advertising materials: `FreeType Project', `FreeType Engine',
`FreeType library', or `FreeType Distribution'.

As you have not signed this license, you are not required to
accept it. However, as the FreeType Project is copyrighted
material, only this license, or another one contracted with the
authors, grants you the right to use, distribute, and modify it.
Therefore, by using, distributing, or modifying the FreeType
Project, you indicate that you understand and accept all the terms
of this license.

4. Contacts
-----------

There are two mailing lists related to FreeType:

o [email protected]

Discusses general use and applications of FreeType, as well as
future and wanted additions to the library and distribution.
If you are looking for support, start in this list if you
haven't found anything to help you in the documentation.

o [email protected]

Discusses bugs, as well as engine internals, design issues,
specific licenses, porting, etc.

Our home page can be found at

http://www.freetype.org


--- end of FTL.TXT ---
55 changes: 55 additions & 0 deletions Examples/camera/LICENSE.ngn.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
*******************************************************************************

N'gine Lib for C++

Proyecto iniciado el 1 de Febrero del 2016
(cc) 2016 - 2017 by Cesar Rincon "NightFox"
http://www.nightfoxandco.com
[email protected]

Requiere SDL2 (2.0.5 or higher)
http://www.libsdl.org/download-2.0.php

Requiere SFML (2.4.1 or higher)
http://www.sfml-dev.org/

Requiere LodePNG
(c) 2005 - 2016 by Lode Vandevenne
http://lodev.org/lodepng/


N'gine se distribuye bajo la licencia CREATIVE COMMONS
"Attribution-NonCommercial 4.0 International"
https://creativecommons.org/licenses/by-nc/4.0/

You are free to:

- Share
copy and redistribute the material in any medium or format.
- Adapt
remix, transform, and build upon the material.

The licensor cannot revoke these freedoms as long as you follow
the license terms.

Under the following terms:

- Attribution
You must give appropriate credit, provide a link to the license,
and indicate if changes were made. You may do so in any reasonable
manner, but not in any way that suggests the licensor endorses you
or your use.

- NonCommercial
You may not use the material for commercial purposes.

- No additional restrictions
You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.

*******************************************************************************

DESCARGO DE RESPONSABILIDAD. EL SOFTWARE SE CONCEDE CON LICENCIA �TAL CUAL�.
POR CONSIGUIENTE, USTED ASUME EL RIESGO DE UTILIZARLO.
NO SE OTORGA NINGUNA GARANT�A NI CONDICI�N EXPL�CITAS.

37 changes: 37 additions & 0 deletions Examples/camera/LICENSE.sfml.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
SFML
----

SFML - Copyright (C) 2007-2017 Laurent Gomila - [email protected]

This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute
it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented;
you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment
in the product documentation would be appreciated but
is not required.

2. Altered source versions must be plainly marked as such,
and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any
source distribution.



External libraries used by SFML
-------------------------------

* OpenAL-Soft is under the LGPL license
* libjpeg is public domain
* stb_image and stb_image_write are public domain
* freetype is under the FreeType license or the GPL license
* libogg is under the BSD license
* libvorbis is under the BSD license
* libflac is under the BSD license
31 changes: 31 additions & 0 deletions Examples/camera/LICENSE.zlib.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
The source code to this library used with SDL_ttf can be found here:
http://www.libsdl.org/projects/SDL_ttf/libs/
---

Copyright notice:

(C) 1995-2010 Jean-loup Gailly and Mark Adler

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

Jean-loup Gailly Mark Adler
[email protected] [email protected]

If you use the zlib library in a product, we would appreciate *not* receiving
lengthy legal documents to sign. The sources are provided for free but without
warranty of any kind. The library has been entirely written by Jean-loup
Gailly and Mark Adler; it does not include third-party code.
13 changes: 13 additions & 0 deletions Examples/camera/README.SDL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

Please distribute this file with the SDL runtime environment:

The Simple DirectMedia Layer (SDL for short) is a cross-platform library
designed to make it easy to write multi-media software, such as games
and emulators.

The Simple DirectMedia Layer library source code is available from:
https://www.libsdl.org/

This library is distributed under the terms of the zlib license:
http://www.zlib.net/zlib_license.html

Loading

0 comments on commit 3bdadfa

Please sign in to comment.