Anders Jenbo
3d5d28d4ec
Fix calling init_cleanup on shutdown
...
- Fixes saving audio volume
- Fix memeory leak warnings
Thanks to @de4me for pointing this out
2019-11-12 19:48:37 +01:00
Anders Jenbo
a8e4db538f
Display SDL error messages in UI dialog
...
This will also end the application in most cases
2019-10-12 23:02:04 +02:00
Anders Jenbo
d840f388c7
Merge branch 'master' of github.com:diasurgical/devilution
2019-10-08 22:05:10 +02:00
Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
2019-10-06 01:27:11 +02:00
Anders Jenbo
a8dd5dcd4a
Correct signature of FuncDlg
...
This reduces a lot of the casting in appfat.cpp
2019-10-04 09:28:03 +02:00
Gleb Mazovetskiy
4ea3a4e941
Make Source/ dialogs call DiabloUI/dialogs.cpp
...
The diabdat.mpq absence error is handled by stubbing the art with solid
colors.
2019-10-03 08:17:32 +02:00
Anders Jenbo
e88e574c5f
Drop unimplemented code
2019-09-26 07:32:47 +02:00
Anders Jenbo
1d03064fee
Clean up sound code
2019-09-25 11:32:30 +02:00
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
2019-09-25 01:18:42 +02:00
Anders Jenbo
c1fb75d738
Remove check for Windows platform
2019-09-13 03:56:37 +02:00
Anders Jenbo
4e1e62d6e9
Remove inactive error logging
...
Not easy to port, little value, not in Mac port
2019-09-13 03:56:35 +02:00
Anders Jenbo
f605138c79
Strip ASM code
2019-08-26 13:33:03 +02:00
Anders Jenbo
f187fe7d3a
Merge branch 'master' of github.com:diasurgical/devilution
2019-06-22 18:14:48 +02:00
Anders Jenbo
a7788ccddf
Format bin exact code
2019-06-17 04:55:41 +02:00
Anders Jenbo
23e7737c75
Merge branch 'master' of github.com:diasurgical/devilution
...
Fixes #92
2019-05-05 00:27:08 +02:00
Anders Jenbo
f07ae3e4ad
Clean up appfat.cpp
2019-05-02 00:16:46 +01:00
Xadhoom
6856fb74e2
Merge upstream beanch 'devilution/master'
2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8
Merge branch 'TownDead'
2019-04-24 14:08:25 +02:00
galaxyhaxz
b76156e206
Implement breakpoint handler
2019-04-22 21:13:34 -05:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Anders Jenbo
d8bb37349e
Merge branch 'master' of github.com:diasurgical/devilution
2019-04-06 04:34:49 +02:00
Anders Jenbo
d2174e3454
Apply code style
2019-04-05 21:54:45 +02:00
Anders Jenbo
a907a4d49b
Merge branch 'master' of github.com:diasurgical/devilution
2019-04-05 15:21:53 +02:00
galaxyhaxz
4cf4b15b33
TraceError DS/DD ( #796 )
2019-03-30 11:31:35 +01:00
galaxyhaxz
5238265702
Implement assert support ( #791 )
2019-03-29 21:26:37 -05:00
Xadhoom
5283a9ffd1
Put everything into namespace dvl
2019-03-11 20:10:23 +00:00
Max Desiatov
269aa345bd
Fix downstream 64-bit builds
2019-03-08 03:07:21 +01:00
Anders Jenbo
81a3e0051d
Clean up multi_init_single & multi_init_multi ( #587 )
2019-01-27 13:06:54 +01:00
Anders Jenbo
f281178672
Clean up appfat.cpp ( #585 )
...
* Clean up appfat.cpp
GetErrorStr, TraceErrorDD, TraceErrorDS, TraceLastError, DDErrMsg,
DSErrMsg, ErrDlg, ErrOkDlg, DirErrorDlg, InsertCDDlg, FuncDlg,
init_cleanup, FreeDlg, center_window
* Fix style
2019-01-27 00:31:42 +01:00
Robin Eklind
a969f5c6f3
Uncomment delete to make appfat.cpp compile as C.
...
Note, in the future, we want to figure out how the
delete operator was overloaded and included while
still compiling the project as C.
Most likely it was overloaded in the Storm header,
and being included by appfat.cpp (which is the first
file being compiled in alphabetic order), it was
included here.
Fixes #528 .
2019-01-12 20:11:37 +01:00
Anders Jenbo
77849aea72
Remove unused init ( #533 )
2018-12-31 04:26:51 +01:00
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
2018-12-29 15:12:19 +01:00
Anders Jenbo
4a62a7c678
Code style
2018-12-29 02:15:20 +01:00
galaxyhaxz
86f00145f8
Remove empty_string garbage
2018-11-06 09:42:27 +01:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
fcc4e19287
Format debug related code
2018-10-22 01:45:27 +02:00
Andrew Dunstan
4c085a734b
clean wave.cpp
2018-10-18 13:26:59 +02:00
Andrew Dunstan
c2d49ff75f
add missing va_end "calls"
2018-10-15 20:39:06 +02:00
Anders Jenbo
b7b01e5a3b
Fix EOL
2018-09-18 21:25:32 +02:00
Dennis Duda
f83bceedfa
Merge branch 'master' into win32_ansi
2018-09-16 20:58:15 +02:00
Andrew Dunstan
aedf7555d1
Remove A suffix from all string-related win32 API function names
2018-09-16 02:52:51 +10:00
galaxyhaxz
34938876e0
A few name corrections ( #203 )
2018-09-14 23:47:22 -05:00
galaxyhaxz
97360fca7c
Fix windows error dialogs ( #195 )
2018-09-05 12:22:43 -05:00
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
Robin Eklind
263f0aa360
Byte-identical version of appfat_cpp_init. ( #110 )
2018-07-01 09:37:56 -05:00
Adam Heinermann
128e9d89a2
Fixed a potential overflow in appfat ( #85 )
...
Refactored massive switch statements into something probably closer to reality.
2018-06-27 12:10:15 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
3915a64457
Clean up the readme and add support ( #16 )
...
* Update README, appfat, add support
2018-06-16 22:20:35 -05:00