Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from zyebytevt/zyedev
Browse files Browse the repository at this point in the history
Rewrite backends to be dynamic, various other improvements
  • Loading branch information
zyebytevt authored Feb 17, 2023
2 parents e31c1c8 + b911c66 commit e5b4c05
Show file tree
Hide file tree
Showing 75 changed files with 2,733 additions and 2,336 deletions.
27 changes: 27 additions & 0 deletions CONVENTIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Declaration order

Member declaration order:
1. `private`
2. `protected`
3. `package`
4. `public`
5. `export`

## Attributes

- Visibility modifiers (and static) in C++ syntax
- Not required for public-only structs (PODs)
- Function attributes after brackets
- Use `in` instead of `const ref`

## Casing

- Non-public member variables: `m + PascalCase`
- Non-public static member variables: `s + PascalCase`
- Non-public module variables: `p + PascalCase`

- Classes, Structs, Interfaces, Unions: `PascalCase`
- Aliases: Dependent on type
- Constants: camelCase

Everything else: camelCase
6 changes: 5 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@ A lot of stuff has already been done before this file has been started.
[X] Markup for creating GUI
[X] Get audio working
[X] Add streaming audio
[ ] Fix profiler omg
[X] Fix profiler omg
[ ] Add unittests
[X] DOCUMENTATION!
[ ] MMAP shenanigans for ZPK files
[ ] Make buildable and executable on Windows
[ ] Make executable on MacOS
[ ] Localization improvements (i18n-d)?
[ ] 2D batch renderer add custom shader support
[ ] Move ECS into a separate sub-package
[ ] Rethink the different backend situation

[ ] Implement texture atlases in 3D meshes
[ ] Add CLI (like Angular) (maybe now even more important due to Github workflows?)
Expand Down
3 changes: 1 addition & 2 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ configuration "sdl-opengl" {
dependency "bindbc-openal" version="~>1.0.0"
dependency "bindbc-sdl" version="~>1.0.1"
targetType "library"
sourcePaths "platform/opengl" "platform/openal"
versions "GL_41" "SDL_204" "GL_KHR_debug"
versions "GL_41" "SDL_204" "GL_KHR_debug" "ZWBackendOpenGL" "ZWBackendOpenAL"
}
91 changes: 0 additions & 91 deletions platform/gamemixer/api.d

This file was deleted.

34 changes: 0 additions & 34 deletions platform/gamemixer/sample.d

This file was deleted.

113 changes: 0 additions & 113 deletions platform/openal/api.d

This file was deleted.

Loading

0 comments on commit e5b4c05

Please sign in to comment.