Commit Graph

320 Commits

Author SHA1 Message Date
Phaneron
9c3bc2203d
Merge pull request #1 from superp00t/feat-event-implement-sync-key-state
feat(event): implement synchronous key and mouse state tracking
2023-08-15 23:52:38 -04:00
superp00t
f7bc2d96bf fix(command): C++11 doesn't have std::size, use sizeof 2023-08-15 03:58:53 -04:00
superp00t
2e0df837a9 fix(command): include <vector> for std::size function 2023-08-15 03:46:39 -04:00
superp00t
f760dd45f1 fix(command): fix enums and make functions nonstatic 2023-08-15 03:39:39 -04:00
superp00t
37460378a8 feat(console): toggle console access based on -console flag 2023-08-14 23:00:04 -04:00
superp00t
04e625f6a7 tidy(client): split CmdLine functions into separate files 2023-08-14 22:57:31 -04:00
superp00t
b408818e74 feat(client): process command-line arguments in InitializeGlobal() 2023-08-14 17:03:02 -04:00
superp00t
b92c658dd0 feat(app): parse command line arguments at launch on Unixlikes 2023-08-14 16:29:21 -04:00
superp00t
3ee7e489aa feat(event): implement synchronous key and mouse state tracking 2023-04-29 23:12:53 -04:00
fallenoak
df1ab32267
feat(console): animate console open and close 2023-04-17 22:44:44 -05:00
Tristan 'Natrist' Cormier
56092c6700
feat(console): partially implement console key down handler 2023-04-17 21:10:10 -05:00
fallenoak
884e491b25
chore(ui): clean up script handlers for CScriptObject 2023-04-17 18:15:40 -05:00
fallenoak
bc1ce52f7d
chore(gx): use uint32_t union member in CGxStateBom when appropriate 2023-04-17 16:52:11 -05:00
fallenoak
58272f1212
chore(gx): clean up function declarations in GLDevice 2023-04-17 12:16:38 -05:00
fallenoak
01ca76788c
chore(gx): clean up member function declarations in CGxMatrixStack 2023-04-15 21:23:03 -05:00
fallenoak
912d643e9c
chore(gx): add flag enum to CGxMatrixStack 2023-04-15 21:21:27 -05:00
Tristan 'Natrist' Cormier
3549abd87f
feat(console): add helpers for console hotkey 2023-04-15 16:33:17 -05:00
fallenoak
309ba8085c
feat(console): enable console access when initializing device 2023-04-15 16:14:15 -05:00
Tristan 'Natrist' Cormier
ef71ddc46e
feat(console): add helpers for console access enabled state 2023-04-15 16:03:58 -05:00
Tristan 'Natrist' Cormier
092ba0f881
feat(console): add helpers for console active state 2023-04-15 14:40:07 -05:00
fallenoak
d67e13087a
feat(gx): sync viewport in d3d backend 2023-04-15 13:56:49 -05:00
fallenoak
37996fa79c
feat(gx): set marker when viewport changes 2023-04-15 12:36:57 -05:00
fallenoak
5174970b24
feat(gx): sync projection and view xforms in d3d backend 2023-04-15 12:14:33 -05:00
fallenoak
c0e623d02b
feat(gx): add const getter for top of matrix stack 2023-04-15 10:32:07 -05:00
fallenoak
4a1101bd7d
feat(gx): stub ffp state syncing in d3d backend 2023-04-15 10:04:29 -05:00
fallenoak
36fa30eba8
feat(gx): add equality operator to CGxStateBom 2023-04-15 09:16:59 -05:00
fallenoak
317d94cd1a
feat(gx): handle projection and view matrices in GLL backend 2023-04-14 08:02:40 -05:00
fallenoak
eb70607750
fix(gx): only change vertex array FFP state for used attrib slots 2023-04-14 07:45:19 -05:00
fallenoak
eddc6f7f4a
fix(gx): correct off-by-one error when popping render states 2023-04-11 00:24:59 -05:00
fallenoak
dfb7fb0270
feat(gx): add FFP support for vertex arrays in GLL 2023-04-11 00:23:06 -05:00
fallenoak
30964bf827
fix(gx): walk dirty states backward when syncing 2023-04-09 22:41:02 -05:00
fallenoak
ecf0c43e70
feat(console): register event handlers for console 2023-04-09 22:40:32 -05:00
fallenoak
cfd7aff536
fix(console): correct alpha value for console background 2023-04-09 12:58:43 -05:00
fallenoak
134d85bce6
feat(console): add background drawing for console 2023-04-08 23:10:53 -05:00
fallenoak
43f6d1f3cd
fix(gx): set remaining values in ortho proj matrix 2023-04-08 23:03:09 -05:00
fallenoak
6b4c5e9179
feat(console): initialize console screen 2023-04-07 23:06:08 -05:00
fallenoak
0003d5bd4b
chore(gx): tweak style in GxPrimVertexPtr 2023-04-07 14:46:08 -05:00
Phaneron
1ef7d46ba3
feat(gx): add locked vertex drawing functions 2023-04-07 14:40:32 -05:00
fallenoak
889395a79a
feat(gx): add buf data helper function 2023-04-06 15:00:16 -05:00
fallenoak
4a1b84ad57
fix(gx): correct GxScenePresent behavior 2023-04-06 12:22:04 -05:00
fallenoak
82ad7bb442
feat(glue): partially implement glue reloading 2023-04-06 11:18:29 -05:00
fallenoak
55a3bacbd0
feat(net): handle connect callback in client connection 2023-04-04 00:28:12 -05:00
fallenoak
1b27761d0c
feat(client): implement auth response handler in realm adapter 2023-04-03 23:34:31 -05:00
Tristan 'Natrist' Cormier
23d537103e
feat(console): partially implement console command functions 2023-04-03 23:33:46 -05:00
fallenoak
e18afec28d
feat(net): handle SMSG_AUTH_RESPONSE 2023-04-03 18:00:51 -05:00
fallenoak
6479dcaecf
chore(console): split out console device functions 2023-04-02 08:37:11 -05:00
Tristan 'Natrist' Cormier
9d0487c8ce
chore(console): move console functions out of client 2023-04-02 08:06:40 -05:00
fallenoak
7beaf8d992
fix(screen): build layer visibility rects in correct order 2023-04-01 08:24:27 -05:00
fallenoak
6e48b775aa
feat(gx): add setter for screen layer rect 2023-03-31 15:19:03 -05:00
fallenoak
fad901796c
chore(gx): clean up screen stock initialization 2023-03-31 13:16:45 -05:00
fallenoak
21c2484809
chore(gx): clean up screen declarations 2023-03-31 13:09:30 -05:00
fallenoak
ee1d46db19
chore(build): remove unused includes 2023-03-31 12:03:37 -05:00
Tristan 'Natrist' Cormier
8e61a4c428
feat(event): add EventGetCurrentContext and EventPostClose 2023-03-31 11:39:33 -05:00
fallenoak
e7780e67fb
feat(gx): wire up screen regions in OnPaint 2023-03-30 17:11:19 -05:00
fallenoak
aeade5b085
chore(build): update libs 2023-03-27 17:46:26 -05:00
Tristan 'Natrist' Cormier
6f52a6287d
chore(console): split out console library 2023-03-25 09:56:41 -05:00
fallenoak
ea79f5de1d
feat(net): handle encryption on message sends 2023-03-24 16:54:38 -05:00
fallenoak
391e299865
fix(event): place new handler in correct position in handler list 2023-03-23 23:55:39 -05:00
fallenoak
1d28c06104
feat(net): invoke message handlers from NetClient 2023-03-23 23:28:44 -05:00
fallenoak
5d11881372
feat(net): handle realm server auth challenge 2023-03-23 23:01:11 -05:00
fallenoak
1246a5a4da
feat(util): add HMAC-SHA1 utility function 2023-03-23 22:56:59 -05:00
fallenoak
fc622cceed
feat(net): add LoginData getter to NetClient 2023-03-23 17:02:00 -05:00
fallenoak
0a35f03b29
feat(net): add send message support to NetClient 2023-03-23 17:01:27 -05:00
fallenoak
d35101546e
chore(net): clean up connection message reading loop 2023-03-23 13:14:59 -05:00
fallenoak
e65956486e
fix(net): include missing header and fix type 2023-03-22 12:54:42 -05:00
fallenoak
0d30ba07ca
feat(net): implement message sending in WowConnection 2023-03-22 12:43:05 -05:00
fallenoak
497520e672
feat(net): finish basic networking support for windows 2023-03-21 16:39:15 -05:00
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