Ricardo Luís Vaz Silva
7dfb5ff70a
fix unsigned comparison in keysections.cpp
2025-06-18 03:52:23 -03:00
Kevin Caccamo
ba050c112e
Remove useless if statement
...
If conf is at eof, linePos and command.Size() will be 0, and the other statements will not run due to eof checks and pointer checks
2025-06-16 14:45:59 -03:00
Kevin Caccamo
0835fe0eab
Fix code style
...
Make code style consistent with the rest of the code
2025-06-16 14:45:59 -03:00
Kevin Caccamo
9a2fd53f1d
Remove dereferences of comment + 1
...
If a line ends with a single slash, then you'll get an invalid read
2025-06-16 14:45:59 -03:00
Kevin Caccamo
f9536ec918
Fix some things I overlooked
...
Remove some useless lines of code which may cause a read error
Fix the casing of linepos variable
2025-06-16 14:45:59 -03:00
Kevin Caccamo
6f1422aec5
Attempt to fix KEYCONF reader memory issues
...
Fix Windows-style line-ending assumptions
Make inQuote a bool, since that's how it's used
Make pointer usage smarter
Add more eof checks, since ASan builds will crash without them
Use a better name than 'i'
Properly truncate ini names of key sections
2025-06-16 14:45:59 -03:00
Christoph Oelckers
e81d563cf4
made FCommandLine::operator[] return a const char * and fixed two places where this triggered a compile error.
2024-10-19 13:22:30 +02:00
Kevin Caccamo
c03b272062
Fix some minor KEYCONV and VOC memory issues
2024-04-20 09:47:05 +02:00
Christoph Oelckers
fe106d9bfe
merge FileData and ResourceData.
2023-12-14 17:22:29 +01:00
Christoph Oelckers
7a5a2858a2
yet even more GetChars calls added.
2023-10-07 23:29:24 +02:00
Christoph Oelckers
ebb71cebf1
- put the entire filesystem code into a namespace and created some subdirectories.
2023-08-22 22:54:54 +02:00
Christoph Oelckers
2c2bf0265f
- refactored all places which treated FileData as zero terminated.
2023-08-22 22:54:53 +02:00
Christoph Oelckers
a0d679b84b
- FileData cleanup and uncoupling from FString.
...
Work is still needed to allow this to use the lump cache directly because some decisions in the past made this data padded by a zero byte.
2023-08-22 22:54:52 +02:00
Ed the Bat
88674b5ea0
Prevent Keyconf from adding duplicate playerclass
2022-08-17 21:12:10 +02:00
Rachael Alexanderson
5f9377ae2a
Merge commit 'refs/pull/980/head' of https://github.com/coelckers/gzdoom
...
# Conflicts:
# wadsrc/static/menudef.txt
2020-08-25 11:32:10 -04:00
Christoph Oelckers
475f740058
- moved base menu code to "common".
2020-06-13 23:04:10 +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
Ed the Bat
001df17daa
Optional override for SetSlot and ClearPlayerClasses
...
With this, a decade-long struggle can now be ended.
# Conflicts:
# wadsrc/static/language.csv
2019-11-26 09:58:53 -05:00
Christoph Oelckers
bf665961cc
- moved KEYCONF_only CCMDs out of play files.
2019-02-01 21:19:16 +01:00
Christoph Oelckers
32e5be83ea
- moved a few more files and copied the data related parts of p_things.cpp to g_doomedmap.cpp
2019-02-01 19:48:17 +01:00