Skip to content

Commit

Permalink
eliminate static arrays and MAXSIDES limit (#1081)
Browse files Browse the repository at this point in the history
* test side index, enemies, and relations

# Conflicts:
#	src/battle.test.c

* eliminate the enemies array

* replace the static per-side relations array with a hashmap

* unused variable & code in test

* stdint and stdbool require C99

* eliminate MAXSIDES from get_row

* simple test for get_unitorw (deserves more testing)

* use dynamic strings in lieu of yet another big fixed buffer.

* MAXSIDES is gone
  • Loading branch information
ennorehling authored Jun 15, 2024
1 parent d8c6f51 commit dabc541
Show file tree
Hide file tree
Showing 7 changed files with 760 additions and 157 deletions.
Loading

0 comments on commit dabc541

Please sign in to comment.