mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 09:01:57 -05:00
Update copyright year
This commit is contained in:
parent
7de040abf9
commit
8397efbb9e
70 changed files with 78 additions and 72 deletions
12
.github/workflows/build_macclassic.yml
vendored
12
.github/workflows/build_macclassic.yml
vendored
|
@ -21,8 +21,8 @@ jobs:
|
|||
- name: Compile Mac classic build
|
||||
id: compile
|
||||
run: |
|
||||
make macclassic_68k RETRO68=/Retro68-build/toolchain
|
||||
make macclassic_ppc RETRO68=/Retro68-build/toolchain
|
||||
make macclassic_68k RETRO68=/Retro68-build/toolchain
|
||||
make macclassic_68k RETRO68=/Retro68-build/toolchain ARCH_68040=1
|
||||
|
||||
|
||||
|
@ -33,6 +33,12 @@ jobs:
|
|||
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
|
||||
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'ClassiCube-ppc.dsk'
|
||||
DEST_NAME: 'ClassiCube-ppc.dsk'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
|
@ -42,8 +48,8 @@ jobs:
|
|||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'ClassiCube-ppc.dsk'
|
||||
DEST_NAME: 'ClassiCube-ppc.dsk'
|
||||
SOURCE_FILE: 'ClassiCube-68040.dsk'
|
||||
DEST_NAME: 'ClassiCube-68040.dsk'
|
||||
|
||||
|
||||
- uses: ./.github/actions/notify_success
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "Core.h"
|
||||
/*
|
||||
Contains everything relating to texture animations (including default water/lava ones)
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_AUDIO_H
|
||||
#include "Core.h"
|
||||
/* Manages playing sound and music.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_AXISLINESRENDERER_H
|
||||
#include "Core.h"
|
||||
/* Renders 3 lines showing direction of each axis.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_BITMAP_H
|
||||
#include "Core.h"
|
||||
/* Represents a 2D array of pixels.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "BlockID.h"
|
||||
/* Stores properties and data for blocks.
|
||||
Also performs automatic rotation of directional blocks.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_BLOCKID_H
|
||||
#include "Core.h" /* TODO: Remove this include when we move to external defines */
|
||||
/* List of all core/standard block IDs
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Implements simple block physics.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
typedef void (*PhysicsHandler)(int index, BlockID block);
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ Converts a 16x16x16 chunk into a mesh of vertices
|
|||
Implements a simple chunk mesh builder, where each block face is a single colour
|
||||
(whatever lighting engine returns as light colour for given block face at given coordinates)
|
||||
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct ChunkInfo;
|
||||
struct IGameComponent;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Represents a camera, may be first or third person
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct RayTracer;
|
||||
struct Camera;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Manages sending, adding, logging and handling chat.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
struct StringsBuffer;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Executes actions in response to certain chat input
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent Commands_Component;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_CONSTANTS_H
|
||||
/*
|
||||
Defines useful constants
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
#define GAME_MAX_CMDARGS 5
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_CORE_H
|
||||
/*
|
||||
Core fixed-size integer types, automatic platform detection, and common small structs
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
#if _MSC_VER
|
||||
|
|
|
@ -10,7 +10,7 @@ CC_BEGIN_HEADER
|
|||
https://www.ietf.org/rfc/rfc1951.txt
|
||||
https://github.com/nothings/stb/blob/master/stb_image.h
|
||||
https://www.hanshq.net/zip.html
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Stream;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Draws the vertices for a cuboid region
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct VertexTextured;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Performs a variety of drawing operations on bitmaps, and converts bitmaps into textures.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
enum FONT_FLAGS { FONT_FLAGS_NONE = 0x00, FONT_FLAGS_BOLD = 0x01, FONT_FLAGS_UNDERLINE = 0x02, FONT_FLAGS_PADDING = 0x04 };
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Represents an in-game entity.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Model;
|
||||
struct IGameComponent;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Various components for entities.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct Entity;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Renders supporting objects for entities (shadows and names)
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent EntityRenderers_Component;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Renders environment of the map (clouds, sky, fog, map sides/edges, skybox, rain/snow)
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent EnvRenderer_Component;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_ERRORS_H
|
||||
/*
|
||||
Provides a list list of internal ClassiCube errors
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
/* NOTE: When adding errors, remember to keep Logger.c up to date! */
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Helper methods for using events, and contains all events.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
/* Max callbacks that can be registered for an event. */
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/* Simple math functions and constants. Also implements a RNG algorithm, based on
|
||||
Java's implementation from https://docs.oracle.com/javase/7/docs/api/java/util/Random.html
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
#define MATH_PI 3.1415926535897931f
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Imports/exports a world and associated metadata from/to a particular map file format.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct Stream;
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
/*
|
||||
Simple function implementations
|
||||
NOTE: doing min(x++, y) etc will increment x twice!
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Represents the game and related structures.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct Bitmap;
|
||||
|
|
|
@ -7,7 +7,7 @@ CC_BEGIN_HEADER
|
|||
/* Implements flatgrass map generator, and original classic vanilla map generation (with perlin noise)
|
||||
Based on: https://github.com/ClassiCube/ClassiCube/wiki/Minecraft-Classic-map-generation-algorithm
|
||||
Thanks to Jerralish for originally reverse engineering classic's algorithm, then preparing a high level overview of the algorithm.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
/* Progress between 0 and 1 for the current step */
|
||||
|
|
|
@ -19,7 +19,7 @@ IMPLEMENTATION NOTES:
|
|||
* altering DEFAULT_GFX_BACKEND for the platform in Core.h
|
||||
- graphics backends are implemented in Graphics_GL1.c, Graphics_D3D9.c etc
|
||||
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Bitmap;
|
||||
struct Stream;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Describes and manages 2D GUI elements on screen.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
enum GuiAnchor {
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Renders the held block/arm at bottom right of game
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent HeldBlockRenderer_Component;
|
||||
|
|
|
@ -7,7 +7,7 @@ CC_BEGIN_HEADER
|
|||
/*
|
||||
Aysnchronously performs http GET, HEAD, and POST requests
|
||||
Typically this is used to download skins, texture packs, etc
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
struct ScheduledTask;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Manages input state and raising input related events
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
struct InputDevice;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Manages base game input handling
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
struct StringsBuffer;
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
|
||||
/* Manages inventory hotbar, and ordering of blocks in the inventory menu.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent Inventory_Component;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Draws 2D isometric blocks for the hotbar and inventory UIs.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct VertexTextured;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Abstracts the gui drawing backend for the Launcher
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Context2D;
|
||||
struct LScreen;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Implements all of the screens/menus in the launcher
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct LWidget;
|
||||
struct LScreen;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Implements asynchronous web tasks for the launcher.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct HttpRequest;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Describes and manages individual 2D GUI elements in the launcher.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct FontDesc;
|
||||
struct Context2D;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Implements the launcher part of the game.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct LScreen;
|
||||
struct FontDesc;
|
||||
|
|
|
@ -8,7 +8,7 @@ Abstracts lighting of blocks in the world
|
|||
Built-in lighting engines:
|
||||
- ClassicLighting: Uses a simple heightmap, where each block is either in sun or shadow
|
||||
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent Lighting_Component;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Logs warnings/errors and also abstracts platform specific logging for fatal errors
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
typedef cc_bool (*Logger_DescribeError)(cc_result res, cc_string* dst);
|
||||
|
|
|
@ -7,7 +7,7 @@ CC_BEGIN_HEADER
|
|||
/* Renders the blocks of the world by subdividing it into chunks.
|
||||
Also manages the process of building/deleting chunk meshes.
|
||||
Also sorts chunks so nearest chunks are rendered first, and calculates chunk visibility.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent MapRenderer_Component;
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
|
||||
/* Contains all 2D menu screen implementations.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Screen;
|
||||
struct MenuInputDesc;
|
||||
|
|
|
@ -8,7 +8,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/* Contains various structs and methods for an entity model.
|
||||
Also contains a list of models and default textures for those models.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Entity;
|
||||
struct AABB;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Manages loading and saving options
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
#define OPT_MUSIC_VOLUME "musicvolume"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Manipulates a packed 32 bit RGBA colour, in a format suitable for the native 3D graphics API vertex colours.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
typedef cc_uint32 PackedCol;
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Represents particle effects, and manages rendering and spawning particles
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct IGameComponent;
|
||||
|
|
|
@ -8,7 +8,7 @@ Provides various physics related structs and methods such as:
|
|||
- An axis aligned bounding box, and various methods related to them.
|
||||
- Various methods for intersecting geometry.
|
||||
- Calculates all possible blocks that a moving entity can intersect with
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Entity;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
/*
|
||||
Provides ray tracer functionality for calculating picking/selecting intersection
|
||||
e.g. calculating block selected in the world by the user, clipping the camera
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
/* Implements a voxel ray tracer
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Abstracts platform specific memory management, I/O, etc
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
#if defined CC_BUILD_WIN || defined CC_BUILD_XBOX
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Implements network protocols for original classic, CPE, and WoM textures
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct RayTracer;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Implements checking, fetching, and patching the default game assets.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct HttpRequest;
|
||||
typedef void (*FetcherErrorCallback)(struct HttpRequest* req);
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Wraps a socket connection in a TLS/SSL connection
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
void SSLBackend_Init(cc_bool verifyCerts);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Contains all 2D non-menu screen implementations.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Screen;
|
||||
struct InputDevice;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Renders an outline around the block the player is looking at.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct RayTracer;
|
||||
struct IGameComponent;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Describes a selection box, and contains methods related to the selection box.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct IGameComponent;
|
||||
extern struct IGameComponent Selections_Component;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Represents a connection to either a multiplayer or an internal singleplayer server
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct IGameComponent;
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/* Defines an abstract way of reading and writing data in a streaming manner.
|
||||
Also provides common helper methods for reading/writing data to/from streams.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct Stream;
|
||||
|
|
|
@ -8,7 +8,7 @@ Provides various string related operations
|
|||
Also provides conversions betweens strings and numbers
|
||||
Also provides converting code page 437 indices to/from unicode
|
||||
Also provides wrapping a single line of text into multiple lines
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
#define STRING_INT_CHARS 24
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Manages loading and drawing platform specific system fonts
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Bitmap;
|
||||
struct FontDesc;
|
||||
|
|
|
@ -8,7 +8,7 @@ Contains everything relating to texture packs
|
|||
- Extracting the textures from a .zip archive
|
||||
- Caching terrain atlases and texture packs to avoid redundant downloads
|
||||
- Terrain atlas (including breaking it down into multiple 1D atlases)
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct Stream;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Provides various utility functions
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct Bitmap;
|
||||
|
|
|
@ -7,7 +7,7 @@ CC_BEGIN_HEADER
|
|||
/*
|
||||
Represents 2 and 3 component vectors, and 4 x 4 matrix
|
||||
Frustum culling sourced from http://www.crownandcutlass.com/features/technicaldetails/frustum.html
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
/* 2 component vector (2D vector) */
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Decodes ogg vorbis audio into 16 bit PCM samples
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct Stream;
|
||||
#define VORBIS_MAX_CHANS 8
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
CC_BEGIN_HEADER
|
||||
|
||||
/* Contains all 2D widget implementations.
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct FontDesc;
|
||||
struct InputDevice;
|
||||
|
|
|
@ -5,7 +5,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Abstracts interaction with a windowing system (creating window, moving cursor, etc)
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
struct Bitmap;
|
||||
|
|
|
@ -6,7 +6,7 @@ CC_BEGIN_HEADER
|
|||
|
||||
/*
|
||||
Represents a fixed size 3D array of blocks and associated metadata
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
struct AABB;
|
||||
extern struct IGameComponent World_Component;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CC_MAIN_H
|
||||
#include "String.h"
|
||||
/* Utility constants and methods for command line arguments
|
||||
Copyright 2014-2023 ClassiCube | Licensed under BSD-3
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
|
|
Loading…
Reference in a new issue