Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonEngine.hpp
1/*
2Copyright (C) 2016-2021,2025,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16#ifndef AEONGAMES_AEONENGINE_H
17#define AEONGAMES_AEONENGINE_H
18#include <memory>
19#include <string>
20#include <vector>
21#include <functional>
22#include "Platform.hpp"
23
24namespace AeonGames
25{
26 class Renderer;
32 DLL bool InitializeGlobalEnvironment ( int argc = 0, char *argv[] = nullptr );
38 DLL std::vector<std::string> GetResourcePath();
42 DLL void SetResourcePath ( const std::vector<std::string>& aPath );
44 DLL size_t GetResourceSize ( uint32_t crc );
46 DLL size_t GetResourceSize ( const std::string& aFileName );
48 DLL std::string GetResourcePath ( uint32_t crc );
50 DLL void LoadResource ( uint32_t crc, void* buffer, size_t buffer_size );
52 DLL void LoadResource ( const std::string& aFileName, void* buffer, size_t buffer_size );
61}
62#endif
Platform-specific macros, includes, and DLL export/import definitions.
Abstract base class for rendering backends.
Definition Renderer.hpp:44
<- This is here just for the literals
Definition AABB.hpp:31
DLL std::vector< std::string > GetResourcePath()
Get the list of resource search paths.
DLL size_t GetResourceSize(uint32_t crc)
DLL bool InitializeGlobalEnvironment(int argc=0, char *argv[]=nullptr)
Initialize the global engine environment.
DLL void LoadResource(uint32_t crc, void *buffer, size_t buffer_size)
DLL void FinalizeGlobalEnvironment()
Shut down the global engine environment and release resources.
DLL void SetResourcePath(const std::vector< std::string > &aPath)
Set the list of resource search paths.