mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-08-21 21:37:23 +02:00
chore: migrate to new version + fixed several critical bugs
- Migrated project to latest Telegram iOS base (v12.3.2+) - Fixed circular dependency between GhostModeManager and MiscSettingsManager - Fixed multiple Bazel build configuration errors (select() default conditions) - Fixed duplicate type definitions in PeerInfoScreen - Fixed swiftmodule directory resolution in build scripts - Added Ghostgram Settings tab in main Settings menu with all 5 features - Cleared sensitive credentials from config.json (template-only now) - Excluded bazel-cache from version control
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
objc_library(
|
||||
name = "MeshTransformApi",
|
||||
enable_modules = True,
|
||||
module_name = "MeshTransformApi",
|
||||
srcs = glob([
|
||||
"Sources/*.m",
|
||||
]),
|
||||
hdrs = glob([
|
||||
"PublicHeaders/**/*.h",
|
||||
]),
|
||||
includes = [
|
||||
"PublicHeaders",
|
||||
],
|
||||
sdk_frameworks = [
|
||||
"Foundation",
|
||||
"UIKit",
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
],
|
||||
)
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
#ifndef MeshTransformApi_h
|
||||
#define MeshTransformApi_h
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
typedef struct MeshTransformMeshFace {
|
||||
unsigned int indices[4];
|
||||
float w[4];
|
||||
} MeshTransformMeshFace;
|
||||
|
||||
typedef struct MeshTransformPoint3D {
|
||||
CGFloat x;
|
||||
CGFloat y;
|
||||
CGFloat z;
|
||||
} MeshTransformPoint3D;
|
||||
|
||||
typedef struct MeshTransformMeshVertex {
|
||||
CGPoint from;
|
||||
MeshTransformPoint3D to;
|
||||
} MeshTransformMeshVertex;
|
||||
|
||||
@protocol MeshTransformClass <NSObject>
|
||||
|
||||
- (id)meshTransformWithVertexCount:(NSUInteger)vertexCount
|
||||
vertices:(MeshTransformMeshVertex *)vertices
|
||||
faceCount:(NSUInteger)faceCount
|
||||
faces:(MeshTransformMeshFace *)faces
|
||||
depthNormalization:(NSString *)depthNormalization;
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
#import <MeshTransformApi/MeshTransformApi.h>
|
||||
|
||||
Reference in New Issue
Block a user