Commit Graph

349 Commits

Author SHA1 Message Date
Sylae Corell
3602a6748c GWLP for the CharEd 2014-08-01 11:31:35 -06:00
Sylae Corell
4330f63aad Chared now: Change the WndProc return type 2014-08-01 11:27:40 -06:00
Sylae Jiendra Corell
1f566694ef Move declaration out of the header file 2014-08-01 11:25:04 -06:00
Sylae Corell
5f51721fcd remove old declaration from cpp file 2014-08-01 11:20:50 -06:00
Sylae Corell
d22b3ea1e7 update fresh_edit_proc 2014-08-01 11:18:42 -06:00
Sylae Corell
fbf03b952e Fix WndProc 2014-08-01 11:13:56 -06:00
Sylae Corell
1963b56163 change to GWLP 2014-08-01 11:10:22 -06:00
Sylae Corell
3b758a6886 Trying a thing to clear this error 2014-08-01 11:07:06 -06:00
Sylae Jiendra Corell
5fa67b54f8 Specify which max() to use in dlogtool 2014-08-01 10:41:11 -06:00
Sylae Corell
2bf9ea1148 Possible fix for "epected initializer before 'WndProc' 2014-08-01 10:38:44 -06:00
Sylae Corell
dfad59ff75 I'm a moron. Fix conditional nesting ruined in bfdcc23 2014-07-30 14:05:52 -06:00
Sylae Corell
7c4c71c8e7 location struct should use signed chars 2014-07-30 13:55:08 -06:00
Sylae Corell
3d1b4cbfa1 Scenario Editor unused variables 2014-07-30 13:37:24 -06:00
Sylae Corell
194e16198b Scenario Editor const cleanup 2014-07-30 13:33:16 -06:00
Sylae Jiendra Corell
c9e7e86017 Merge branch 'master' of https://github.com/calref/cboe 2014-07-30 13:17:18 -06:00
Sylae Jiendra Corell
98a5e6ce16 Tell the compiler which max() and min() to use
This fixes an error with the build server's version of mingw
that was not finding max() or min()
2014-07-30 13:15:50 -06:00
Sylae Corell
bfdcc2368d Cleaning up this set of conditionals 2014-07-30 12:12:27 -06:00
Sylae Corell
728395caa7 removing unused variables 2014-07-30 12:08:10 -06:00
Sylae Corell
f839ef7d7a Making sure we don't pass a negative key to an array 2014-07-30 11:58:42 -06:00
Sylae Corell
297eae6a94 our friend Deprecated conversion is no more :) 2014-07-30 11:55:31 -06:00
Sylae Corell
9a8f37b817 boe.actions.cpp is now mostly warning-free 2014-07-30 11:07:36 -06:00
Sylae Corell
26971cf0c8 Some more gcc deprecation cleanups 2014-07-30 11:03:01 -06:00
Sylae Corell
864eba5928 Include the WIN32 flag, since GCC doesn't want to now 2014-07-29 12:22:45 -06:00
Sylae Corell
d0aa12c23d Let's try that again, using a flag that it might like more 2014-07-29 12:15:46 -06:00
Sylae Corell
6d7e8fdcf4 Don't use GNU extensions to C++ 2014-07-29 12:12:11 -06:00
Sylae Corell
cf28b1ed37 removing a few gcc warnings 2014-07-29 12:07:47 -06:00
Sylae Corell
bd37bd04d9 Merge branch 'master' of https://github.com/calref/cboe 2014-07-28 20:06:48 -06:00
Sylae Corell
ae2284e0d9 Updating the README links 2014-07-28 20:06:43 -06:00
14150c8e3b Merge branch 'master' of github.com:calref/cboe 2014-07-12 22:14:28 -04:00
41c3396aa3 Tear out most of the legacy code in the scenario editor - see below for details
- All Carbon code is gone
- Many dialogs converted; some are still left unimplemented since they still need to be converted
- Menus converted to a xib file
- The giant arrays specifying the configuration of the special node dialog for each special node type have been replaced with maps and sets.

