diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-07-07 13:22:53 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-11 00:08:15 +0100 |
| commit | 7861a52adf92a083bb2aed4c35f98d8035dce032 (patch) | |
| tree | 28cd3c40e4c878f730f5df3c1d93bdf91af490c3 /res | |
| parent | 7fc48e9216ff809da5f8055a50b0be17628ef1df (diff) | |
| download | wnix-7861a52adf92a083bb2aed4c35f98d8035dce032.tar.gz | |
Setup project skeleton
Diffstat (limited to 'res')
| -rw-r--r-- | res/CMakeLists.txt | 24 | ||||
| -rw-r--r-- | res/LICENSE | 6 | ||||
| -rw-r--r-- | res/font.bmp | bin | 8206 -> 0 bytes | |||
| -rw-r--r-- | res/font_24.bmp | bin | 48438 -> 0 bytes | |||
| -rw-r--r-- | res/functions.cmake | 4 | ||||
| -rw-r--r-- | res/orig/LICENSE | 5 | ||||
| -rw-r--r-- | res/orig/pixfont.png | bin | 0 -> 1962 bytes | |||
| -rw-r--r-- | res/orig/sprFont.png | bin | 5108 -> 0 bytes | |||
| -rw-r--r-- | res/pixfont.bmp | bin | 0 -> 2450 bytes | |||
| -rw-r--r-- | res/pixfont_24.bmp | bin | 0 -> 55350 bytes |
10 files changed, 27 insertions, 12 deletions
diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt index 8fb119e..92baf7a 100644 --- a/res/CMakeLists.txt +++ b/res/CMakeLists.txt @@ -1,11 +1,25 @@ +# wnix, a Unix-like operating system for WebAssembly applications. +# Copyright (C) 2025 Xavier Del Campo Romero +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + include(${CMAKE_CURRENT_LIST_DIR}/functions.cmake) -sprite(NAME font - X 472 +sprite(NAME pixfont + X 640 Y 0 BPP 4 - CX 368 + CX 640 CY 498 TRANSPARENT TRUE) - -container(NAME ${PROJECT_NAME} SPRITES font) diff --git a/res/LICENSE b/res/LICENSE index 14474c2..0991335 100644 --- a/res/LICENSE +++ b/res/LICENSE @@ -1,6 +1,6 @@ All assets on this folder are either original or have originated from subfolder "orig". Read LICENSE file in "orig" for further reference. -font.bmp: -font_24.bmp: - Derived work from sprFont.png +pixfont.bmp: +pixfont_24.bmp: + Derived work from pixfont.png diff --git a/res/font.bmp b/res/font.bmp Binary files differdeleted file mode 100644 index 7fc1c36..0000000 --- a/res/font.bmp +++ /dev/null diff --git a/res/font_24.bmp b/res/font_24.bmp Binary files differdeleted file mode 100644 index b12a8ce..0000000 --- a/res/font_24.bmp +++ /dev/null diff --git a/res/functions.cmake b/res/functions.cmake index a0de87d..57119ce 100644 --- a/res/functions.cmake +++ b/res/functions.cmake @@ -20,7 +20,7 @@ function(sprite) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${SPRITE_NAME}.bmp BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/${SPRITE_NAME}) - add_dependencies(iso ${SPRITE_NAME}_img) + add_dependencies(bin_cue ${SPRITE_NAME}_img) elseif(SDL1_2_BUILD) if(${SPRITE_TRANSPARENT}) set(trans "transparent=1") @@ -57,7 +57,7 @@ function(sound) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${SOUND_NAME}.wav BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/${SOUND_NAME}) - add_dependencies(iso ${SOUND_NAME}_snd) + add_dependencies(bin_cue ${SOUND_NAME}_snd) elseif(SDL1_2_BUILD) if(${SOUND_LOOP}) set(loop "loop=1") diff --git a/res/orig/LICENSE b/res/orig/LICENSE index bfab4ed..8860bc8 100644 --- a/res/orig/LICENSE +++ b/res/orig/LICENSE @@ -1,3 +1,4 @@ -sprFont.png: - https://opengameart.org/content/kl-font +pixfont.png: + https://opengameart.org/content/16x12-terminal-bitmap-font + Author: CruzR License(s): CC0 diff --git a/res/orig/pixfont.png b/res/orig/pixfont.png Binary files differnew file mode 100644 index 0000000..418b41d --- /dev/null +++ b/res/orig/pixfont.png diff --git a/res/orig/sprFont.png b/res/orig/sprFont.png Binary files differdeleted file mode 100644 index 78a9d78..0000000 --- a/res/orig/sprFont.png +++ /dev/null diff --git a/res/pixfont.bmp b/res/pixfont.bmp Binary files differnew file mode 100644 index 0000000..addee36 --- /dev/null +++ b/res/pixfont.bmp diff --git a/res/pixfont_24.bmp b/res/pixfont_24.bmp Binary files differnew file mode 100644 index 0000000..e0682ee --- /dev/null +++ b/res/pixfont_24.bmp |
