Commit Graph

1145 Commits

Author SHA1 Message Date
62d6576187 Re-indent all files in the boe namespace 2014-04-15 15:09:35 -04:00
ac3ac31f04 Squash a lot of missing prototype warnings 2014-04-15 03:39:21 -04:00
2d69851746 Fix all the missing return statements and guard against this happening again 2014-04-15 03:12:47 -04:00
2b924101d6 Nuke nearly all of the unused local variables 2014-04-15 02:54:16 -04:00
e73d14e0ee Fix crash on receiving an AppleEvent 2014-04-15 02:40:26 -04:00
fd0595eb09 Fix minor regression 2014-04-15 01:36:18 -04:00
53fa1b3494 Set template backtrace limit to infinity 2014-04-15 01:34:59 -04:00
14a089aaee Overhaul the game's "rendering pipeline", simplifying it a fair bit
- Also significantly improves performance
2014-04-15 01:31:06 -04:00
3274864f12 Minor bugfixes
- Fix crash when approaching edge of outdoor section
- Fix crash when using "fullscreen" mode
2014-04-15 01:30:25 -04:00
93c5921503 Nuke redundant in_startup_mode variable 2014-04-15 00:13:18 -04:00
c4fc32e06e Don't use exceptions for normal control flow 2014-04-14 22:20:44 -04:00
2ae75df4a7 Fix the blue arrows for look mode 2014-04-14 22:15:33 -04:00
c81944e249 Fix map terrains not drawing (except the common ones that are tiled) 2014-04-14 21:28:13 -04:00
294f29b4f8 Show cursor whenever a dialog displays onscreen 2014-04-14 21:27:46 -04:00
10f1151923 Re-indent draw_map() 2014-04-14 21:18:04 -04:00
3c3ed04ca7 Make the automap actually work
- Except that it's showing just black and white instead of the proper terrain pictures
- Fixed towns not initializing some flags, such as defy_mapping, causing them to be true when they shouldn't be
- Fix Ellipse shapes not being correctly positioned
2014-04-14 21:16:35 -04:00
121273bf57 Fix main window not receiving focus after leaving a file navigation dialog 2014-04-14 20:35:30 -04:00
441e0a5459 Fix text display while talking 2014-04-14 17:43:54 -04:00
a157c5358b Fix crash when talking to someone
- Also make a lot of talk stuff use std::string instead of char[]
2014-04-14 17:06:50 -04:00
db98f6245e Fixed first button in dialog without attached key being triggered by any unknown key 2014-04-14 17:03:05 -04:00
48f3335160 Fix "missing" Done button in PC info dialog
- Also fix wrong resource name - the pc-spell-info DITL was mistakenly named pc-info
2014-04-14 15:51:30 -04:00
dd02dcc5d3 Realign PC spell list dialog 2014-04-14 15:51:30 -04:00
7b194c26ba Fix mage/priest spell buttons in PC info dialog being labelled with the level of the skill 2014-04-14 15:51:30 -04:00
146eb5dd40 Fix crash when viewing PC spell list 2014-04-14 15:51:29 -04:00
8ecf76e758 Fix crash on viewing PC info 2014-04-14 15:51:29 -04:00
07140349a2 Fix white first character name and item charges being shown as boxes 2014-04-14 15:51:28 -04:00
854dae0576 Fix string dialogs attempting to play garbage sounds 2014-04-14 15:51:28 -04:00
1ce6c6cc94 Fixed crash when getting items and some other improper use of std::ostringstream 2014-04-14 15:51:27 -04:00
b68abf037d Slightly improved error messages in the dialog framework 2014-04-14 15:51:27 -04:00
a2ca0bf3b1 Catch exceptions and show an error dialog to the user 2014-04-14 15:51:27 -04:00
8a6d222083 Re-indent main() 2014-04-14 15:51:26 -04:00
b36c9778c6 Fix keyboard controls 2014-04-14 15:51:26 -04:00
fa551c8f43 Don't hide mouse cursor if it's outside the window 2014-04-14 15:51:26 -04:00
5f9be1cb6a Save help received to prefs file 2014-04-14 15:51:25 -04:00
45494d0c2e Fix some preferences having incorrect defaults and made all preferences save
- SDF preferences, which are also stored in the save file, are only saved if you're at the startup screen
- Also fixed a crash when saving prefs
2014-04-14 15:51:25 -04:00
a53c16c4a0 Skip startup music along with splash screen 2014-04-14 15:51:24 -04:00
0d53357955 Fix crash on seeing a monster 2014-04-14 15:51:24 -04:00
eeb5ca0f06 Rewrite prefs loading/saving to use Cocoa 2014-04-14 15:51:24 -04:00
a76755d961 Fix tip of the day setting not being saved 2014-04-14 13:55:54 -04:00
a641fdefc1 Fix preferences dialog not properly remembering settings 2014-04-14 13:55:53 -04:00
152f828e44 XSL dialog preview now shows default-state LEDs 2014-04-14 13:55:53 -04:00
8d76aed26c Add preferences option to skip splash screen on startup 2014-04-14 13:55:52 -04:00
85afa07382 Prefs dialog alignment tweaks 2014-04-14 13:55:52 -04:00
860305df91 Organize preferences dialog so that the elements are in display order 2014-04-14 13:55:51 -04:00
44044929cc Make custom 3-choice dialogs always have a default button 2014-04-14 13:55:51 -04:00
fccc1a8c54 Zap fancy apostrophes in strings and dialogs 2014-04-14 13:55:50 -04:00
672d4b88d0 Address major lag issues
- Now waits for events instead of busy polling
- Changes the cursor on receiving a mouse move rather than before checking for an event
- Make cursor sword when it's out of window
- Temporarily disable unseen mask as it didn't work properly and was the main cause of the lag
- Don't reset text bar on every loop
2014-04-14 13:55:49 -04:00
f79a300e76 Fix incorrect ID in 2str dialogs 2014-04-14 13:55:49 -04:00
0087731ddb Fix crash when quitting the game 2014-04-14 13:55:49 -04:00
2986ca80a8 Fix crash when adjusting the monster and spell menus 2014-04-14 13:55:48 -04:00