feat: base + display functions!!!!!
This commit is contained in:
parent
ebb5931632
commit
664b18eb2e
187 changed files with 29451 additions and 0 deletions
12
dev/HOW_TO_IMPORT_ASSETS.md
Normal file
12
dev/HOW_TO_IMPORT_ASSETS.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# How to import assets?
|
||||
1. `sudo apt install magickimage`
|
||||
2. cd to a directory where there is *only* .png files (or subdirectories)
|
||||
3. Execute
|
||||
```sh
|
||||
for PNG in $(find . -type f)
|
||||
do
|
||||
convert "$PNG" "${PNG%.png}.xpm"
|
||||
convert "$PNG" -alpha export "${PNG%.png}.alpha.xpm"
|
||||
rm "$PNG"
|
||||
done
|
||||
```
|
||||
3
dev/norm.sh
Executable file
3
dev/norm.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/zsh
|
||||
setopt extendedglob
|
||||
norminette -R CheckForbiddenSourceHeader ^(dev|mlx)
|
||||
6
dev/tmp.c
Normal file
6
dev/tmp.c
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include "mlx.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
mlx_xpm_file_to_img("../assets/object/snas/down.xpm");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue