* Make less assumptions about the amount of bits & bytes in types; use sizeof() instead
* Use int32_t instead of SDWORD as the former guarantees a constant size
* Some less magic numbers
* Add Doxygen documentation to this function
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4707 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't show the references and referenced-by relations in the generated Doxygen docs
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4705 4a71c877-e1ca-e34f-864e-861f7616d084
* Mark the parameters for several functions as WZ_DECL_UNUSED (for those functions that require the parameter as part of their interface)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4701 4a71c877-e1ca-e34f-864e-861f7616d084
some other random graphic. Also add proper tooltip to this dialog.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4699 4a71c877-e1ca-e34f-864e-861f7616d084
* Replace "nstr = malloc(strlen(str) + 1); strcpy(nstr, str);" by using "nstr = strdup(str);" instead
* Remove a non-sensical self-assignment ("pIdent = pIdent;")
* In scriptAddVariable:
* "Overallocate" for the new VAR_SYMBOL so that we can store the identifier in that single chunk of memory
* This allows deallocating the entire structure with a single free() call (which prevents problems with the constness change to VAR_SYMBOL mentioned above)
* Don't take ownership of the memory pointed to by psVarIdent->pIdent, just copy its contents instead
* Make FREE_VARIDENTDECL a function instead: freeVARIDENTDECL
* In this function also free psDcl->pIdent
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4696 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove unused function scriptClearLocalVariables() (which was effectively a NOP due to psLocalVars being NULL)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4691 4a71c877-e1ca-e34f-864e-861f7616d084
* import the code from GLee into our repository (a single source and header file), and replace all use of the check_extension function by use of GLee functions
* Remove function stencil_one_pass and replace all calls to it with `if (GLEE_EXT_stencil_two_side && GLEE_EXT_stencil_wrap)`
Patch from ticket 8 by Buginator (with some minor additions by me)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4687 4a71c877-e1ca-e34f-864e-861f7616d084
put that into the debug call. Rename some categories to make them line up correctly in log.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4684 4a71c877-e1ca-e34f-864e-861f7616d084
Also fix another crash bug with nexus link where a droid would acquire a null target.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4682 4a71c877-e1ca-e34f-864e-861f7616d084
by Jan Dittberner. If a tagfile group had only default values, it would consume
the group end tag and the rest of the file would be read corrupt.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4681 4a71c877-e1ca-e34f-864e-861f7616d084
game name, and map name edit box buttons highlightable in MP dialog.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4680 4a71c877-e1ca-e34f-864e-861f7616d084
I forgot to add size of compatibility zone header to save buffer size in r4637.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4676 4a71c877-e1ca-e34f-864e-861f7616d084
they are normal state, pressed state, and highlighted by mouse. Removes ugly
hack to provide highlighting for only some buttons.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4675 4a71c877-e1ca-e34f-864e-861f7616d084
Allow global variable declarations to be mixed with trigger and event/function declaration. This allows us to #include script files which variable/event declaration.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4667 4a71c877-e1ca-e34f-864e-861f7616d084