Commit Graph

253 Commits

Author SHA1 Message Date
fallenoak
b537c34990
chore(net): restructure system-specific socket code 2023-03-20 17:57:41 -05:00
Phaneron
da23578002
feat(gx): implement CGxDevice::BufData 2023-03-20 17:28:23 -05:00
fallenoak
5ccf980c23 feat(event): add last vkeys to windows keyboard input handling 2023-03-20 16:47:22 -05:00
fallenoak
b94d5825bb feat(event): handle size input events for windows 2023-03-20 00:37:35 -05:00
fallenoak
ba790418e1
feat(client): migrate gui functions and implement OsGuiGetWindow 2023-03-20 00:06:50 -05:00
fallenoak
acaa42019a
feat(gx): add getter for device window 2023-03-19 23:48:52 -05:00
fallenoak
bfbd7e57ad chore(event): add assertions to EventRegisterEx 2023-03-19 17:06:39 -05:00
fallenoak
d5562cb82a feat(gx): reset d3d device on window size changes 2023-03-19 13:29:10 -05:00
fallenoak
313e2b81ff chore(gx): pool discard uses pool invalidate 2023-03-19 13:27:55 -05:00
fallenoak
c106c77776 feat(event): handle char events on windows 2023-03-18 17:33:43 -05:00
fallenoak
43402e3bd1 feat(event): handle key down and key up events for windows 2023-03-18 17:10:01 -05:00
fallenoak
b8ebabaea5 fix(event): add missing break 2023-03-17 23:41:25 -05:00
fallenoak
e391f89656 feat(event): handle mouse up and down events for windows 2023-03-17 23:27:58 -05:00
fallenoak
7f70ecd225 feat(event): handle normal mouse move events for windows 2023-03-17 22:03:06 -05:00
fallenoak
dbf840e6ad
chore(event): consolidate window and input functions 2023-03-17 21:57:05 -05:00
fallenoak
c2a5dd0568
feat(event): add os-specific mouse mode handling 2023-03-17 17:54:02 -05:00
fallenoak
73859890b1
feat(gx): use caps-defined shader profiles 2023-03-17 17:04:58 -05:00
fallenoak
92ba4b66ae feat(gx): force render state update when setting d3d defaults 2023-03-17 09:29:32 -05:00
fallenoak
c0bf0d58e0 feat(gx): set default d3d states after creating d3d device 2023-03-17 09:21:34 -05:00
fallenoak
6135d7c37b feat(event): wire up more mouse mode handling 2023-03-16 12:25:07 -05:00
fallenoak
2b791973b5 feat(event): process focus input 2023-03-15 23:54:59 -05:00
fallenoak
27cab4814c feat(event): handle WM_ACTIVATE event in window proc 2023-03-15 23:47:18 -05:00
fallenoak
e6b43f9758 fix(event): correct minor logic errors in windows message loop 2023-03-15 22:33:47 -05:00
fallenoak
b295c541e3 fix(event): include missing header 2023-03-15 20:03:05 -05:00
fallenoak
885eeeabd8 feat(event): implement OsInputGet for windows 2023-03-15 17:40:07 -05:00
fallenoak
788dde31ef feat(event): split out OsInputGet by platform 2023-03-15 16:58:55 -05:00
fallenoak
7dbb4af868 feat(gx): apply client area adjustments in d3d backend 2023-03-15 16:33:51 -05:00
fallenoak
69493f48ae fix(gx): use correct define for show window call 2023-03-15 16:12:55 -05:00
fallenoak
aecd79a57c feat(gx): adjust window for desired client area in d3d backend 2023-03-15 16:10:25 -05:00
fallenoak
98d75ca2e3 feat(event): handle WM_CLOSE event in window proc 2023-03-15 15:39:28 -05:00
fallenoak
aafbada709
fix(event): use correct types for window proc params 2023-03-15 15:24:14 -05:00
fallenoak
32f9c81abf
feat(event): pass custom window proc in gx device creation 2023-03-14 17:15:54 -05:00
fallenoak
9ccd1884f3
feat(gx): handle custom window proc in device creation 2023-03-14 16:49:01 -05:00
fallenoak
de0050d111 fix(gx): correct stub handler for WM_SIZING in d3d backend 2023-03-14 16:24:35 -05:00
fallenoak
7bda95494d feat(gx): handle WM_ACTIVATE in d3d backend 2023-03-14 16:20:43 -05:00
fallenoak
10e5fbb42b feat(gx): handle texture uv wrapping in d3d backend 2023-03-14 12:48:39 -05:00
fallenoak
3328134c58 fix(gx): preload all non-render-target textures in d3d backend 2023-03-14 08:34:22 -05:00
fallenoak
c057fa1bac
fix(gx): correct proj matrix shrink logic in gll backend 2023-03-13 01:21:34 -05:00
fallenoak
3b7978b84d feat(gx): add conditional shrink of proj matrix in d3d backend 2023-03-13 01:16:07 -05:00
fallenoak
91baaebd5b
feat(gx): set native projection matrix in d3d backend 2023-03-12 23:49:48 -05:00
fallenoak
8d36078606 feat(gx): implement window size queries in d3d backend 2023-03-12 00:38:36 -06:00
fallenoak
99691860d6 feat(gx): handle cull mode state in d3d backend 2023-03-12 00:23:40 -06:00
fallenoak
af59a58fa2 fix(gx): add missing break 2023-03-12 00:12:13 -06:00
fallenoak
6581142c64 feat(gx): handle blend mode state in d3d backend 2023-03-12 00:11:18 -06:00
fallenoak
56b24bfb3c feat(gx): implement scene clear in d3d backend 2023-03-11 16:56:47 -06:00
fallenoak
c0d256f0a0 feat(gx): handle scissor test render state in d3d backend 2023-03-11 16:40:05 -06:00
fallenoak
ddcbd5829d feat(gx): handle texture filter device states in d3d backend 2023-03-11 16:33:42 -06:00
fallenoak
d6cada50cd feat(gx): handle alpha ref render state in d3d backend 2023-03-11 16:20:42 -06:00
fallenoak
648468531f feat(gx): handle texture uploads in d3d backend 2023-03-11 15:57:46 -06:00
fallenoak
ffb121fe42 feat(gx): handle depth render states in d3d backend 2023-03-11 14:21:25 -06:00
fallenoak
5d80397fa6 feat(gx): handle depth device states in d3d backend 2023-03-11 13:03:50 -06:00
fallenoak
2c059ce55e feat(gx): handle alpha device states in d3d backend 2023-03-11 13:00:26 -06:00
fallenoak
756cb7e05a feat(gx): handle shader constants in d3d backend 2023-03-11 09:13:23 -06:00
fallenoak
434fba0e86 feat(gx): handle shader render state in d3d backend 2023-03-11 09:02:01 -06:00
fallenoak
69282c0c94 feat(gx): handle scene lifecycle in d3d backend 2023-03-11 08:59:17 -06:00
fallenoak
9a15edb6e4 feat(gx): partially handle size wm event in d3d backend 2023-03-11 00:09:06 -06:00
fallenoak
298590f52c
feat(gx): sync vertex buffers in d3d backend 2023-03-10 23:54:01 -06:00
fallenoak
6723f810ed feat(gx): sync index buffer in d3d backend 2023-03-10 16:13:18 -06:00
fallenoak
38380ebc35 feat(gx): stub out state sync for d3d backend 2023-03-10 16:06:24 -06:00
fallenoak
02ddaa106f
feat(gx): clean up draw calls across gll and d3d backends 2023-03-10 11:29:00 -06:00
fallenoak
d869c6d898
feat(gx): implement draw calls in d3d backend 2023-03-10 10:33:38 -06:00
fallenoak
34c7593ddb feat(gx): set texture target caps in d3d backend 2023-03-10 08:06:58 -06:00
fallenoak
9fe6bc9cd6
feat(gx): set supported texture formats in gx caps 2023-03-09 23:10:25 -06:00
fallenoak
907c3faf8f
feat(gx): remove placeholder gx caps (#45) 2023-03-09 22:29:33 -06:00
fallenoak
0e0b57fce9
feat(gx): set generate mipmaps caps flag in d3d backend 2023-03-09 22:02:32 -06:00
fallenoak
27583b6f2e
feat(gx): remove placeholder max tex size field from gx caps 2023-03-09 21:55:24 -06:00
fallenoak
5d49ab72c4
feat(gx): set d3d shader targets 2023-03-09 21:45:15 -06:00
fallenoak
f818d5f397
feat(gx): set caps in d3d backend 2023-03-08 17:34:49 -06:00
fallenoak
eeda61c2d9 fix(gx): reset buffer index when discarding 2023-03-07 23:26:27 -06:00
fallenoak
5d294c5c2b
feat(gx): load shaders in d3d backend 2023-03-07 23:00:32 -06:00
fallenoak
84cc5e998f
feat(gx): add buffer handling to d3d backend 2023-03-07 22:48:57 -06:00
fallenoak
45eecdc66f
feat(gx): handle texture render state changes in d3d backend 2023-03-07 17:03:52 -06:00
fallenoak
5738079891
feat(gx): add device states to d3d backend 2023-03-07 08:51:06 -06:00
fallenoak
dad7f47b1d
feat(gx): add ctor to CGxDeviceD3d 2023-03-07 00:18:44 -06:00
fallenoak
0419802663
feat(gx): handle texture creation in d3d backend 2023-03-07 00:03:03 -06:00
fallenoak
a490cc7be7
feat(gx): set hw accel flag on gx format 2023-03-06 22:57:59 -06:00
fallenoak
6758062643
chore(gx): use succeeded macro for d3d call result checks 2023-03-06 09:06:20 -06:00
fallenoak
c34ea0f30d
feat(gx): handle window messages in d3d backend 2023-03-06 08:44:13 -06:00
fallenoak
49237bf68d
fix(util): add missing initializer to CWOWClientStatus 2023-03-05 22:27:35 -06:00
fallenoak
765c782355
fix(util): pass nullptr when SFile::OpenEx fails 2023-03-05 22:23:46 -06:00
fallenoak
f6d768ac59
feat(gx): create d3d device in d3d backend 2023-03-05 19:49:29 -06:00
fallenoak
c05ac69273
fix(gx): add missing initialization for d3d backend 2023-03-05 17:28:36 -06:00
fallenoak
80388f0279
feat(gx): add window creation to d3d backend 2023-03-05 16:13:31 -06:00
fallenoak
2010aa8e4e
feat(gx): add initial d3d backend 2023-03-05 11:55:12 -06:00
fallenoak
45c1978a85
feat(gx): handle changes to texture wrap settings 2023-03-04 12:20:15 -06:00
fallenoak
2282b8a54a
chore(bc): switch BlizzardCore to bc lib 2023-03-04 11:29:25 -06:00
fallenoak
34bcb5c134
feat(net): handle remaining logic in NetClient:WCConnected 2023-02-26 13:09:39 -06:00
fallenoak
2a799ea0d2
feat(net): handle connect event in NetClient 2023-02-26 13:03:16 -06:00
fallenoak
431ed626c9
chore(net): clean up member visibility in NetClient 2023-02-25 17:28:04 -06:00
fallenoak
5e2c1e7769
feat(net): wire up polling loop for realm connections 2023-02-25 15:59:30 -06:00
fallenoak
cf6bc34657
feat(net): support adding events to the NetClient event queue 2023-02-25 13:56:08 -06:00
fallenoak
066e650958
feat(net): add initial handling for SMSG_AUTH_CHALLENGE 2023-02-25 13:46:29 -06:00
fallenoak
8e03d9e5dd
feat(net): implement message ready callback in NetClient 2023-02-24 19:41:39 -06:00
fallenoak
af2a47ae15
feat(net): handle connection message reads 2023-02-24 07:47:58 -06:00
fallenoak
59bf077bf8
feat(glue): handle UpdateSelectionCustomizationScene script function 2023-02-22 21:37:37 -06:00
fallenoak
4b662e6844
chore(gx): add assertions to CBLPFile::Open 2023-02-21 19:47:02 -06:00
fallenoak
728ad2242d
feat(ui): handle border colors in backdrop generator 2023-02-21 17:39:04 -06:00
fallenoak
1a4022eb31
feat(gx): use crappy green default for textures that fail to load 2023-02-21 17:10:01 -06:00
fallenoak
d889a02083
fix(gx): use correct ordering when closing and nulling font face self reference 2023-02-21 16:00:19 -06:00
fallenoak
b0dbad7557
feat(gx): enable additional GLMipmap assertion 2023-02-21 15:02:48 -06:00