Updates in Winrott version 1.22
still needs fixing:
Rotate screen
check void SetUpControlPanel (void)
Rotate screen
10-9-2004 Birger
fixed void SetBorderColor (int color)
the old one could not be used because it was partly hardware and interrupt
driven.
wrote new ones in void SetBorderColor (int color)
when fixing void ScreenShake (void) I found out that rott
uses the old 16 bit format but
this wont work in 32 bit
because they compare like this
if (SHAKETICS != 0xFFFF) (32bit = 0xFFFFFFFF)
{
made int to __int16;
//extern int SHAKETICS;
extern unsigned __int16 SHAKETICS;//bna++
Perhaps this goes wrong in Net.c too, Checkit!!!!!!!
Made 4 new functions in winrott.c to shake screen:
MoveScreenUpLeft();
MoveScreenUpRight();
MoveScreenDownLeft();
MoveScreenDownRight();
Could shakescreen have been done in a easier way??
fixed missing PauseKeys
trying to stretch 'PAUSED' window, but result was bad, so I dropped it
right now
so I wrote window directly on screen.
see (messy as hell, needs to be rewritten totally)
void DrawPauseXY (int x, int y)
void DrawPause (void)
fixed screensaver (not to good)
fixed ViewSize crash (if a user writes a value <0 or >10 the game
game crashed,
but now goes to default values in viewsize and size.)
during testing I found a bug in rott, when you have paused the game and
goes to menu and back it continues with menu music.
this error is also in the org game.
9-9-2004 Birger
fixed new winrott 1.22 title who crashed 2 time it was written
(forgot to load fonts second time)
fixed Apogeetitle song short, thought it was done until I discovered
that
there was a bug in SDL. When a song goes to 0 the SDL thinks the
song is over at cut of rest of song.
now fixed.
fixed (I hope) MU_RestoreSongPosition() so now will store song pos when
going to MENU
via 2 functions fix in Rt_Sound.c
void MU_RestoreSongPosition ( void )
void MU_StoreSongPosition ( void )
and 2 new in winrott.c
int MIDI_StoreSongPosition()
void MIDI_RestoreSongPosition(int storedposition)
In all this messing around in the sound, I think that some of our bad
sounds
comes from a bad or fault sampling rate???
8-9-2004 Birger
fixed 'PLAY' parameter and window to replay demos
fixed messagebackground
fixed gasmask (see void DrawScreenSizedSprite (int lump) for explanation
on choice)
fixed 'GOTO' cheat code and screen size
fixed void RestartNormal (void) (GOOBERS / GOO)
fixed updated winrott helpsection
fixed void DoCreditScreen ( void )
fixed I_Delay error (you can now leave text screens by hitting space)
added VW_DrawIPropString ("WinRott 1.22");
added missing VH_UpdateScreen () at 'RSAC'
fixed ApogeeTitle cut short
fixed bad colors when ApogeeTitle was finished
dammed, its almost 1 in the night, I'll never get up in the morning
7-9-2004 Birger
Finally I got sick and tired of the DMO(demo) files. When you play
winrott and
there is a wrong DMO file in the same Directory, the game crash or
behave strange.
I thought I had a way to detect dmo type, but its very unstable.
So I dumped the old DMO format and made a completely new type which
gives the
possibility to detect wad version, shareware type and other things.
unfortunly the old ones cannot be played anymore.
On the other hand, the game wont crash anymore, it simply wont play
wrong dmo files.
If you have some dmo files and you dont know the type then just open it
in
wordpad, and the first letters should be.
and next the used WAD and extern RTL files
example (DMOFL,DARKWAR.WAD,EXTREME.RTL, )
The game now plays the first 10 dmo files in finding order
Fixed: You can now enter a full dmo name when recording dmo files (Alt+R
& Alt+E)
name max = xxxxxxxx.xxx
Fixed: 'DEMO' picture in bottom of picture when running dmo files
Fixed
USE MODIFIED STUFF now works (most of it, not battlemodes since NET dont
work)
added parameter 'filertl' to run userlevels
exampel 'filertl Extreme.rtl now'
only works in FULL VERSION
6-9-2004 Birger
fixed VL_DecompressLBM because many LBM pic was wrong
rt_vid.c(1043):void VL_DecompressLBM (lbm_t *lbminfo, boolean flip)
added changes in rt_str.c from J.Baley (Password fix)
added changes in rt_main.c from J.Baley (cinematic playback fix)
// birger added
// added scan for demo version and files
// now winrott scans the first 10 *dmo of the right version in and plays
them
// in finding order.
// changed in these 3 files
void LoadDemo (int demonumber)
boolean DemoExists (int demonumber)
void FindROTTdemofiles()
added Record demo key (Alt + R) starts demo and (Alt + E) ends demo
5-9-2004 Birger
Jukebox small screen fixed
see rt_debug.c(463):void DoJukeBox
(void)
File parameter fixed (I belive, but not tested)
added fileexists check in 'void W_AddFile (char *_filename)'