]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
(WIP) cmd: Reimplement console buffer system as a linked list
authorCloudwalk <cloudwalk009@gmail.com>
Mon, 3 Aug 2020 19:26:06 +0000 (15:26 -0400)
committerCloudwalk <cloudwalk009@gmail.com>
Mon, 3 Aug 2020 19:26:06 +0000 (15:26 -0400)
commita3226e770b06cd73895a0ff68146ff8b244976a9
tree1fba5a464cda4a0983f5f6e228e5b27efd314e76
parent8b93b0da800bec7a9b68976fbdce95bc34e09343
(WIP) cmd: Reimplement console buffer system as a linked list

This has several advantages, namely, multiple command interpreters
may share the same console buffer on the same thread, and each
command can be executed in order, eliminating any potential bugs
related to that.

Things left to do:

* Merge deferred commands into the same system and reenable
  the defer command.
* Use a cyclic doubly linked list instead of the garbage I
  wrote.
cl_demo.c
cmd.c
cmd.h
host.c
quakedef.h
sys_shared.c