Commit Graph

817 Commits

Author SHA1 Message Date
Martin Haye
d5d30639d6 Save map state to global vars. 2015-12-28 09:13:18 -08:00
Martin Haye
5fc03b6f55 Better debug for out-of-memory. 2015-12-23 15:59:11 -08:00
Martin Haye
df901ee94f Fixed some bugs introduced by refactoring, and also the portrait preview facility. 2015-12-23 15:42:37 -08:00
Martin Haye
604857a4d2 Animations working in-engine for the first time. 2015-12-17 09:19:49 -08:00
Martin Haye
a1b60a490c Comment fix for min/max, thanks Dave. 2015-12-17 06:48:30 -08:00
Martin Haye
f46aed43a6 Pick up animation flags properly. 2015-12-17 06:48:15 -08:00
Martin Haye
11464433be Now packing animation sequences. 2015-12-12 07:22:15 -08:00
Martin Haye
70174a3342 Forgot to check in some files from the combat refactor. 2015-12-11 06:48:00 -08:00
Martin Haye
54bdfdd47e Finished moving combat code to a module. 2015-12-10 09:43:21 -08:00
Martin Haye
a48e3cc9d8 Making some progress splitting the combat code into a separate module. 2015-12-09 10:16:05 -08:00
Martin Haye
be7ba4a3ed Added partial support for NPC party members; packer now produces headers for the PLASMA code so we don't have to hard-code image numbers. 2015-12-09 07:35:02 -08:00
Martin Haye
90187c007c Starting to work on translating enemy table to code. 2015-12-06 15:44:28 -08:00
Martin Haye
059f77aba1 Starting in on data generation. 2015-12-06 12:02:18 -08:00
Martin Haye
299b5aed2f Enemies fight back\! 2015-12-05 15:01:44 -08:00
Martin Haye
d6c321b11a Finally happy with combat pacing and spacing. 2015-12-05 11:40:27 -08:00
Martin Haye
c4a7e4fe6a Cleaning up display of combat. 2015-12-05 11:13:35 -08:00
Martin Haye
98d9631a90 More combat. 2015-11-30 08:49:46 -08:00
Martin Haye
f342bb55c0 Fixed scrolling in combat window. 2015-11-30 08:02:32 -08:00
Martin Haye
305e79977d Took out more debugging text. 2015-11-30 07:48:36 -08:00
Martin Haye
20576c9986 Turn off memory debugging when not needed. 2015-11-30 07:46:25 -08:00
Martin Haye
010570bca7 Added more combat mechanics; fixed totally-wrong structure numbers. 2015-11-30 07:46:05 -08:00
Martin Haye
da7356450c Combat order determination implemented. 2015-11-29 09:21:03 -08:00
Martin Haye
4eafd97388 Added a few more messages at the start of combat. 2015-11-29 07:50:29 -08:00
Martin Haye
6b38c49ffd Added fight/run logic. 2015-11-19 08:36:35 -08:00
Martin Haye
87cd0c3fd0 Handle singular/plural and singular(s) forms in display strings. 2015-11-19 08:27:04 -08:00
Martin Haye
ddaca82733 Now displaying start of combat. 2015-11-11 08:55:16 -08:00
Martin Haye
65b787e0ff Merge branch 'master' of https://github.com/badvision/lawless-legends 2015-11-05 09:09:52 -08:00
Martin Haye
6b3b0372fd Now showing Hue's real data. 2015-11-05 09:09:45 -08:00
Martin Haye
c1bcb8d187 A few minor fixes to game logic. 2015-11-05 07:18:17 -08:00
Brendan Robert
1b2b8ef19e Partial refactoring and temporary work-around for map creation bug. A better fix would be a fully-observable list of maps but that might not be do-able. 2015-10-14 01:29:58 -05:00
Brendan Robert
7ac3f974b9 Fix for NPE the first time you create a new image and try to draw -- the state management was setting a null when there was no previous state 2015-10-14 01:28:54 -05:00
Martin Haye
6e2187087f Added enemy grouping. 2015-10-01 10:04:01 -07:00
Martin Haye
679a9ae6fb Fleshed out first prototype player, Hue Hauser, along with his chaps and handgun. 2015-10-01 08:34:49 -07:00
Martin Haye
9ff4aeb793 Forgot to commit this. 2015-09-19 13:51:08 -07:00
Martin Haye
6ee122f942 Cleaner initialization of test string table. 2015-09-19 13:46:36 -07:00
Martin Haye
efe6525167 Tested and fixed heap intern of strings. 2015-09-19 13:44:41 -07:00
Martin Haye
2f67d1c72f Reworked GC algorithm to share code better. Passes heap test again. 2015-09-19 13:27:57 -07:00
Martin Haye
bd0426e622 Forgot to check in the actual player types. 2015-09-19 08:30:52 -07:00
Martin Haye
698ce413cc Added string interning to heap. Working on type system for players, items, combat. 2015-09-17 10:03:02 -07:00
Martin Haye
ce0709fbab Merge branch 'master' of https://github.com/badvision/lawless-legends 2015-09-15 07:54:49 -07:00
Martin Haye
a1186596f9 Fix to allow blank lines and comments within struc definition. 2015-09-15 07:27:16 -07:00
Brendan Robert
5634548879 Efficiency improvements in spell-checker.
1) Spell check is not run if value remains unchanged
2) Fast-failure added to distance calculation to throw out words that vary in length too much
3) Fast-failure added to distance calculation to exit as soon as the max threshold is reached
2015-09-14 19:50:04 -05:00
Martin Haye
1032797515 Merge branch 'master' of https://github.com/badvision/lawless-legends 2015-09-13 09:31:08 -07:00
Martin Haye
fa6bdfb86d Added PLASMA support for single-level source code include statement, without needing m4. Usage: include "yourfile.pla" 2015-09-13 09:30:10 -07:00
Brendan Robert
c11d8dfb1e Fixed a few minor defects and also set up the text block to run spell check right away when loading an existing script 2015-09-12 23:23:33 -05:00
Brendan Robert
0ca78ec5f8 Better spelling suggestions, using a secondary algorithm as a tie-breaker to favor the most relevant suggestions 2015-09-12 23:22:58 -05:00
Brendan Robert
287ceca85f Limiting spelling suggesions to the five cloest matches 2015-09-12 23:22:15 -05:00
Brendan Robert
38e8a0dcc7 Disabled blockly editor sounds 2015-09-12 23:21:17 -05:00
Brendan Robert
e69a655426 Permanently set starting class name for debug runs 2015-09-12 23:20:58 -05:00
Brendan Robert
8a88a147f2 Converted text entry to a bigger area, allowing multi-line entry. Added rudimentary spell checking (it's not perfect at the momenent) 2015-09-12 18:40:08 -05:00