|
| 1 | +What's new in thtk 12 |
| 2 | +===================== |
| 3 | + |
| 4 | +A lot of improvements for thecl. If you want to recompile ZUN's files |
| 5 | +bit-for-bit, make sure you use the simple creation flag (-s) introduced in this |
| 6 | +version. |
| 7 | + |
| 8 | +#### thanm |
| 9 | +- Support for TH17 has been added. |
| 10 | + |
| 11 | +#### thecl |
| 12 | +- Scan and parse negative (-val) function. (th13+ only) |
| 13 | +- Complete support for th16.5. |
| 14 | +- Look up ≥th10 instruction formats even if they have no parameters. |
| 15 | +- Print the total parameter size for unknown ≥th10 instructions. |
| 16 | +- th10: Add neqf to format table. |
| 17 | +- Print error and quit if expressions contain invalid types. |
| 18 | +- Allow floats in the form 1.f |
| 19 | +- Allow floats in the form +1f (and +1.2f and +1.f) |
| 20 | +- Allow integers in the form +123 |
| 21 | +- Add sin, cos and sqrt expressions. |
| 22 | +- Allow sub calls by name with parameters cast by type. |
| 23 | +- Add proper if-else blocks. |
| 24 | +- Add while and (simple) switch blocks. |
| 25 | +- Add global definitions. |
| 26 | +- Add missing and fix existing EoSD instructions. |
| 27 | +- th06: Check if instruction's opcode is higher than the max usable by the game |
| 28 | +- Add bitwise operators. |
| 29 | +- Fix argument types for a handful of th12 and th13 instructions. |
| 30 | +- Support for TH17 has been added. |
| 31 | +- Add escaping quotes and backslashes in strings. |
| 32 | +- Add ZUN-style difficulty switches for writing custom ECL |
| 33 | +- Don't force typecasts for instruction calls |
| 34 | +- Add syntax for writing degree-floats (auto converts value to radians). |
| 35 | +- Add syntax for writing binary integer literals. |
| 36 | +- Add forced sub calls by name. |
| 37 | +- Allow var declarations anywhere in the sub. |
| 38 | +- Add variable initialization. |
| 39 | +- Automatically add missing ins_10 at the end of a sub. |
| 40 | +- Better difficulty switch expression. |
| 41 | +- Add times loop. |
| 42 | +- Add simple creation mode. |
| 43 | +- Added typed variables. |
| 44 | +- Improved code blocks. |
| 45 | +- Add shorthand operators. (e.g. +=) |
| 46 | +- Constant math optimization pass. |
| 47 | +- Add #include directive |
| 48 | +- Add #eclmap directive |
| 49 | +- Add single-line comments. |
| 50 | +- Add proper pre-th10 timeline dumping. |
| 51 | +- Add #ins directive |
| 52 | +- Typed functions, return values. |
| 53 | +- Variable scoping. |
| 54 | +- Parse true/false as integer 1/0 respectively. |
| 55 | +- Add relative time labels (i.e. +60:). These are the default format when |
| 56 | + dumping. The total absolute value is appended as a comment. |
| 57 | +- Add inline sub support. Prepend the keyword "inline" to the sub type to make |
| 58 | + every call to that sub inline. Inline subs cannot call themselves. |
| 59 | +- Gotos will automatically assign the same time as to where the label is |
| 60 | + located if no time is specified. |
| 61 | + |
| 62 | +#### thdat |
| 63 | +- Support for TH17 has been added. |
| 64 | +- Add support for th09e.dat. |
| 65 | + |
| 66 | +#### thmsg |
| 67 | +- Support for TH17 has been added. |
| 68 | + |
| 69 | +#### thstd |
| 70 | +- Support for TH17 has been added. |
| 71 | + |
| 72 | +Please submit an issue at GitHub (https://github.com/thpatch/thtk/issues) if |
| 73 | +you find a bug. |
| 74 | + |
| 75 | + |
| 76 | +------------------------------------------------------------------------------- |
| 77 | + |
1 | 78 | What's new in thtk 11
|
2 | 79 | =====================
|
3 | 80 |
|
|
0 commit comments