-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Rename Lua EEPROM to Text EEPROM
- Loading branch information
1 parent
41e8802
commit 5963917
Showing
244 changed files
with
642 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+378 Bytes
(100%)
Content/Buildings/Computer/Modules/CPU_Lua/UI/CPU_Lua_Widget.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Source/FicsItNetworksComputer/Public/FicsItKernel/Processor/FINItemStateEEPROMText.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "FINItemStateEEPROM.h" | ||
#include "FINItemStateEEPROMText.generated.h" | ||
|
||
USTRUCT(BlueprintType) | ||
struct FICSITNETWORKSCOMPUTER_API FFINItemStateEEPROMText : public FFINItemStateEEPROM { | ||
GENERATED_BODY() | ||
|
||
UPROPERTY(SaveGame, BlueprintReadWrite) | ||
FString Code; | ||
}; |
10 changes: 0 additions & 10 deletions
10
Source/FicsItNetworksLua/Private/FINItemStateEEPROMLua.cpp
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 8 additions & 13 deletions
21
...etworksLua/Public/FINItemStateEEPROMLua.h → ...Lua/Public/FINItemStateEEPROMLua_Legacy.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "FINComputerEEPROMDesc.h" | ||
#include "FINItemStateEEPROM.h" | ||
#include "FicsItKernel/Processor/FINStateEEPROM_Legacy.h" | ||
#include "FINItemStateEEPROMLua.generated.h" | ||
|
||
USTRUCT(BlueprintType) | ||
struct FICSITNETWORKSLUA_API FFINItemStateEEPROMLua : public FFINItemStateEEPROM { | ||
GENERATED_BODY() | ||
|
||
UPROPERTY(SaveGame, BlueprintReadWrite) | ||
FString Code; | ||
}; | ||
#include "FINItemStateEEPROMLua_Legacy.generated.h" | ||
|
||
UCLASS(BlueprintType) | ||
class FICSITNETWORKSLUA_API AFINStateEEPROMLua_Legacy : public AFINStateEEPROM_Legacy, public IFGLegacyItemStateActorInterface { | ||
GENERATED_BODY() | ||
|
||
protected: | ||
UPROPERTY(BlueprintReadWrite, SaveGame) | ||
FString Code; | ||
|
||
public: | ||
// Begin IFGLegacyItemStateActorInterface | ||
virtual FFGDynamicStruct ConvertToItemState(TSubclassOf<UFGItemDescriptor> itemDescriptor) const override; | ||
virtual FFGDynamicStruct ConvertToItemState(TSubclassOf<UFGItemDescriptor> itemDescriptor) const override { | ||
FFINItemStateEEPROMText state; | ||
state.Label = Label; | ||
state.Code = Code; | ||
return FFGDynamicStruct(state); | ||
} | ||
// End IFGLegacyItemStateActorInterface | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[package] | ||
name = "FicsItNetworksPreprocessor" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
clang = { version = "2.0.0", features = ["clang_10_0"] } | ||
walkdir = "2.5.0" | ||
simple-error = "0.3.1" |
Oops, something went wrong.