Commit graph

56 commits

Author SHA1 Message Date
electricbrass
5ede102bf1 upversion to version 12.1.0 2026-01-05 01:52:47 +00:00
Mia McMahill
da9b3fc1ac Account for new iwads in ifgame 2025-12-04 13:57:54 -06:00
Mia McMahill
1c5499dd54 Merge branch 'protobreak' into dsdhacked-merge 2025-04-07 22:01:07 -05:00
Mia McMahill
dc2641aa8b Merge branch 'protobreak' into dsdhacked-merge 2025-03-18 22:03:17 -05:00
Mia McMahill
eea7a97149
Merge branch 'stable' into hashtable-update 2025-03-02 00:54:33 -06:00
Christian Bernard
5624b08340 Merge remote-tracking branch 'origin/protobreak' into feature/dsdhacked-2021 2025-03-01 07:52:38 -08:00
Mia McMahill
65ecaf42c9 Merge branch 'stable' into modern-iteration 2025-02-28 20:30:29 -06:00
Mia McMahill
15b8ce6111
Merge branch 'stable' into hashtable-update 2025-02-28 20:24:02 -06:00
bcahue
0f65665ba8 upversion to 12 2025-02-27 23:40:28 -05:00
Mia McMahill
89da44eb29 Add emplace method to OHashTable and allow storing unique_ptrs 2025-02-12 17:01:12 -06:00
Mia McMahill
465517c8ef Use structured binding in more places 2025-02-07 13:04:31 -06:00
bcahue
443a89dc2a upversion to version 11.0.0 2025-01-12 01:41:21 +00:00
Christian Bernard
565988fa1f Fix issue with odamex wad command causing crash on startup. Tie all backup data structures for dsdhacked into a struct and remove static lifetime as it was causing issues on re-initialization during doom reboot wad. Add code to free doom object data structures if initialize is called again. 2024-12-05 08:48:14 -08:00
bcahue
8155ebe7de allow netbsd and its children to have a proper endianness check on crc32.cpp 2024-09-23 23:20:12 -04:00
Alex Mayfield
93caf6fd59 Hoist some c stdlib headers into odamex.h 2021-09-14 22:55:09 -04:00
Alex Mayfield
9196042c57 Get rid of headers that are included in odamex.h headers 2021-09-14 21:45:02 -04:00
Alex Mayfield
0fc2586738 Bring in doomdef and doomstat 2021-09-14 20:38:35 -04:00
Alex Mayfield
0743398a4c Add a universal "odamex.h" header
This header goes at the top of every TU.
2021-09-14 20:09:20 -04:00
Alex Mayfield
a18f2787be Initial stab at fixing DEH string replacements
Lots of little fixes that add up to something big.  We basically now
load all deh patches followed by all WAD patches, and do DEH string
matches against the english language strings only.
2021-04-24 18:51:58 -04:00
Alex Mayfield
8dfbdf12e3 Add support for $ifgame in LANGUAGE
D4V's LANGUAGE lump works now.
2021-01-24 17:36:22 -05:00
Alex Mayfield
a65d67c809 Use the right method to clear the stringtable hash 2020-05-09 11:06:23 -04:00
Alex Mayfield
42a9867a09 Squash strncpy warning 2020-05-09 10:47:18 -04:00
Alex Mayfield
05ca771b3e Fix pass comparison
Now other languages actually work.
2020-05-08 23:38:08 -04:00
Alex Mayfield
e1ab4b80bd Get rid of extra check in setPassString 2020-05-08 21:32:39 -04:00
Alex Mayfield
93427e4e13 Implement "pass" system
Allows LANGUAGE lumps in PWAD's to override odamex.wad strings.
2020-05-08 20:44:39 -04:00
Alex Mayfield
bd9542e625 Format 2020-05-08 19:42:51 -04:00
Alex Mayfield
088e19e509 Replace escapes 2020-05-08 19:38:49 -04:00
Alex Mayfield
2476f8d5e2 Replace uint32 code with string code
Much easier to follow and understand.
2020-05-08 18:39:24 -04:00
Alex Mayfield
11423c9f0c Avoid a needless separate vector for indexes
We already have an array, why bother with a vector?
2020-05-07 23:34:00 -04:00
Alex Mayfield
18b1298ccb Fix up indexes and related bugs 2020-05-07 23:09:06 -04:00
Alex Mayfield
85bf2487f7 Bugfixes 2020-05-07 19:32:41 -04:00
Alex Mayfield
590f88d81d Add some const 2020-05-07 19:17:02 -04:00
Alex Mayfield
c080750406 Fix getIndex, add stringinfo ccmd 2020-05-07 19:03:27 -04:00
Alex Mayfield
1ef815e001 Don't set an already-set string in LANGUAGE init 2020-05-07 17:59:28 -04:00
Alex Mayfield
39cb8ff8e6 Fix mixed-up continue/break 2020-05-07 12:15:40 -04:00
Alex Mayfield
65fdcc7b10 Use make_pair 2020-05-06 20:07:08 -04:00
Alex Mayfield
f4cf4e36b0 Move indexes into main stringtable 2020-05-06 19:52:22 -04:00
Alex Mayfield
f749d708b1 Implement match and set string 2020-05-06 19:02:52 -04:00
Alex Mayfield
236e55a467 Convert enum to OStrings 2020-05-06 17:49:29 -04:00
Alex Mayfield
4a617d5bb3 Implement a basic unScan 2020-05-05 18:42:50 -04:00
Alex Mayfield
a510b18e84 Commit a new parser
I've been wanting to do this for a while.  It's not done, but I don't
want to keep putting it off.
2020-05-05 18:24:05 -04:00
Alex Mayfield
56c18599d9 WIP working on LANGUAGE v2
Need to figure out how to get the parser to allow ; as a token in some
cases.
2020-05-04 19:21:33 -04:00
Sean Leonard
6b8683e1ca Update copyright notices for year 2020 2020-04-01 09:44:09 -07:00
Sean Leonard
21ebbeba48 -Update the copyright information in the source file headers.
SVN r5302 (trunk)
2015-04-23 01:53:13 +00:00
rice
6b5633c8c7 - Fix more memory leaks
SVN r5184 (trunk)
2015-01-01 22:46:01 +00:00
Sean Leonard
31a8212627 -Fix a crash when loading a WAD/DEH that replaces strings.
SVN r4894 (trunk)
2014-05-22 03:21:17 +00:00
Sean Leonard
0d7ce28702 --Add functions D_Init and D_Shutdown to d_main.cpp for the client and server apps. These functions call all of the initialization and shutdown code needed when changing WAD files.
-D_DoomMain now calls D_Init and registers D_Shutdown to be called at program exit.
-Refactor and simplify D_DoomMain.
-Call C_NewModeAdjust instead of C_InitConsole when reinitializing the console due to a video mode change (or WAD change).
-Make ylookup and columnofs arrays of a fixed size (MAXHEIGHT and MAXWIDTH respectively).
-Make the FStringTable class no longer relient on the Zone memory system being initialized.
-Remove some unused code in the server console.

SVN r4873 (trunk)
2014-05-17 00:00:00 +00:00
Sean Leonard
5261ff251d -Fix handling of unsupported LANGUAGE lumps so that plain-text LANGUAGE lumps (ZDoom 2.0.97 and above) do not cause an I_FatalError.
-Attempting to access an unknown string ID no longer causes a crash. FStringTable::operator() simply returns an empty cstring.

SVN r4771 (trunk)
2014-04-12 17:25:27 +00:00
Sean Leonard
8e0e6d0896 -Update the copyright in all source file headers for the new year.
SVN r4469 (trunk)
2014-01-03 23:38:29 +00:00
Sean Leonard
9312da7cc1 -Change inclusions of the deprecated <string.h> to <cstring>.
SVN r4204 (trunk)
2013-09-29 18:59:03 +00:00