Merge pull request #401 from diamante0018/addimagetolist

Do not use definitions from mongoose
This commit is contained in:
Dss0 2022-08-01 19:39:00 +02:00 committed by GitHub
commit 3977cf42a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#include <mongoose.h>
namespace Components
{

View File

@ -232,7 +232,7 @@ namespace Components
{
auto* imageList = static_cast<Game::ImageList*>(data);
assert(imageList->count < ARRAY_SIZE(imageList->image));
assert(imageList->count < ARRAYSIZE(imageList->image));
if (header.image->texture.basemap)
{

View File

@ -5,8 +5,6 @@
#ifndef RC_INVOKED
//#define _HAS_CXX17 1
//#define _HAS_CXX20 1
#define VC_EXTRALEAN
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_WARNINGS
@ -17,6 +15,7 @@
//#include <vld.h>
#include <Windows.h>
#include <WinSock2.h>
#include <timeapi.h>
#include <shellapi.h>
#include <WinInet.h>
@ -79,7 +78,6 @@
#include <curses.h>
#include <gsl/gsl>
#include <tomcrypt.h>
#include <mongoose.h>
#include <udis86.h>
#include <zlib.h>