Andrey Akhmichin
3287501f97
engine: client: simplify strings operations.
2022-12-04 22:04:07 +03:00
Alibek Omarov
4b05cf4399
engine: client: better fix for notify debug messages, rely on host.allow_console variable to don't allow uninitialized console usage
2022-08-31 02:46:33 +03:00
Alibek Omarov
28001ea150
engine: client: enable notify messages in non-developer mode
2022-08-28 00:48:12 +03:00
Alibek Omarov
1d558b33d6
engine: client: don't let set unsupported con_charset
2022-08-13 00:58:45 +03:00
Alibek Omarov
64eb0a694d
engine: client: also drop loading plaque on toggleconsole, in case if it's stuck
2022-06-29 18:58:07 +03:00
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
2022-05-25 03:50:06 +03:00
Alibek Omarov
aa5594d11f
engine: client: don't let servers clear console
2022-01-14 00:03:05 +03:00
Alibek Omarov
4ae608913b
console: fix Home and End buttons or equivalent hotkeys to always set start or end of input buffer
2022-01-04 03:01:59 +03:00
Alibek Omarov
3351ecd754
console: ignore whitespace commands on history, ignore backslash
2022-01-04 02:31:07 +03:00
Alibek Omarov
46fd27eb14
console: remove prepending backslashes
...
This is a leftover from Quake, where the console and chat were
in fact same entity. Because Xash splits it, there is no need
in prepending backslashes to separate commands from chat messages
2022-01-04 02:14:34 +03:00
Alibek Omarov
947b94d29f
engine: client: delete unused test data :)
2021-12-31 04:10:06 +03:00
Alibek Omarov
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
2021-12-31 03:49:11 +03:00
Alibek Omarov
4f89288ccf
common: cleanup port.h
2021-12-23 19:17:11 +03:00
Alibek Omarov
c6648a69ba
engine: client: protect messagemode from command injection too
2021-11-23 05:23:38 +03:00
Владислав Сухов
c9e4912a2a
client: backport con_fontnum from old engine
2021-10-12 13:43:23 +03:00
Alibek Omarov
013918a371
console: redefine con_color as cvar
2021-08-27 17:05:02 +03:00
SNMetamorph
c4ef42009c
engine: client: fixed height argument writing in Con_DrawStringLen
2021-07-31 01:23:56 +03:00
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
2021-07-20 16:03:06 +03:00
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
Alibek Omarov
0db1a7743d
engine: try to fix -Wmaybe-uninitialized that may be enabled with -Wuninitialized. Diagnostic is prone to false-positives, as compiler don't have enough data for this
2020-05-12 02:00:34 +03:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
Alibek Omarov
154dd5c9ae
engine: console: temporarily disable updating screen when something is printed to console, because it can mess up with textures
2019-12-03 02:17:12 +03:00
mittorn
bb48e5209e
console: fix wrong line width on start, remove some hard-coded sizes
2019-10-28 12:14:19 +07:00
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
2019-10-26 07:06:26 +07:00
Alibek Omarov
fa622168a0
engine: fix style, disable XASH_USE_SELECT
2019-10-11 08:51:30 +03:00
Alibek Omarov
d2a8cfe614
Revert "engine: client: implement connectionprogress partially"
...
This reverts commit cb417a3d51
.
This commit breaks demo playback. Figure out why, then revert it back.
2019-10-06 07:45:32 +03:00
Alibek Omarov
cb417a3d51
engine: client: implement connectionprogress partially
2019-08-08 07:19:08 +03:00
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
Alibek Omarov
4beba75159
engine: fix various compiler warnings
2019-07-13 23:25:03 +03:00
Alibek Omarov
f2c927906f
Merge 4511 update
2019-06-17 07:36:46 +03:00
Alibek Omarov
b797e0af1a
Merge 4483 update
2019-05-25 02:44:24 +03:00
Alibek Omarov
4819790272
engine: console: fix invalid REF_GET_PARM call
2019-05-11 18:52:32 +03:00
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
2019-05-02 19:12:23 +03:00
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
2019-04-15 01:43:43 +03:00
mittorn
ca3913cd88
fix windows build
2019-03-30 00:43:49 +03:00
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
2019-03-22 16:36:46 +03:00
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
2019-03-15 21:23:59 +03:00
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
Alibek Omarov
b8c4c31e02
Merge 4344 update
2018-12-30 01:51:02 +03:00
mittorn
17b0c23f2e
Show engine arch in version
2018-12-06 04:28:19 +07:00
mittorn
4b58b0b168
Fix console background aspect ratio
2018-12-06 03:00:39 +07:00
a1batross
f173ce11f7
console: fix version drawn all the time which engine runs
2018-11-29 20:43:53 +03:00
Alibek Omarov
edde871eb5
console: fix console font scale for Quake I fonts, fix drawing arrows in console for Quake I
2018-11-17 01:26:57 +03:00
Alibek Omarov
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
Alibek Omarov
48d1aa5115
engine: fix warnings
2018-10-06 03:42:09 +03:00
mittorn
b0c077ccf8
Persistent console history
2018-10-04 18:10:12 +07:00
mittorn
a0f0eca77c
Backup console input when using history
2018-10-04 16:38:39 +07:00
mittorn
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
Alibek Omarov
f15e2c2dcf
Move command autocomplete to common engine files, as it used by Wcon and may be used by curses console in future
2018-06-14 21:19:04 +03:00
Alibek Omarov
f26ac52102
Merge 4140 update
2018-06-11 14:04:50 +03:00