Subject | Hash | Author | Date (UTC) |
---|---|---|---|
added version number definitions, changed magic number (because incompatible) | 46ccce5359274d660b327c667903b9534dc3bfe0 | Jackalope | 2020-05-19 17:39:57 |
Changed image formats, BGR->RGB convertion while reading from TARGA | 297dd913b6084e890e5bd3d53f88d06a8f14657a | Jackalope | 2020-05-19 17:17:53 |
Changed cmake library interface | 9c704c515769a03e5b1f82dcb1fd947884f1bd1e | Jackalope | 2020-05-12 06:58:47 |
added copyright notice to convert.cpp and convert.h | a778f4f4a4783656fefac85440e135ddcda3788c | Jackalope | 2020-05-12 05:18:35 |
fixes after prev commit changes | fc46b4bacf1c69f6eae0c679b26e3b88d1796217 | Jackalope | 2020-05-11 08:14:50 |
convert image from tga and add alpha channel functions | 4541972149b6b19afda05c608d4abe88a72098bb | Jackalope | 2020-05-11 07:49:43 |
more image formats | 77bf7ec016cfb604e4a8e06734a4eb71bb299df0 | Jackalope | 2020-05-11 07:48:46 |
added license | d7c63a0b6199c7f5c1680559953eef1699ec9a48 | Jackalope | 2020-05-10 01:01:00 |
refactoring | 66f541c32f51d6ed6f90fba1f3b58561726e8659 | Jackalope | 2020-05-10 00:55:34 |
extra vertices check | c3bd2141d2eaeb96beb5c8ad29e3333c015db4c8 | jp.larry | 2019-12-26 14:38:29 |
removed dead code | f4ddde689122f1b96fda5292e69f612bf2ca327d | jp.larry | 2019-12-26 14:38:06 |
removed forgotten vertex data_size writing | 25244188b395b6cca35502f4156d3e78cc1e74ec | jp.larry | 2019-12-26 13:19:31 |
better read errors | d6d7bc5df695d694ea0dee225905212ef1dfe41b | jp.larry | 2019-12-26 13:18:55 |
changed vertices file structure to prevent undefined behaviour | 603e283ccf234f87f6e8c38a669280be36a5aafb | jp.larry | 2019-12-26 12:35:05 |
vertex attributes is separated, not inteleaved now | d3e7b79c74e9fae7b8b788d1a55db2e664feb107 | jp.larry | 2019-12-26 01:19:17 |
compiled on windows with mingw | 51eacaf02dd542415cea1edd615d88234fb5b344 | Jackalope | 2019-12-15 07:05:58 |
added mesh to read and write functions | 173144a8516441420feb4327a66d26fa3f57376d | Your Name | 2019-12-07 22:09:04 |
warning hidden by implicit cast | f49b32439aa1e8719bd340da9fc3bb7e9b906d0d | Your Name | 2019-12-07 21:01:08 |
Vertices have vertices count value | cf3b63932cdcdb88b72e70df93a4dd8b478d163b | jp.larry | 2019-12-07 16:02:55 |
removed IndicesArrays, added Mesh resource and Vertices attributes is not dynamically allocated | a54a61cfc285bbec4246b1affdc5fe9251c059d0 | jp.larry | 2019-12-06 17:04:06 |
File | Lines added | Lines deleted |
---|---|---|
CMakeLists.txt | 17 | 2 |
include/jrf/jrf.h | 4 | 1 |
File CMakeLists.txt changed (mode: 100644) (index eb14111..be8888c) | |||
1 | 1 | cmake_minimum_required(VERSION 3.5) | cmake_minimum_required(VERSION 3.5) |
2 | project(JRF | ||
3 | DESCRIPTION "Containers and various formats utility" | ||
4 | VERSION 0.1.1 | ||
5 | LANGUAGES CXX | ||
6 | ) | ||
7 | set(JRF_VERSION_NUMBER 1) | ||
2 | 8 | add_library(JRF STATIC src/result.cpp src/convert.cpp) | add_library(JRF STATIC src/result.cpp src/convert.cpp) |
3 | 9 | target_include_directories(JRF PUBLIC | target_include_directories(JRF PUBLIC |
4 | 10 | ${CMAKE_CURRENT_SOURCE_DIR}/include | ${CMAKE_CURRENT_SOURCE_DIR}/include |
... | ... | target_include_directories(JRF PUBLIC | |
6 | 12 | ) | ) |
7 | 13 | target_link_libraries(JRF JLIB ${LIBZIP_INCLUDE_LIBS}) | target_link_libraries(JRF JLIB ${LIBZIP_INCLUDE_LIBS}) |
8 | 14 | target_compile_features(JRF PUBLIC cxx_std_17) | target_compile_features(JRF PUBLIC cxx_std_17) |
9 | |||
10 | 15 | string(LENGTH "${CMAKE_SOURCE_DIR}/" SOURCE_PATH_SIZE) | string(LENGTH "${CMAKE_SOURCE_DIR}/" SOURCE_PATH_SIZE) |
11 | target_compile_definitions(JRF PRIVATE SOURCE_PATH_SIZE=${SOURCE_PATH_SIZE}) | ||
16 | target_compile_definitions(JRF | ||
17 | PUBLIC | ||
18 | JRF_NAME="${PROJECT_NAME}" | ||
19 | JRF_VERSION_MAJOR=${PROJECT_VERSION_MAJOR} | ||
20 | JRF_VERSION_MINOR=${PROJECT_VERSION_MINOR} | ||
21 | JRF_VERSION_PATCH=${PROJECT_VERSION_PATCH} | ||
22 | JRF_VERSION=${PROJECT_VERSION} | ||
23 | JRF_VERSION_NUMBER=${JRF_VERSION_NUMBER} | ||
24 | PRIVATE | ||
25 | SOURCE_PATH_SIZE=${SOURCE_PATH_SIZE} | ||
26 | ) |
File include/jrf/jrf.h changed (mode: 100644) (index 62f0bde..c8e255d) | |||
... | ... | namespace jrf | |
41 | 41 | }; | }; |
42 | 42 | ||
43 | 43 | static const constexpr union { | static const constexpr union { |
44 | struct Data { | ||
45 | uint8_t name[4] = {'J','R','F',' '}; | ||
46 | uint32_t version = {JRF_VERSION_NUMBER}; | ||
47 | }; | ||
44 | 48 | uint64_t integer; | uint64_t integer; |
45 | uint8_t data[8] = {'j','r','f','0','0','0','0'}; | ||
46 | 49 | } MAGIC {}; | } MAGIC {}; |
47 | 50 | ||
48 | 51 | struct EntryHeader { | struct EntryHeader { |