Changes to dialogs:
- pict choice dialog can now show picts of differing types; this was required for picking a monster graphic, as monsters of all sizes need to be shown in the same dialog
- string choice dialog can set the title, and properly shows the currently selected string
- LEDs now accept font format
- Fixed LED group's calculation of its rect
- Fixed LED group crashing if it has no selection
- Tabbing between text fields now works
- Fix display of larger monster graphics in dialogs
- Fix the script element content showing in the browser preview
2014-07-12 22:13:27 -04:00
Sylae Jiendra Corell
69ffd4cee3 Fixed 64-bit compiliation, edited configure script to allow
setting of 64-bit operations
2014-06-18 14:00:57 -06:00
Sylae Corell
039ef4d143 Game compiles again under 32-bit! 2014-06-18 13:24:51 -06:00
Sylae Corell
fb45c7677b Remove exe extensions from makefile 2014-06-17 16:14:35 -06:00
Sylae Jiendra Corell
a49529e1c3 Makefiles for CharEd, ScenEd 2014-06-17 16:03:20 -06:00
Sylae Corell
08928af0ac Remove verbose output flag from makefile 2014-06-17 15:24:18 -06:00
Sylae Jiendra Corell
a8872eb199 Rename windows directories to remove spaces. This backslash business is getting old. 2014-06-17 14:45:17 -06:00
Sylae Jiendra Corell
29906153cf Configure file, partial 64-bit support
Thanks to @redsaurus we've now got (partial) 64-bit support. The game and sounds dll now compile under x64.

I've also added a simple python configure script (based off of Arancaytar's cburschka/cadence script) to quickly allow changing compilers.
Gone are the days of three different Makefiles!
2014-06-17 14:36:17 -06:00
bbc9667c88 Fix unwanted transparency in some of the monster graphics 2014-04-25 22:41:40 -04:00
a4430cdf5a Fix spellcasting and dynamic menus
- Spell targeting line and array draws nicely, though not the same as the original
- Fix targeting falsely complaining about being off the edge of town
- Monster info dialog works properly; attacks now display correctly
- Fix dialogs always showing the wrong terrain or monster graphic
- Spell menus, monster menus, and PC editor item menus all work
- Spellcasting dialog now chooses the correct spell
- Fix out-of-place LED in spellcasting dialog
2014-04-22 02:06:31 -04:00
d90a006e43 Change install location of base scenario file 2014-04-22 01:58:12 -04:00
434d4c522f Fix several crucial bits of data not being loaded
- Creature save data
- Outdoor wandering encounters
- Fix crash when entering outdoor combat after loading
- Stop using char types in cItemRec
- Move all pending attributes from cMonster to cCreature
2014-04-21 21:35:26 -04:00
e8022df514 Don't rely on exceptions for normal behaviour 2014-04-21 14:06:38 -04:00
9013096624 Fix crash when changing display mode 2014-04-21 13:56:05 -04:00
446bb1550d Some more tweaks to cursor handling
- Fix cursor turning into a sword during universe shifts
- Hide cursor along with menubar during splash screen
- Add watch cursor, used during splash screen
- Properly restore cursor after a dialog
- Use sword cursor for dialogs
- Show ibeam cursor in dialog text fields
- Move everything cursor-related out of graphtool
2014-04-21 13:47:52 -04:00
84192cd52f Finally bring cursors into the resource manager framework
- Hotspots are still hardcoded, unfortunately
- Obscuring the cursor when using the keyboard now works properly
2014-04-21 04:05:55 -04:00
321cd7c2e5 Finally implement the blue hilite tint for the toolbar buttons 2014-04-21 02:27:59 -04:00
e6f75206e5 Various tweaks to the PC editor
- Inspired by commented code!
- Prints "Characters" above the PC buttons
- Shows the current day at the bottom right
- Finally implement the tint for the active PC
- Show gold and food at the top left (currently only when in a scenario)
2014-04-21 02:23:54 -04:00
a8f0222b24 Fix wrong area being hilited when clicking a word in talk mode (mostly) 2014-04-21 01:55:58 -04:00
002ee640da Remove the global TextStyle; this should fix some of the textual glitches 2014-04-21 01:49:07 -04:00
f9a21dd068 Fix up the pick custom scenario dialog 2014-04-20 23:55:01 -04:00