heck
53575550f0
SIN: Reformat the whole codebase using tweaked .clang-format
yes, sorry, was actually quite well formatted (clang-format default) ... but its probably just me working on the code ever. So, i will just use my preferences here.
I find it important. visual guy and all other excuses...
2 years ago
heck
b1d69e0d07
Project Structure - create src/ dir and move all sources there
2 years ago
cancel
84d3819505
Fix minimum-size attribute (currently unused) in gcc
This attribute macro, ORCA_OPT_MINSIZE, isn't currently in use in any of
the code, though it occasionally gets used when testing things. I had
previously only tested this under clang, and hadn't tested it under gcc.
Some of the syntax was missing for gcc's version. This commit fixes it.
4 years ago
cancel
7f66ba4f22
Cleanup
5 years ago
cancel
461d4f1b54
Cleanup
5 years ago
cancel
338baff1fd
Add missing '?' for valid glyph check
5 years ago
cancel
6267ea0045
Cleanup
5 years ago
cancel
d4b2ef259e
Clean up naming of fn attributes
5 years ago
cancel
c2b096521c
Add MIDI mono operator (%)
Fixes #38
5 years ago
cancel
23329f713a
Add start of X clipboard support
via xclip. Using popen instead of pipes right now, so stderr from
xclip might be sent to terminal, which is bad.
5 years ago
cancel
085a540f9b
Cleanup
6 years ago
cancel
2dbe0eb510
Remove typedef for Field from base.h
No longer needed.
6 years ago
cancel
31461a215e
Cleanup stdio.h and Field naming. Add comment about Field.
6 years ago
cancel
44f547d355
Remove use of 'Gbuffer' and 'Mbuffer' typedef wrappers
Became unnecessary.
6 years ago
cancel
6c334dce95
Cleanup
6 years ago
cancel
53bf65f8b1
Add input mode display in tui hud
6 years ago
cancel
1bc8d428df
Add typedef alias for U8 -> Mark
6 years ago
cancel
b7c4dac86b
Add ORCA_OK_IF_UNUSED, remove force inline on mark.h fns
6 years ago
cancel
41d8139955
Move array count macro to base.h
6 years ago
cancel
cfacf87e6a
Add ORCA_OPT_MINSIZE macro
6 years ago
cancel
a65d1093f2
Cleanup, fix accidental bitwise or
6 years ago
cancel
8231a60d27
Cleanup
6 years ago
cancel
c577a4a25f
Shorten definition of oper_has_neighboring bang, cleanup base macros
6 years ago
cancel
74e5f814dd
Add likely macro, force-no-inline on some sim stuff
Makes compilation a lot faster, and also makes runtime a lot faster on
my computer. Probably due to fragile behavior of inlining on the big
switch statements, but still worth doing. -Os without -flto on clang is
a slightly smaller binary that's just as fast, but I don't know how
fragile that is to change and just happens to be good today. Need to get
a workflow for going through and looking at the output asm on Linux.
6 years ago
cancel
7636f011e4
Add more bank procedures
6 years ago
cancel
56ea948871
Rename Field_buffer to Gbuffer
6 years ago
cancel
460f98e13c
Cleanup
6 years ago
cancel
1d99e512d8
Add mark.c and mark.h
6 years ago
cancel
008b0fe90a
Rename 'Term' to 'Glyph'
6 years ago
cancel
e3a679e17c
Rename USz and ISz to Usz and Isz
Easier to read/type
6 years ago
cancel
5b6174b6a9
Add type alias for size_t/ssize_t to USz/ISz
6 years ago
cancel
b8dadb5d15
Change to use size_t/ssize_t for field operations
All coordinates passed for y/x/height/width are implicitly assumed to be
<= ORCA_Y_MAX or ORCA_X_MAX.
6 years ago
cancel
0ad3b513a0
Add ORCA_ROW_MAX and ORCA_COL_MAX
6 years ago
cancel
316de2e60c
Add narrowing conversion warning, fix warnings
6 years ago
cancel
dcb00be880
Add test basic 'a' function
6 years ago
cancel
ae16f05272
Add basic loading of grid fields from file
6 years ago
cancel
f4ff0e71ad
Add basic printing of Field to stdout
6 years ago
cancel
4846a23b20
Add sim.h/.c add stub for orca_run()
6 years ago
cancel
d7777edfa5
Simplify header includes
This makes some stuff have redundant includes, but we'll worry about
that more later when we actually have a lot of files.
6 years ago
cancel
433de277b3
Split stuff out from main.c into separate files
6 years ago