Skip to content

Commit

Permalink
fix for build
Browse files Browse the repository at this point in the history
  • Loading branch information
briancullinan2 committed Sep 22, 2024
1 parent ec93d16 commit 9229598
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# BUGS
# New features

* DONE: WASI-SDK instead of emscripten
* DONE: Networking, auto-connect, rewrite socks - support `\dlmap` command
* Sound (no emscripten, no OpenAL, simpler build), respatialize using https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Web_audio_spatialization_basics
* DONE: Re-automate build.yml, auto-download wasi-sdk, integrate QVMs/q3lcc: https://github.com/briancullinan/multigame/actions
* DONE: Re-automate build.yml, auto-download wasi-sdk, integrate QVMs/q3lcc: https://github.com/briancullinan2/multigame/actions
* DONE: Upgraded image loader, loads most assets from pk3s and searches for any missing assets through quake3-proxy-server.
* DONE: Multiworld. - Brian Cullinan
* DONE: BSP models with clipping, TODO: copy to renderer2
* DONE: Auto-terrain based on heightmap
* TODO: trying to control tracemap like a grid

Brian's Patreon for WASM support:

Expand Down
4 changes: 3 additions & 1 deletion code/qcommon/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -5133,7 +5133,8 @@ int levenshtein(const char *s, const char *t)
{
int n = strlen(s);
int m = strlen(t);
int d[n + 1][m + 1];
int **d;
d = Z_TagMalloc((n + 1) * (m + 1), TAG_SMALL);

if (n == 0) {
return m;
Expand Down Expand Up @@ -5166,6 +5167,7 @@ int levenshtein(const char *s, const char *t)
}
}

Z_Free(d);
return d[n][m];
}
#endif
Expand Down

0 comments on commit 9229598

Please sign in to comment.