Commit Graph

621 Commits

Author SHA1 Message Date
Bryan Bishop
3f68f25dbf remove a file that was created during a test 2013-08-04 13:46:43 -05:00
Bryan Bishop
09ac98ba7a separate some of the integration tests
These tests require extra assets to complete. At the moment they
shouldn't work because the data isn't available.
2013-08-04 13:43:16 -05:00
Bryan Bishop
0ee820c6d6 remove unused imports from tests.py 2013-08-04 13:14:50 -05:00
Bryan Bishop
f4f0005e94 remove a useless test 2013-08-04 13:07:59 -05:00
Bryan Bishop
0d97582126 remove test helpers and meta testing
The meta testing code was really redundant. There are libraries and
tools already made for coverage tests.

Also, it was causing a problem with the unit testing because importing
the unittest module inside of another included module is apparently
broken. Why would that be broken?
2013-08-04 13:00:07 -05:00
Bryan Bishop
a818c979e6 remove unused modules from test helpers 2013-08-04 12:59:28 -05:00
Bryan Bishop
8d179bb81b split meta-testing into separate files 2013-08-04 12:54:33 -05:00
Bryan Bishop
fac185b781 remove python2.6 check in tests.py
There's no way that this library supports python2.6, and even if it
does, it's not a target or something worth maintaining.
2013-08-04 10:41:37 -05:00
Bryan Bishop
3011f9243c fix path walking in gfx.py 2013-08-03 19:59:19 -05:00
Bryan Bishop
39afc5873a add dist/ to .gitignore
This is a leftover from the python egg building process.
2013-08-03 18:39:14 -05:00
Bryan Bishop
2c58182ddd README: fix import statements (pokemontools) 2013-08-03 17:10:11 -05:00
Bryan Bishop
0403a4a90d Merge branch 'organizing' into master
Everything works in pokecrystal, so it's time to merge.
2013-08-03 16:51:46 -05:00
Bryan Bishop
a76acbadd2 fix import lines in tests/ 2013-08-03 16:12:54 -05:00
Bryan Bishop
28490230cf make a basic python module 2013-08-03 16:10:52 -05:00
Bryan Bishop
a14c36eadb ignore python/egg output 2013-08-03 15:55:34 -05:00
Bryan Bishop
4bc7d85036 write some TODO comments in wram.py 2013-08-03 15:21:36 -05:00
Bryan Bishop
ed2949c31d add mock into requirements.txt
(for unit testing)
2013-08-03 15:16:27 -05:00
Bryan Bishop
f6b13962f6 combine hram/gbhw readers into read_constants
This consolidates read_hram_constants and read_gbhw_constants.
2013-08-03 15:12:45 -05:00
Bryan Bishop
860829c2b1 make read_gbhw_constants consume an IOError 2013-08-03 15:08:08 -05:00
Bryan Bishop
b94bbf92ba make read_hram_constants to eat hram.asm IOError 2013-08-03 15:05:17 -05:00
Bryan Bishop
1bdb15456e fix the bss/wram section default
The default section needs to include a list of labels (even if the list
is empty) because downstream code assumes that the section contains a
key called "labels" that has a value associated with a list.
2013-08-03 14:55:58 -05:00
Bryan Bishop
2bbe5da4b6 ignore wram.asm non-existence
The IOError is now caught and swallowed by read_wram_sections.
2013-08-03 14:53:42 -05:00
Bryan Bishop
f17090f319 remove extra newlines from python files
Remove all of the ending newlines at the end of the file, since this is
apparently against pep8.
2013-08-03 14:41:27 -05:00
Bryan Bishop
7ea430ac9a a requirements.txt to specify python dependencies
This is taken straight from the pokecrystal.git repo.
2013-08-03 14:36:36 -05:00
Bryan Bishop
162b3eab0e Merge branch 'fix-tabs' into master 2013-08-03 14:07:06 -05:00
Bryan Bishop
e707c064f8 remove dangling whitespace in source code files 2013-08-03 14:04:13 -05:00
Bryan Bishop
fc931b7f27 tabs to spaces in crystal.py
This was just the move effects list.
2013-08-03 14:02:35 -05:00
Bryan Bishop
a49e8b58ae tabs to spaces in sym.py 2013-08-03 14:01:29 -05:00
Bryan Bishop
13dfbba8d2 make a docstring for wram.py 2013-08-03 13:23:04 -05:00
Bryan Bishop
9dc552e46c remove dangling whitespace in wram.py 2013-08-03 12:25:25 -05:00
Bryan Bishop
7ee0269e23 normalize tabs to whitespace in wram.py 2013-08-03 12:25:02 -05:00
Bryan Bishop
6824783300 remove trailing newline from wram.py 2013-08-03 12:24:42 -05:00
Bryan Bishop
bc3502dc1f fix path handling in wram.py
Otherwise pokecrystal doesn't compile anymore. This is because of how
wram.asm, hram.asm and other files are parsed.
2013-08-03 12:23:59 -05:00
Bryan Bishop
21113e1852 fix the *.json rule in .gitignore 2013-08-03 12:23:08 -05:00
Bryan Bishop
ea42b05085 remove sgm/sav cruft from .gitignore 2013-08-03 12:22:31 -05:00
Bryan Bishop
dcd10de877 update png.py .gitignore reference 2013-08-03 12:20:56 -05:00
Bryan Bishop
21763b8315 use .gitignore from pokecrystal
This is the .gitignore from commit 1c3ebf95 in the pokecrystal.git
repository.
2013-08-03 12:18:26 -05:00
Bryan Bishop
4172c0c812 Merge pull request #157 from yenatch/overworld
overworld loop and movement

