Christoph Oelckers
ef7a7cc39d
- moved console command line buffer tab completion into their own files.
...
- layout fixes in load/save menu and confirmation screen.
2020-10-16 22:57:30 +02:00
Christoph Oelckers
504f85e6d4
- moved date code to its own file.
2020-10-16 22:57:27 +02:00
Rachael Alexanderson
e2e176e0be
- remove old 'mouse_sensitivity' cvar completely, it's no longer needed
...
- update defcvars parser so it no longer looks for it
2020-09-30 01:05:37 -04:00
Christoph Oelckers
700304bf46
- update of console code.
...
Backports con_pulsetext and toggle messages for CVARs from Raze.
2020-09-27 09:35:06 +02:00
AFADoomer
e9af7e7096
Add string table lookup to SECRETS lump handling
...
- If the hint text portion of a STRINGS lump entry begins with a '$', the value is treated as a string table lookup
Allows SECRETS strings to be translated via LANGUAGE lump. Reference: https://forum.zdoom.org/viewtopic.php?f=15&t=69827
2020-09-11 08:36:24 +02:00
alexey.lysiuk
fb20730960
- fixed compilation warnings introduced recently
...
src/console/c_cmds.cpp:690:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
src/scripting/vmthunks.cpp:2698:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
2020-08-29 10:36:29 +03:00
3saster
5803b78147
Implemented Clock Class ( #977 )
...
* Simplified some stuff, made up-to-date
* Dealt with DST problems
* Made SystemTime.Format clearscope, as there is no reason for this function to be limited to the ui
2020-08-27 12:43:50 -04:00
Christoph Oelckers
90befff479
- moved out the Doom specific parts from menu.cpp and messagebox.cpp.
2020-06-13 22:43:35 +02:00
Christoph Oelckers
ddef3f7b98
- made video base code game independent
2020-04-28 22:54:53 +02:00
Christoph Oelckers
c7db5b932e
- switched the entire status bar code to use FGameTexture.
...
- scale the automap parchment to clean 320x200 dimensions.
2020-04-19 10:57:45 +02:00
Christoph Oelckers
ce4c2be3c7
- use the 2d drawer's size where appropriate.
2020-04-11 20:20:58 +02:00
Christoph Oelckers
b18faacab0
- 2D drawer cleanup.
2020-04-11 20:20:58 +02:00
Christoph Oelckers
932f5c64c2
- moved stats.cpp to common.
2020-04-11 20:20:57 +02:00
Christoph Oelckers
933c1f6403
- moved dumpactors CCMD out of dobject.cpp.
2020-04-11 20:20:52 +02:00
Christoph Oelckers
f8e9cb8fbc
- major dependency reduction of the texture system.
2020-04-11 20:20:37 +02:00
Christoph Oelckers
4af96bab47
- some cleanup on music code.
...
* change the license of the main file because there is no more id-based code here licensed under the GPL.
* moved VM interface definition out of the implementation.
* moved idmus CCMD out of implementation because it is dependent on Doom level definitions.
* moved s_music.cpp into the music folder with the rest of the music code.
2020-04-11 20:19:54 +02:00
Christoph Oelckers
db62aeb671
- c_cmds is not 'common'.
2020-04-11 20:19:52 +02:00
Christoph Oelckers
c3a381ed92
- moved most of the console code to 'common'.
...
The main console.cpp file cannot be done yet, but the rest is ready to go.
2020-04-11 20:19:51 +02:00
Christoph Oelckers
a712866219
- split out non-game specific CCMDs into their own file.
2020-04-11 20:19:51 +02:00
Christoph Oelckers
8dacdf2951
- use an array to store the buttons.
...
This puts a lot less knowledge about the game's features into the low level code.
2020-04-11 20:19:50 +02:00
Christoph Oelckers
0e7480b4ed
- moved the file lookup functions to utilities.
...
# Conflicts:
# src/common/utility/findfile.cpp
2020-04-11 20:19:50 +02:00
Christoph Oelckers
5dd89541fe
- made console notification scrolling independent of the global game ticker variable.
2020-04-11 20:19:25 +02:00
Christoph Oelckers
d7a9bdc858
- moved key definitions to their own header.
...
- moved VM hooks to vmthunks.cpp.
- header cleanup for c_bind.h to avoid including high level game definitions.
2020-04-11 20:19:25 +02:00
Christoph Oelckers
756a743974
- uncouple console's cursor blinking from the game ticker.
...
This is now done in real time by the drawer.
2020-04-11 20:19:25 +02:00
Christoph Oelckers
31fbff85f4
- c_dispatch header cleanup and splitting of gamestate into a separate header, to avoid polluting low level code with game specific headers.
2020-04-11 20:19:25 +02:00
Christoph Oelckers
b7ff7302e5
- copied some CCMD improvements from Raze
...
* no longer uses copystring function.
* ability to dynamically register CCMDs.
2020-04-11 20:19:24 +02:00
Christoph Oelckers
d63a6baa5d
- removed the 'caller' parameter from the CCMD dispatcher.
...
This can never be anything but players[consoleplayer].mo, so there is no need to pass it through the interface.
2020-04-11 20:19:24 +02:00
Christoph Oelckers
603ad755ab
- separated the button code from c_dispatch.
...
Two separate features justify two separate files.
2020-04-11 20:19:24 +02:00
Christoph Oelckers
4a50f78bfe
- more work on console code.
2020-04-11 20:19:24 +02:00
Christoph Oelckers
76db26ee0b
- split off the console's command line class into its own file.
2020-04-11 14:00:22 +02:00
Christoph Oelckers
e425615770
- moved the V_GetColor family of functions to the global palette utilities.
2020-04-11 14:00:22 +02:00
Christoph Oelckers
1479e3a1c3
- CVAR cleanup, in particular decoupling from game internals, which now get handled via callbacks.
2020-04-11 14:00:22 +02:00
Christoph Oelckers
05d8856fe0
- moved file system implementation to 'common'.
2020-04-11 14:00:20 +02:00
Christoph Oelckers
80c6d5b276
- renamed more stuff and also moved the Strife teaser voice handling out of the file system.
2020-04-11 14:00:19 +02:00
Christoph Oelckers
c1bb7de23a
- more file system refactoring.
...
* moved the sprite renaming out of the file system entirely into a caller-provided callback.
* renamed several functions to closer match the terms of a file system.
* moved the VM interface out of the implementation.
2020-04-11 14:00:19 +02:00
Christoph Oelckers
6bccde3b51
- renamed the file system related classes to actually use the term "FileSystem".
2020-04-11 14:00:18 +02:00
Christoph Oelckers
fdc14ca805
- renamed fullscreen CVar internally to vid_fullscreen to make searching for it easier.
...
The word 'fullscreen' appears a bit too frequently in the source.
2020-04-11 14:00:15 +02:00
Christoph Oelckers
fb1a7679ec
- moved most basic utility code without any dependencies on the rest of the engine to 'common' directory.
...
Again the objective is easier sharing with Raze.
2020-04-11 14:00:13 +02:00
Christoph Oelckers
ace3e29473
- removed the implicit conversion operators from FName.
...
These were creating dangerous interdependencies. It is better to do explicit conversions when needed.
As an added plus, this means that zstring.h no longer depends on name.h which was very annoying.
2020-04-11 14:00:13 +02:00
Christoph Oelckers
6996d54a23
- moved more code to 'common'.
...
This is all low level utilities with no dependencies on game logic. Having this in a separate directory makes sharing with Raze a lot easier.
2020-04-11 14:00:12 +02:00
Christoph Oelckers
669e8fbe48
- started some reorganization of low level utility code by moving all third party dependencies to a separate place.
2020-04-11 14:00:12 +02:00
Christoph Oelckers
b0ecb02d6b
- move SuperFastHash to its own set of files, instead of having this tied to the console.
...
- replace swapvalues with std::swap globally.
- added some additions to utility code from Raze, mainly to reduce file content differences.
- reduced some unused utilities
2020-04-11 14:00:10 +02:00
Christoph Oelckers
c623b04170
- copied some fixes for overlong config entries from Raze.
...
- renamed basictypes.h to basics.h to keep the file name in line with Raze and make comparisons easier.
2020-04-11 14:00:08 +02:00
Christoph Oelckers
58afc3d5b2
- added some utilities to cmdlib.cpp and changed its license to BSD, because no original Quake code is left here.
2020-04-11 14:00:08 +02:00
Christoph Oelckers
3113c6b69b
- removed 2 redundant string copies in CCMD code.
2020-04-11 14:00:08 +02:00
Alexander Kromm
7973ab9c6b
make nosave standalone CVar flag, alongside server and user
2020-01-16 17:52:58 +01:00
Alexander Kromm
f85e3fb9a0
make nosave cvars set their value bypassing network code
...
This may look as a workaround, it is not.
nosave cvars are meant to be used as a storage for statistical data that doesn't
affect gameplay. That's why this data isn't saved to the savefile in the first
place. Therefore, there is no point in sending this data over network. It would
have no meaning on machines other than local.
2020-01-14 15:50:20 +01:00
Christoph Oelckers
e3eae62af2
- store CVARs non-destructively in savegames.
...
The old method using a single string with a backslash as separator is unable to handle anything with actual backslashes in the data.
It now uses a JSON object with each CVAR being a separate key.
2020-01-12 12:59:08 +01:00
Alexander Kromm
eeddd72458
fix nosave cvar keyword (saved to config, not saved to savegame)
2020-01-06 12:07:07 +01:00
Rachael Alexanderson
0d60a0f4ea
- bump version requirement to 219 for defcvars
2019-12-31 23:49:44 -05:00