mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 20:24:39 +00:00
add zlib license and show zlib version
This commit is contained in:
parent
3a4000a512
commit
700475f59a
26
COPYING
26
COPYING
@ -100,3 +100,29 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
zlib
|
||||
Copyright notice:
|
||||
|
||||
(C) 1995-2024 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
|
||||
jloup@gzip.org madler@alumni.caltech.edu
|
||||
|
@ -6,8 +6,8 @@
|
||||
#ifdef _WIN32
|
||||
#include <winsock.h>
|
||||
#endif
|
||||
|
||||
#include <lua.h>
|
||||
#include <zlib.h>
|
||||
|
||||
/* Interface */
|
||||
#include <nb_core.h>
|
||||
@ -30,6 +30,7 @@ void nb_engine_begin(void) {
|
||||
nb_get_version(&ver);
|
||||
nb_function_log("NishBox engine %s", ver.full);
|
||||
nb_function_log("%s", LUA_RELEASE);
|
||||
nb_function_log("zlib %s", ZLIB_VERSION);
|
||||
nb_function_log("OpenGL backend: %s", ver.opengl);
|
||||
#ifdef _WIN32
|
||||
WSAStartup(MAKEWORD(1, 1), &wsa);
|
||||
|
Loading…
x
Reference in New Issue
Block a user