Age | Commit message (Collapse) | Author |
|
Scripts can have a maximum of three arguments when started
(see ACS_Execute / #80 linedef special type). This means that the
array of arguments passed must be at least three elements in
length. When loading scripts, check the argument count never
exceeds 3, and print a warning message if it does.
Don't pass pointers to structure members implicitly treating them
as elements of an array (as this relies on compiler-dependent
behavior as to how structure members are laid out). Instead, copy
values into a temporary array to make the intended behavior explicit.
This fixes #477. Thanks to Quasar for reporting it.
|
|
This change rewrites and simplifies the copyright headers at the top
of all source files:
* Remove "Emacs style mode select" line; this line was included in
the headers for the originally released source files and appears
to be to set the file type for old versions of Emacs. I'm not sure
entirely why it was required but I don't think it is any more.
* Remove "You should have received a copy of..." text from copyright
header. This refers to the old 59 Temple Place address where the
FSF headquarters used to be located and is no longer correct.
Rather than change to the new address, just remove the paragraph
as it is superfluous anyway. This fixes #311.
* Remove ---- separator lines so that the file headers are barer
and more simplified.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
|
|
hold pointer values.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2407
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1441
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1375
|
|
Heretic and Hexen use WAD path lookup.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1368
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1341
|
|
remove old code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1338
|
|
common interface.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1324
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1319
|
|
i_video definitions and use common i_video.c interface.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1312
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1197
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1195
|