Cube  Check-in [c39abceb9b]

Overview
Comment:Fix SDL includes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c39abceb9b813d4d6fea04f66b865203804a91da29dc45aa509aa71565956849
User & Date: js on 2025-04-19 20:17:04
Other Links: manifest | tags
Context
2025-04-19
22:30
Port to newer enet, remove vendored enet Leaf check-in: 9093e4cf6a user: js tags: trunk
20:17
Fix SDL includes check-in: c39abceb9b user: js tags: trunk
2025-04-18
22:33
Refactor some file operations check-in: 44343f0ed9 user: js tags: trunk
Changes

Modified src/cube.h from [966c5f23a3] to [e64ceed17a].

1
2
3
4
5

6
7
8
9
10
11
12
1
2
3
4
5
6
7
8
9
10
11
12
13





+







// one big bad include file for the whole engine... nasty!

#import <ObjFW/ObjFW.h>

#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>

#include "tools.h"

#define _MAXDEFSTR 260

@class DynamicEntity;
@class Entity;
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
352
353
354
355
356
357
358



359
360
361
362
363







-
-
-





# include <OpenGL/glu.h>
#else
# include <GL/gl.h>
# include <GL/glext.h>
# include <GL/glu.h>
#endif

#include <SDL.h>
#include <SDL_image.h>

#include <enet/enet.h>

#include <zlib.h>

#include "protos.h" // external function decls