original-commit-id: bb8990dc3cb19787e08c29409cfc674e2478fbc9
2013-07-12 19:16:49 -07:00
Bryan Bishop
1bb9b7757c Merge pull request #158 from yenatch/gbz80disasm-more-data
gbz80disasm bugfixes

original-commit-id: 226729d1750bc6ee0c45d96e3f6b7dcf0844a609
2013-07-11 09:01:02 -07:00
yenatch
83e47ef0fa crystal: add more movements
original-commit-id: e7a7fcc92446134d47bbfb0b308c4decc2a2adf8
2013-07-10 19:17:03 -04:00
yenatch
9cbd1b0175 chars: ▷
original-commit-id: d3872d1aa94a2ae6294f7cce3584f4d0aaa16fcb
2013-07-10 19:17:02 -04:00
yenatch
f2717519a8 wram.py: allow space definitions using constants
original-commit-id: 6765083c1cb39a93f2b0fb60a7c203725360492d
2013-07-10 19:12:48 -04:00
yenatch
101c57b58d labels: hex is case-insensitive
original-commit-id: 341e11cccb33a8ed459cd9a6c41cf1189c6a4550
2013-07-10 19:12:48 -04:00
yenatch
936c80e75e use wram from outside extras
original-commit-id: ba5cd8bbb8b96a080e9a6fe1b1525cd5381fdb24
2013-07-10 19:12:48 -04:00
yenatch
5ee3ead5fa crystal: wram label finding
original-commit-id: daf3930984690e8ce44b375dda35a9d725c0c1d2
2013-06-28 21:49:50 -04:00
yenatch
3c2125a7fc crystal: 2pt script commands are for wram
original-commit-id: 17b5e86311e5dae4609818d6e1d63d23bc6815fa
2013-06-28 21:35:44 -04:00
yenatch
42cdc63dff crystal: PointerLabelToScriptPointer bank is not reversed
original-commit-id: 622d6b86f71f29f6a03df7cef7e825ee84260ea9
2013-06-28 21:17:35 -04:00
yenatch
8ae5e00188 gbz80disasm: don't read data where there is none
original-commit-id: fee0f0d6a4ab194f8aa1ecc1a886cbca22052c6b
2013-06-28 16:06:39 -04:00
yenatch
dbaaef11fb gbz80disasm: only track rom addresses for data
original-commit-id: 3a1f843e783a7a654ccd7e72f5e3fa4a40ea4009
2013-06-28 00:10:38 -04:00
yenatch
117c433dc2 gbz80disasm: use existing labels as addresses
original-commit-id: fe4b13e304decc48af0918fce281ed588f867a72
2013-06-27 22:28:53 -04:00