Compare commits

..

No commits in common. "cec5e6f938bacbad3252f51999f93325756dafe2" and "e7e2829a631903dab6cb03542cb8338855dd0191" have entirely different histories.

9 changed files with 0 additions and 84 deletions

1
.gitignore vendored
View File

@ -86,4 +86,3 @@ dkms.conf
*.out *.out
*.app *.app
*.res

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,43 +0,0 @@
#include "windows.h"
#include "winver.h"
// Language
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// Icon
ICON DISCARDABLE "logo.ico"
// Version
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,0,1
PRODUCTVERSION 0,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Tijani Lawal"
VALUE "FileDescription", "Goff Film Scanner for Nikon Coolscan"
VALUE "FileVersion", "0.0.0.1"
VALUE "InternalName", "Goff"
VALUE "LegalCopyright", "Copyright (C) Tijani Lawal. 2024"
VALUE "OriginalFilename", "Goff Scan.exe"
VALUE "ProductName", "Goff Film Scanner"
VALUE "ProductVersion", "0.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1252
END
END

View File

@ -2,8 +2,6 @@
#define BASE_CORE_H #define BASE_CORE_H
// Foreigns // Foreigns
#include <stdint.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#define global static #define global static
@ -52,8 +50,4 @@ typedef double f64;
#error Align_Of not defined for this compiler. #error Align_Of not defined for this compiler.
#endif #endif
// Helpers
// ??(tijani): the calculation of how this works breaks my brain, need to bust out the pen and paper to figure it out.
#define AlignPow2(x, b) (((x) + (b) - 1) & (~((b) - 1)))
#endif // BASE_CORE_H #endif // BASE_CORE_H

View File

@ -1,7 +1,5 @@
// clang-format off // clang-format off
#include "base_core.c" #include "base_core.c"
#include "base_arena.c" #include "base_arena.c"
#include "base_strings.c"
// clang-format on // clang-format on

View File

@ -7,7 +7,6 @@
#include "base_core.h" #include "base_core.h"
#include "base_arena.h" #include "base_arena.h"
#include "base_strings.h"
// clang-format on // clang-format on

View File

@ -1,5 +0,0 @@
// String Constructor
internal String8 str8(u8 *str, u64 size) {
String8 result = {str, size};
return (result);
}

View File

@ -1,26 +0,0 @@
#ifndef BASE_STRINGS_H
#define BASE_STRINGS_H
typedef struct String8 String8;
struct String8 {
u8 *str;
u64 size;
};
// String list & Array types
typedef struct String8Node String8Node;
struct String8Node {
String8Node *next;
String8 string;
};
typedef struct String8List String8List;
struct String8List {
String8Node *first;
String8Node *last;
u64 node_count;
u64 total_size;
};
#endif // BASE_STRINGS_H