Anders Jenbo
e7bd82b44a
A handful of param names and consts
6 years ago
Anders Jenbo
118e3668b4
Remove unused code
6 years ago
Anders Jenbo
baf2d14440
Remove unused parts of miniwin
6 years ago
Anders Jenbo
913de17a56
Use SDL_Color nativly instead of converting betwen it and PALETTEENTRY
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
9d028a418d
Correct _SNETUIDATA struct
...
UiProfileGetString returns a list of pointer to strings (4), not an int
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Gleb Mazovetskiy
f72b3fbd48
credits.cpp: Enum for CreateFontA iPitchAndFamily ( #1811 )
...
* credits.cpp: Enum for CreateFontA iPitchAndFamily
From https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createfonta :
> The two low-order bits specify the pitch of the font
> The four high-order bits specify the font family
[[MS-WMF]: 2.1.1.8 FamilyFont Enumeration](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/9a632766-1f1c-4e2b-b1a4-f5b1a45f99ad )
[[MS-WMF]: 2.1.1.24 PitchFont Enumeration](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/22dbe377-aec4-4669-88e6-b8fdd9351d76 )
* credits.cpp: Use enum for font weight
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createfonta
7 years ago
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
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Anders Jenbo
d2fb797c12
Remove unused 3rdParty files
7 years ago
Anders Jenbo
b58b3300c4
Clean up attract mode
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
29637f09dd
Fix Mac and Linux builds
7 years ago
Anders Jenbo
11b6b1f860
Remove more garbage
7 years ago
Anders Jenbo
3c0dc5f164
Remove more garbage
7 years ago
galaxyhaxz
1cc8c81636
Change PKWare to static library ( #1141 )
7 years ago
Anders Jenbo
4b07797d5f
Correct UiProgressDialog based on DevilutionX
7 years ago
Anders Jenbo
9f2a6f5ba4
Clean up after merge
7 years ago
Anders Jenbo
631305035a
Brute fix compile errors
7 years ago
galaxyhaxz
58aa145cc5
Cleanup ms office ( #964 )
7 years ago
Anders Jenbo
b30ebeb7a0
Correct calling convention for diabloui.h functions
...
IDA doesn't correctly detect calling convention for functions with no
input/output. As seen in NetInit this should have been __stdcall instead
of __cdecl
7 years ago
Anders Jenbo
8009a47cab
Clena up NetInit
7 years ago
Anders Jenbo
5c22841071
Apply MAX_PATH
7 years ago
Anders Jenbo
54c73f740c
clean up redundant code
7 years ago
Anders Jenbo
fda317a24e
Clean up storm/sound_update ( #663 )
7 years ago
Anders Jenbo
97498617a8
Match res string to code
7 years ago
Anders Jenbo
189c373c13
Correct var types
7 years ago
Anders Jenbo
1b9254afd6
Implement UiSetupPlayerInfo an UiCreatePlayerDescription and SStrCopy
...
This gets up a bit closer to compiling in release mode
7 years ago
Anders Jenbo
28be6f5c33
Correct UiProgressDialog signature
7 years ago
Anders Jenbo
00582901b8
Map arguments
7 years ago
Anders Jenbo
0cbf4b6065
Resolve argument nam for UiSelHeroMultDialog
7 years ago
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
7 years ago
Anders Jenbo
9d44169ac7
multi_upgrade ( #583 )
...
* Clean up multi_upgrade
* Correct variable names
* Correct variable types
7 years ago
Robin Eklind
f128199115
Rename MakefileVC to Makefile for Storm and DiabloUI
7 years ago
Robin Eklind
80f107dec2
Add dedicated Makefiles for DiabloUI and Storm subprojects
7 years ago
Anders Jenbo
2c8661f969
Remove more IDA_GARBAGE
...
SHIWORD compiles to the same as >> 16
7 years ago
Anders Jenbo
841f5af199
Compile effects.cpp and wave.cpp as C ( #530 )
...
* Correct SFileReadFile signature
* Compile as C
Source/effects.cpp
Source/wave.cpp
* Make diabloui.h C frindly
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
Anders Jenbo
8b21de7b0d
apply _artfonts enum ( #486 )
7 years ago
aperturesecurity
4946c08885
undo last commit
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
8 years ago
Anders Jenbo
a0a98efd3c
Correct diabloui include order
8 years ago
Anders Jenbo
9a8166a628
Autoformat non-stub parts of DiabloUi
8 years ago
aperturesecurity
80eb28fa91
fixed a bunch of unmerged stuff
8 years ago
Andrew Dunstan
22dc793b7d
Clean remaining pfile.cpp functions
...
full file is binary exact except for pfile_create_player_description (minor diff)
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
galaxyhaxz
1a2a695967
Fix "DiabloUI" for GCC + disclaim.cpp
...
Implemented disclaim.cpp, you can now call it to show the Battle.net Beta disclaimer (kinda funny).
DiabloUI now has preliminary support for compiling under GCC. Just have to update the Makefile
8 years ago
galaxyhaxz
b430ccc8a2
Fix hero deletion in UI
8 years ago