-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
403f767
commit 83231d9
Showing
11 changed files
with
368 additions
and
234 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# Pixel Perfect Engine ver 0.9.4-alpha.2 | ||
# Pixel Perfect Engine ver 0.9.4-alpha.3 | ||
|
||
2D retro graphics engine written in D by László Szerémi ([email protected], https://twitter.com/ziltoid1991, https://www.patreon.com/ShapeshiftingLizard). | ||
|
||
Required libaries: | ||
Derelict SDL2 https://github.com/DerelictOrg/DerelictSDL2 | ||
Derelict FI https://github.com/DerelictOrg/DerelictFI | ||
Derelict FI https://github.com/DerelictOrg/DerelictFI (for editor only) | ||
sdlang-d https://github.com/Abscissa/SDLang-D | ||
libpcm https://github.com/ZILtoid1991/libPCM | ||
cpublit https://github.com/ZILtoid1991/CPUblit | ||
intel-intrinsics https://github.com/AuburnSounds/intel-intrinsics | ||
|
||
|
||
See Wiki for further info and version history! | ||
|
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
108 changes: 0 additions & 108 deletions
108
pixelperfectengine/src/PixelPerfectEngine/audio/adsrGen.d
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Copyright (C) 2015-2018, by Laszlo Szeremi under the Boost license. | ||
* | ||
* Pixel Perfect Engine, audio.lfo module | ||
*/ | ||
|
||
module PixelPerfectEngine.audio.lfo; | ||
|
||
/** | ||
* implements a low-frequency oscillator | ||
*/ | ||
|
||
public struct LowFreqOsc(int Length){ | ||
ubyte[Length] table; | ||
uint stepping; ///Current position | ||
uint cycle; ///Defines how much needs to be added to the counter each cycle | ||
uint forward; ///Steps the oscillator forward>>10 steps | ||
|
||
public @nogc ubyte step(){ | ||
forward += cycle; | ||
return table[forward & (Length - 1)]; | ||
} | ||
} |
Oops, something went wrong.