Robert Müller
f0c74f72ba
Smooth console completion scrolling
2022-08-15 23:20:37 +02:00
Robert Müller
33bb576202
Show completion options for tune params in console
...
Currently supports `tune`, `tune_reset` and `toggle_tune`.
For `tune_zone` the tune name is the second argument, so this is more difficult to handle.
2022-08-11 10:11:03 +02:00
Robert Müller
047c88d797
Refactor console completion input handling according to upstream
2022-08-11 10:08:59 +02:00
Robert Müller
f3eb93b83a
Extend IConsole::PossibleCommands
, add index to callback
...
`PossibleCommands` now passes the item index to the callback and returns the total number of items.
Add `EmptyPossibleCommandCallback` as default parameter.
2022-08-11 10:08:06 +02:00
Robert Müller
54aff02286
Add success/error message to dump_(local|remote)_console
commands
2022-08-11 09:52:19 +02:00
heinrich5991
fa4bcd5ec0
Unify logging infrastructure between IConsole
and dbg_msg
...
This makes the "black console window" less important on Windows (or
anywhere else, for that matter), lets you see logs from other threads in
the f1 console, and removes the distinction between `IConsole::Print`
and `dbg_msg`.
2022-04-29 15:21:26 +02:00
heinrich5991
103b663662
Rename Act
→ Cur
, some "actual" → "current"
...
Seems like it got introduced by means of the false friend "actual" ≠
"aktuell" = "current".
2022-04-23 00:42:37 +02:00
heinrich5991
1820a0e168
Add some checksum functions to the client
...
Let's see if it works out, if not, we can revert it.
2022-01-31 21:31:26 +01:00
heinrich5991
9ef3c8c94a
Mark all component functions overrides with override
2022-01-31 00:53:12 +01:00
def
3f7befdd8b
Add some further readability checks, mostly redundancy
...
/media/ddnet/src/engine/server/databases/sqlite.cpp:232:55: warning: the address of ‘char* sqlite3_expanded_sql(sqlite3_stmt*)’ will never be NULL [-Waddress]
232 | if(m_pStmt != nullptr && sqlite3_expanded_sql != nullptr)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
2022-01-22 17:22:01 +01:00
Jupeyy
956afed264
Fix console line bug when resizing
2022-01-14 22:36:41 +01:00
def
f5eaf393da
Increase console backlog size from 64 KB to 1 MB
...
Can't even list all bot bans currently
2021-11-15 23:26:19 +01:00
Jupeyy
4af9bc7123
Fix mouse select position in console when using different page
2021-10-26 00:16:52 +02:00
Jupeyy
0d17665137
Revert "Add new mouse state"
...
This reverts commit e4cb348db2
.
2021-10-23 13:48:21 +02:00
Jupeyy
e4cb348db2
Add new mouse state
2021-10-07 16:48:25 +02:00
BloodWod-513
4317c43c6b
Console copy string
2021-09-15 19:47:01 +02:00
Jupeyy
4982f8536e
Fix shift + tab selecting second last index in console, player name chat & command chat
2021-09-14 13:15:09 +02:00
Jupeyy
8451775821
Make components member of CGameClient
2021-07-12 12:07:31 +02:00
Jupeyy
853e00ed15
More colors from chat in console
2021-03-08 01:20:28 +01:00
heinrich5991
7663641ed2
Fix some variable name's style
2020-11-08 17:15:48 +01:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
ChillerDragon
8a761bfedf
Add commands for switching pages in console
...
For now they were just hardcodet on page up and down keys.
The new command allows it to bind it for example on the f-keys for laptop users.
2018-06-03 11:48:08 +02:00
heinrich5991
1ebb4f89a6
Reopen: Add a flag for rcon login via username ( #800 )
...
This uses an extended protocol message to signal that rcon
authentication might require a username, allowing the client to enable
the username prompt.
Add a forgotten logout on key update
2017-07-24 21:43:55 +02:00
Learath2
cbb5891263
Introduce ugly workaround to allow empty usernames
2017-03-06 13:49:08 +01:00
Learath2
adfd6ca644
Enable the username prompt on client side
2017-03-02 18:16:50 +03:00
def
d570683b5a
TAB in console doesn't influence menu ( fixes #239 )
2015-07-24 01:28:19 +02:00
def
c004a352d2
Highlight in console
2014-12-20 13:37:11 +01:00
Wohoo-GC
3a2f078360
SHIFT+TAB invert completion order
2014-10-06 23:37:35 +02:00
GreYFoX
5b27758650
Removed level stuff
...
Removed client ID stuff
Removed console stuff
Resolved merge conflicts
Upgraded Banmaster
Cleaned up
2011-08-13 02:11:06 +02:00
GreYFoX
35d16bd58c
Merge branch 'master' of git://github.com/oy/teeworlds into DDRace0611
...
Conflicts:
src/engine/console.h
src/engine/server.h
src/engine/server/server.cpp
src/engine/shared/config_variables.h
src/engine/shared/console.cpp
src/engine/shared/console.h
src/engine/shared/network_server.cpp
src/game/client/components/console.cpp
src/game/client/components/console.h
src/game/client/components/menus_browser.cpp
src/game/client/gameclient.cpp
src/game/editor/editor.cpp
src/game/editor/editor.h
src/game/editor/io.cpp
src/game/editor/layer_tiles.cpp
src/game/editor/popups.cpp
src/game/gamecore.cpp
src/game/mapitems.h
src/game/server/entities/character.cpp
src/game/server/entities/laser.cpp
src/game/server/gamecontext.cpp
src/game/server/gamecontroller.cpp
src/game/server/gamecontroller.h
src/game/server/gamemodes/ctf.cpp
src/game/server/player.cpp
src/game/variables.h
2011-08-13 02:01:40 +02:00
oy
a0a62bcd70
fixed econ feature and tcp
2011-07-30 13:40:01 +02:00
oy
571dff6216
made rcon auto completion serverside. Closes #97
2011-07-14 22:07:21 +02:00
GreYFoX
0df6d0541f
Merge branch 'master' of git://github.com/oy/teeworlds into HEAD
...
Conflicts:
bam.lua
src/engine/console.h
src/engine/server.h
src/engine/server/server.cpp
src/engine/shared/config.h
src/engine/shared/config_variables.h
src/engine/shared/console.cpp
src/engine/shared/console.h
src/game/client/components/binds.cpp
src/game/client/components/chat.h
src/game/client/components/console.cpp
src/game/client/components/console.h
src/game/client/components/controls.cpp
src/game/client/components/emoticon.h
src/game/client/components/maplayers.cpp
src/game/client/components/menus.h
src/game/client/components/scoreboard.h
src/game/client/components/spectator.h
src/game/client/components/voting.h
src/game/client/gameclient.cpp
src/game/client/gameclient.h
src/game/client/render.h
src/game/collision.cpp
src/game/editor/ed_layer_tiles.cpp
src/game/gamecore.cpp
src/game/gamecore.h
src/game/layers.cpp
src/game/layers.h
src/game/mapitems.h
src/game/server/entities/character.cpp
src/game/server/entities/laser.cpp
src/game/server/entities/laser.h
src/game/server/entities/pickup.cpp
src/game/server/entities/pickup.h
src/game/server/entities/projectile.cpp
src/game/server/gamecontext.cpp
src/game/server/gamecontroller.cpp
src/game/server/gamecontroller.h
src/game/server/gameworld.cpp
src/game/server/gameworld.h
src/game/server/player.cpp
src/game/variables.h
2011-04-14 01:27:49 +02:00
oy
06115dd49d
added "Whitespace and line Endings cleanup" by GreYFoX
2011-04-13 20:37:12 +02:00
GreYFoXGTi
5d9ee1736e
made the code so it would have less conflicts in the future and Merged branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
data/languages/dutch.txt
data/languages/french.txt
data/languages/german.txt
data/languages/russian.txt
src/game/server/entities/flag.cpp
src/game/server/entities/flag.h
src/game/server/gamecontext.cpp
src/game/server/gamemodes/ctf.cpp
src/game/server/gamemodes/ctf.h
src/game/server/gamemodes/dm.cpp
src/game/server/gamemodes/dm.h
src/game/server/gamemodes/mod.cpp
src/game/server/gamemodes/tdm.cpp
src/game/server/gamemodes/tdm.h
2010-11-22 00:26:00 +02:00
Sworddragon
fc9211c777
Updated copyrights
2010-11-20 21:26:06 +01:00
GreYFoXGTi
a109e1150d
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
src/engine/shared/config_variables.h
src/game/client/components/console.cpp
src/game/client/gameclient.cpp
src/game/editor/ed_editor.h
src/game/server/gamecontext.cpp
2010-11-18 01:10:59 +02:00
oy
8351682edf
added constants for console types by Choupom
2010-11-17 13:01:46 +01:00
GreYFoXGTi
ddf2883cb2
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
src/engine/client/client.cpp
src/engine/server/server.cpp
src/engine/shared/console.cpp
src/game/server/gamecontext.cpp
2010-10-16 21:59:59 +02:00
oy
5f7efb465e
optimised console rendering a bit
2010-10-16 10:32:56 +02:00
GreYFoXGTi
d8e6cfcbdd
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
data/languages/french.txt
src/engine/client/client.cpp
src/engine/server/server.cpp
src/game/server/gamecontext.cpp
2010-10-11 03:56:58 +02:00
oy
5754812dea
clear history of the remote console on disconnect and cleaned up some old stuff in console.cpp
2010-10-11 00:30:56 +02:00
btd
909c583d96
End merge
2010-08-26 00:30:21 +04:00
oy
a5113c6740
added commands to dump the output of the consoles into a file
2010-06-20 14:12:59 +02:00
oy
e2c3f744b2
added commands to clear the consoles. Closes #104
2010-06-19 20:51:54 +02:00
oy
b790634a2d
scroll the possible commands in the console's tab completion if the wanted one is out of sight. Closes #105
2010-06-19 13:48:01 +02:00
oy
a41d930a85
fixed some compiler warnings. Closes #76
2010-06-06 17:16:52 +02:00
Magnus Auvinen
72c06a2589
copied refactor to trunk
2010-05-29 07:25:38 +00:00