Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MIT License

Copyright (c) 2024 Julian Benda
Copyright (c) 2020 Brook Jensen

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
7 changes: 5 additions & 2 deletions inkcpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ list(APPEND SOURCES
system.cpp
value.h value.cpp
tuple.hpp
string_table.h string_table.cpp avl_array.h
string_table.h string_table.cpp
list_table.h list_table.cpp
list_impl.h list_impl.cpp
operations.h operation_bases.h
Expand Down Expand Up @@ -59,6 +59,9 @@ target_compile_features(inkcpp PUBLIC cxx_std_17)


# Unreal installation
install(DIRECTORY "include/" DESTINATION "inkcpp/Source/inkcpp/Public/ink/" COMPONENT unreal EXCLUDE_FROM_ALL)
list(REMOVE_ITEM SOURCES "avl_array.h")
install(FILES "avl_array.h" DESTINATION "inkcpp/Source/ThirdParty/Private"
COMPONENT unreal EXCLUDE_FROM_ALL)
install(FILES ${SOURCES} DESTINATION "inkcpp/Source/inkcpp/Private/ink/" COMPONENT unreal EXCLUDE_FROM_ALL)
install(FILES ${PUBLIC_HEADERS} DESTINATION "inkcpp/Source/inkcpp/Public/ink" COMPONENT unreal EXCLUDE_FROM_ALL)
install(FILES ${COLLECTION_SOURCES} DESTINATION "inkcpp/Source/inkcpp/Private/ink/collections/" COMPONENT unreal EXCLUDE_FROM_ALL)
6 changes: 6 additions & 0 deletions inkcpp/array.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "snapshot_interface.h"
Expand Down
5 changes: 3 additions & 2 deletions inkcpp/avl_array.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
///////////////////////////////////////////////////////////////////////////////
// Copyright
// \author (c) Marco Paland ([email protected])
// 2017, PALANDesign Hannover, Germany
//
Expand All @@ -10,10 +11,10 @@
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/casting.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

/// Managing casting between value types.
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/choice.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "choice.h"

#include "output.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/collections/restorable.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "restorable.h"
#include "../stack.h"

Expand Down
6 changes: 6 additions & 0 deletions inkcpp/collections/restorable.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "../snapshot_impl.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/container_operations.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "stack.h"
#include "value.h"
#include "operations.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/container_operations.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

namespace ink::runtime::internal {
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/executioner.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

/// Defines the executioner class which initialize the different operations
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/functional.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "functional.h"

#include "value.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/functions.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "functions.h"

namespace ink::runtime::internal
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/functions.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "functional.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/globals_impl.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "globals_impl.h"
#include "story_impl.h"
#include "runner_impl.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/globals_impl.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "config.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/header.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "header.h"
#include "version.h"

Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/choice.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once
#include "system.h"

Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/functional.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "config.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/globals.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "types.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/list.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "system.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/runner.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "config.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/snapshot.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "types.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/story.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "types.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/story_ptr.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "system.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/traits.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "config.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/include/types.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "list.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/list_impl.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "list_impl.h"
#include "list.h"
#include "list_table.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/list_impl.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "list.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/list_operations.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
/// implements operations on lists

#include "stack.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/list_operations.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

/// defines operations on lists
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/list_table.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "list_table.h"
#include "traits.h"
#include "header.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/list_table.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

#include "system.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/numeric_operations.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "stack.h"
#include "value.h"
#include "operations.h"
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/numeric_operations.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once
#include "value.h"

Expand Down
6 changes: 6 additions & 0 deletions inkcpp/operation_bases.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

/// defines data storage for operations.
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/operations.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#pragma once

/// Define base constructs to specify by operation headers.
Expand Down
6 changes: 6 additions & 0 deletions inkcpp/output.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024 Julian Benda
*
* This file is part of inkCPP which is released under MIT license.
* See file LICENSE.txt or go to
* https://github.com/JBenda/inkcpp for full license details.
*/
#include "output.h"
#include "string_table.h"
#include "list_table.h"
Expand Down
Loading