This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <time.h> | |
#include "sound_source.h" | |
void KeyonNote(Sound *sounds, Note* note) | |
{ | |
Sound *sound = &sounds[note->sound_index]; | |
UINT8 *freq_ptr = &sound->frequency; | |
if (sound->sweep != 0) | |
(*(__REG)(sound->rel_ptr + REL_SOUND_SWEEP)) = sound->sweep; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LCC = lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG | |
# 変更すると面倒くさいので変更しないで! | |
TARGET = output.gb | |
# コンパイルしたいCファイルを全て書く | |
SOURCES = main.c test.c | |
OBJECTS = $(SOURCES:.c=.o) | |
source_to_objs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Siv3D.hpp> | |
#include <cuda_runtime.h> | |
#include <cufft.h> | |
const int N = 16384 * 2; | |
const int BATCH = 10; | |
bool SetWave(cufftComplex *data, const Wave& wave, const int index, const int lengthSample) | |
{ | |
if (index + N > lengthSample) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"music_info": { | |
"categories": [ | |
"hoge", | |
"yamada", | |
"puyo" | |
], | |
"group_name": "group_name", | |
"music_name": "music_name" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> | |
void Main() | |
{ | |
Graphics2D::SetSamplerState( | |
SamplerState(TextureAddressMode::Clamp, TextureFilter::MinMagMipLinear)); | |
while (System::Update()) | |
{ | |
// hogehoge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
++[->+++++[->+++++++++++++<]<]>>>++[->+++++<]>>+++[->+++++++++++++++++++++++++++++++++++++++++++++++++++++<]>>++[->+++++++++++++++++++++++++++++++++++++++++++++++<]>>+++[->+++++++<]>>++[->+++<]>>++[->+++[->+++++++<]<]->>>++[->+++++[->+++++++++++++++++<]<]>>>++[->+++[->+++++[->+++++++<]<]<]>>>>++[->+++++[->+++++++++++++++++++++++<]<]->>>++[->+++++++++++<]->>+++[->+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<]>>++[->+++[->+++++++++++++<]<]->>>++[->+++++++[->+++++++++++++<]<]>>>+++[->+++++<]>>++[->+++++[->+++++++++++++<]<]>>>++[->+++++<]>>+++[->+++++++++++++++++++++++++++++++++++++++++++++++++++++<]>>++[->+++++++++++++++++++++++++++++++++++++++++++++++<]>>+++[->+++++++<]>>++[->+++<]>>++[->+++[->+++++++<]<]->>>++[->+++++[->+++++++++++++++++<]<]>>>++[->+++[->+++++[->+++++++<]<]<]>>>>++[->+++++[->+++++++++++++++++++++++<]<]->>>++[->+++++++++++<]->>+++[->+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<]>>++[->+++[->+++++++++++++<]<]->>>++[->+++++++[->+++++++++++++<]<]>>>+++[->+++++<]>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add(oppai, yamada). | |
add(buikini, yamada). | |
tag(X, Y). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; https://gist.github.com/GRGSIBERIA/0b54694966aa4a104688 | |
(define $warriors | |
{["nagisa_misumi" "futari_ha" "black"] | |
["honoka_yukishiro" "futari_ha" "white"] | |
["hikari_kujo" "max_heart" "luminus"] | |
["saki_hyuga" "splash_star" "bloom"] | |
["mai_misho" "splash_star" "eaglette"] | |
["nozomi_yumehara" "yes" "dream"] | |
["rin_natsuki" "yes" "rouge"] | |
["urara_kasugano" "yes" "lemonade"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define $warriors | |
{["nagisa_misumi" "futari_ha" "black"] | |
["honoka_yukishiro" "futari_ha" "white"] | |
["hikari_kujo" "max_heart" "luminus"] | |
["saki_hyuga" "splash_star" "bloom"] | |
["mai_misho" "splash_star" "eaglette"] | |
["nozomi_yumehara" "yes" "dream"] | |
["rin_natsuki" "yes" "rouge"] | |
["urara_kasugano" "yes" "lemonade"] | |
["komachi_akimoto" "yes" "mint"] |