Commit Graph

3851 Commits

Author SHA1 Message Date
d900c7edef Enumify terrain blockage and generalize the line of sight function
This should probably be two separate commits, but they're tangled together and I don't want to spend the effort to disentangle them.
2014-12-01 19:50:19 -05:00
afd45b3774 Strictify item weapon type enum 2014-12-01 14:57:18 -05:00
3a1de0c890 Strictify item variety enum 2014-12-01 14:46:17 -05:00
f0ededde17 Somehow, these lines got out of order, throwing off the whole conditional
- If I read the code correctly, the result was that you could sell weapons other than crossbows bolts without dequipping them first
(Fortunately && has higher precedence than ||, otherwise it would've been a lot worse.)
2014-12-01 13:44:24 -05:00
8a3db4177f Edit text fields now clip overflow and scroll 2014-12-01 03:44:15 -05:00
3fa0a26ec3 no message 2014-12-01 02:01:24 -05:00
70696dc42f Text fields now support multiline editing! 2014-12-01 01:20:28 -05:00
45caa9d7ff Apparently some dialogs were missing from the copy phase 2014-11-30 21:32:44 -05:00
9b626ccf44 Restore talk face 2014-11-30 21:20:35 -05:00
3fa6d0558e Restore conversation help button 2014-11-30 20:54:54 -05:00
6c0fc58bf1 Rewrite the conversation rendering and interaction engine
- The only functional change is that clickable words are now red
2014-11-30 20:38:21 -05:00
048de39583 More tweaks of scan_for_response 2014-11-29 22:02:41 -05:00
32d79e6099 scan_for_response - vast improvement in readability 2014-11-29 22:00:44 -05:00
3f857cc568 Seperate the logic of calculating where to draw the text from the code that actually draws it 2014-11-29 21:12:06 -05:00
84f2e7b831 Refactor out currently-minor code duplication in text drawing routine 2014-11-29 19:48:36 -05:00
a9ea0a114c Make text drawing mode a strict enum 2014-11-29 19:41:54 -05:00
6fae493080 Little bits
- Fix monster pic field stealing focus forever
- Fix "ask to save" behaviour
2014-11-29 16:38:31 -05:00
b537fabd13 Allow shift-tab to cycle backwards through tab order 2014-11-29 16:37:26 -05:00
84f53a8a7d Dialog tab order implementation
- Defaults to order of definition in file
- tab-order attribtue can be set to a postive number to force towards the start, or a negative number to force towards the end
2014-11-29 16:03:54 -05:00
6f9b5c8f69 Hard-wrap style guide for clearer diffs 2014-11-29 13:11:14 -05:00
13d00cd27a Convert the edit special item dialog 2014-11-29 12:12:01 -05:00
7aa3ba3794 Refactor the various special item arrays into a single structure array 2014-11-29 12:02:28 -05:00
c5b1416c33 Whoops, forgot that file 2014-11-29 03:21:40 -05:00
1cdc7ddb7c Misc bits 2014-11-29 03:21:28 -05:00
6f73841764 Schemas for monster, item, and terrain definitions 2014-11-29 03:20:07 -05:00
ed056368c1 Make all the controls non-copyable so that I don't get weird, insidious, hard-to-track errors from forgetting a reference mark like I did when converting the edit item type dialogs 2014-11-29 02:14:48 -05:00
c855983de4 Convert item type editing dialogs 2014-11-29 02:13:49 -05:00
bc7d1a3772 Simplification 2014-11-28 16:22:43 -05:00
5d1697c206 Schema for town dialogue 2014-11-28 16:22:33 -05:00
6e2e6d31a1 Schema for outdoors definitions 2014-11-28 15:10:35 -05:00
c1c4ce4b5c Forgot area description rects 2014-11-28 14:41:44 -05:00
d96ef5713b Move entry and wandering locs to the map data 2014-11-28 14:38:35 -05:00
d3c640b782 Formalize scenario ratings 2014-11-28 14:31:01 -05:00
b64cc7b8c6 Add xml extension 2014-11-28 14:19:26 -05:00
1a9f85da29 In the scenario file, rects require all four attributes 2014-11-28 14:11:03 -05:00
f21ef07111 Formalize schema for town definition file 2014-11-28 14:10:40 -05:00
de7489d47d Forgot storage shortcuts, also validate language codes 2014-11-28 12:07:42 -05:00
fbb0b70626 Formalize scenario schema
- Except ratings, those still need to be formalized
2014-11-28 11:58:58 -05:00
7d287769ab CRLF-->LF 2014-11-28 11:57:19 -05:00
159d72b912 Merge branch 'master' of github.com:calref/cboe 2014-11-28 02:29:13 -05:00
3b95d6d7c8 Implement main scenario editor menus
- Edit, monster, item menus still missing
- Fix some formatting in the menus file
- Clean up some verbose stuff
2014-11-28 02:28:43 -05:00
4f5b59e53d Fix scenario editor save on quit dialog 2014-11-28 02:19:56 -05:00
02e4f0a5d6 Fix PC Editor "Hide" menu item 2014-11-28 02:19:36 -05:00
07ff864f4b Convert monster abilities dialog 2014-11-28 02:19:07 -05:00
Sylae Corell
af39e4826e CharEd: Unused variables 2014-08-01 12:27:19 -06:00
Sylae Corell
8be25a04aa CharEd: make strings const 2014-08-01 12:20:06 -06:00
Sylae Corell
70b31bf786 Merge pull request #34 from calref/editors-x64
Pull 64-bit editor support
2014-08-01 12:02:37 -06:00
Sylae Corell
b4757eb2eb Missed one :( 2014-08-01 12:00:28 -06:00
Sylae Corell
d7c4451ec8 more LPARAMs and WPARAMs 2014-08-01 11:59:23 -06:00
Sylae Corell
3a014c4fee make the definition use *PARAMs 2014-08-01 11:57:39 -06:00