of the code agree on exactly where the radar beings and ends. Please verify if this fixes the bug.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5738 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a new configuration option "ColouredCursor", which if enabled will enable coloured cursors ingame
* Add a new API for setting cursors with: pie_SetMouse (previously frameSetCursor was used)
Patch #956 by Buginator; pie_.*Mouse API done by me (except for the iV_DrawImage invocation)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4434 4a71c877-e1ca-e34f-864e-861f7616d084
If enemy/foe radar colors are on (SHIFT+TAB) then all ally messages are yellow, enemy messages are red. If enemy/foe mode is off all chat messages are simply brighter than system messages.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4272 4a71c877-e1ca-e34f-864e-861f7616d084
Also some initial effort/stub for manual targeting. (Not yet enabled.)
Driving (drive.h) should go out of src/seqdisp.c if somehow possible...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3717 4a71c877-e1ca-e34f-864e-861f7616d084
Right now, to enable this, you must select a unit, and be in debug mode, and hit left shift D. Then you move the unit with arrow keys, and use right mouse button or S to target things.
Note: While you can test in SP, you will lose control of your droid if a mission briefing comes on. You just have to hit the hotkey again to regain control.
This is NOT finished. Just something to play around with, or if you got the time, reintegrate the missing PSX code.
* NOTE: You have to delete/reset your current keymap file, so backup your old one if you modified something.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3707 4a71c877-e1ca-e34f-864e-861f7616d084
- Make trigonometry tables static and remove usage of FRACT macros (trig.c)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1542 4a71c877-e1ca-e34f-864e-861f7616d084
* further remove audio_GetIDFromStr from src/aud.c and rename audioID_GetIDFromStr (from audio_id.c) to audio_GetIDFromStr
* also changed calling method of audio_GetIDFromStr, now it returns its retrieved value (ID index number) rather than writing it in a pointer given as parameter
PS MSVC project might be broken, I don't have it so can't check nor fix it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1288 4a71c877-e1ca-e34f-864e-861f7616d084
A few were given WZ_DECL_UNUSED to silence warnings instead, since they are referenced
in not yet removed code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1257 4a71c877-e1ca-e34f-864e-861f7616d084
- make a lot of functions static
- remove unused extern declarations
- fix one function declarations () -> (void)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1254 4a71c877-e1ca-e34f-864e-861f7616d084
- Vector3i from lib/ivis also used in lib/audio, maybe want to move it to some more generic place?
- Replace iPoint with Vector2i
- Remove additional integer type declarations from pietypes.h
- Rename all iSprite to iTexture
- Various warning fixes: Unsigned/signed comparisons, uninitialized variables, declared but not defined symbols
- Replace DEBUG_BLOCK with DEBUG_MALLOC (it was virtually the same)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1245 4a71c877-e1ca-e34f-864e-861f7616d084
C macro M_PI (if available, or we will define it on our own in fractions.h).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1033 4a71c877-e1ca-e34f-864e-861f7616d084
- Simplify definition of ASSERT(). Now is the same for GCC and MSVC.
This may not work on versions older than MSVC 2005. If you experience this, please report it!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@613 4a71c877-e1ca-e34f-864e-861f7616d084
- marked places where lib/ivis_*implementation* (eg opengl) is needed, because of incomplete lib/ivis_common.
Should improve the understanding of interfaces and code organization.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@431 4a71c877-e1ca-e34f-864e-861f7616d084