Commit Graph

377 Commits

Author SHA1 Message Date
Martin Haye
0179dc07ce Call time func when loading map, to correctly set sky/ground colors. 2018-01-16 09:42:31 -08:00
Martin Haye
459f5037af Can now get and set the time (as an hour, 0-23). 2018-01-16 09:15:52 -08:00
Martin Haye
1f0e96bd00 Now identifies and runs time scripts; handles sky and ground color changes better. 2018-01-10 08:47:20 -08:00
Martin Haye
cb4558ffae Implemented cmd to show / advance time. 2018-01-10 07:10:43 -08:00
Martin Haye
de5a6bef25 Fixed hashing function which was allowing loading of incompatible games. Added basic clock advancing. 2018-01-09 10:02:28 -08:00
Martin Haye
c85c153363 Perfected drawing clock on hi-res page 2 while showing pg 1. 2018-01-05 09:17:01 -08:00
Martin Haye
22dcfc8cd9 Now drawing clock hands, and inverting at night. 2018-01-04 10:36:21 -08:00
Martin Haye
887600efc9 Finally made progress drawing the outline of the clock. 2018-01-04 08:41:48 -08:00
Martin Haye
b385a5e769 Changed to new compass. Messing around with line drawing. 2017-12-27 07:21:46 -08:00
Martin Haye
f6069c576d Integrated new PLASMA compiler, including delicious ternary operator. 2017-11-29 09:21:24 -08:00
Martin Haye
21a333323c Slight fix where last pix of version number was cut off. 2017-11-29 08:45:21 -08:00
Martin Haye
d5dd1fe449 Some optimization to make game loop smaller. 2017-09-20 08:44:35 -07:00
Martin Haye
b25224558c No longer need tossStrings() workaround. 2017-09-19 08:49:00 -07:00
Martin Haye
52f42d7fcf Can now avoid fixups for gamelib functions, and (with care) use abs addressing there. 2017-09-19 08:32:25 -07:00
Martin Haye
35969f4127 One more pack fix. 2017-09-14 09:56:46 -07:00
Martin Haye
ef251e479a More progress on pack limits. 2017-09-14 09:53:01 -07:00
Martin Haye
a34c54fdcd Working on pack limits, and some fixes to inv screen. 2017-09-14 08:09:21 -07:00
Martin Haye
b3ec104561 Fixed flag when girding NPC that has no weapons. 2017-09-13 08:29:44 -07:00
Martin Haye
4354ef5916 Merge master into newplasma branch. 2017-09-13 08:14:34 -07:00
Martin Haye
68399614a5 Refactor to use lambdas for list iteration everywhere it's reasonable. 2017-09-13 08:06:52 -07:00
Martin Haye
05d96b1243 Expanded small-object heap to make more space for inventory. Started implementing pack size limits. 2017-09-12 08:21:23 -07:00
Martin Haye
ea25619c78 Added code to display % heap memory in use. 2017-09-11 11:16:10 -07:00
Martin Haye
b8e89af594 Save game after initial character created, in case they quick. 2017-09-09 10:08:06 -07:00
Martin Haye
f33aa1f143 Added friendly advice on character creation screen - thanks to Brian Wiser for the suggestion. 2017-09-09 09:25:14 -07:00
Martin Haye
53e0f8bbb4 Added automatic title-casing to text inputs (e.g. character name in particular) 2017-09-09 08:43:35 -07:00
Martin Haye
9e5fe1262a Fixed (uncommon) case of scrolling text in the map window. 2017-09-09 07:56:37 -07:00
Martin Haye
b723a25bef Fixed memory management problems in combat (preloaded funcs, item generation). Fixed problems with join/split. Normalized keyboard commands on inv screen. Fixed using TNT if Paul has it instead of plyr. 2017-09-03 09:28:46 -07:00
Martin Haye
1e00b8f703 Fixed bug where level-up went to wrong char. 2017-09-03 07:00:30 -07:00
Martin Haye
2b2e93f59b Implemented split and join. 2017-09-02 09:46:06 -07:00
Martin Haye
2cd9d70e9a Enabled trading between characters. Fixed add-player command when party is full. 2017-09-02 09:04:00 -07:00
Martin Haye
73b98f5b89 Fixed many little bugs and annoyances on inventory sheet. 2017-09-02 08:23:24 -07:00
Martin Haye
801500798a Fixed compass display when coming out of script. Implemented player switching in buy/sell. 2017-09-01 09:31:50 -07:00
Martin Haye
288c8bbfbe Added periodic heap checking. Fixed big bug when rolling large number of dice. Added some mechanics of trade/split/join items. 2017-08-30 10:33:01 -07:00
Martin Haye
acc78864bf Fixed bugs with using items and salves. 2017-08-30 09:27:10 -07:00
Martin Haye
ddbeebd9b0 More work on stackables. 2017-08-30 08:50:28 -07:00
Martin Haye
dbc94d707c Coding done on big item and flag refactor. Now for testing. 2017-08-29 09:06:53 -07:00
Martin Haye
865c2fe8f2 Improved plural processing. 2017-08-25 08:16:06 -07:00
Martin Haye
ffa1bb9afe Removed old kludged finalWin() logic. Moved a couple of functions to godmode.pla that were only used there anyway. 2017-08-15 10:01:28 -07:00
Martin Haye
be58f38628 Cleaner memory regimen to avoid out-of-mem situations. 2017-08-14 09:25:38 -07:00
Martin Haye
abcf6f9c94 Fixed display problems with godmode teleport. 2017-08-14 08:16:38 -07:00
Martin Haye
9c45ed0fb5 Added import-game function. 2017-08-14 08:01:31 -07:00
Martin Haye
4cf10aba0a Took out some debugging code, and made next/prev portrait more efficient. 2017-08-12 10:29:54 -07:00
Martin Haye
1ce5b2b0a0 Fixed latent animation bug introduced by PF - when advancing anim ptr, need to get both bytes of offset before changing ptr. 2017-08-12 10:25:24 -07:00
Martin Haye
8cd36fad17 Added version stamp (encoded engine time, plus scenario differential) 2017-08-11 11:17:38 -07:00
Martin Haye
3a452e3de1 More rational suppression of script-within-script. Fix for rendering wrong direction while going backward. 2017-08-10 10:51:20 -07:00
Martin Haye
e1cc6c37b9 Temporary fix for text overwrite problem. 2017-08-10 09:56:46 -07:00
Martin Haye
c02f9f8f83 Allow scripts to add skills and XP. 2017-08-06 11:23:40 -07:00
Martin Haye
d3132cc318 Working to get compass direction actually right. 2017-08-04 08:30:08 -07:00
Martin Haye
a86d7d8764 Now with working compass in 3D mode. 2017-08-04 08:15:40 -07:00
Martin Haye
9af91c0343 Removed debug pause. 2017-08-02 19:14:47 -07:00