cd_win.c:
extern	HWND	mainwindow;
cd_win.c:
    mciPlayParms.dwCallback = (DWORD)mainwindow;
cd_win.c:
	mciGenericParms.dwCallback = (DWORD)mainwindow;
cd_win.c:
    mciPlayParms.dwCallback = (DWORD)mainwindow;
cl_main.c:
// cl_main.c  -- client main loop
cl_main.c:
		Cache_Report ();		// print remaining memory
cmd.c:
Causes execution of the remainder of the command buffer to be delayed until
cmd.c:
// copy off any commands still remaining in the exec buffer
cmd.c:
// delete the text from the command buffer and move remaining commands down
cmd.c:
		{	// skip out while text still remains in buffer, leaving it
common.c:
	int             remaining, count;
common.c:
	remaining = Sys_FileOpenRead (netpath, &in);            
common.c:
	while (remaining)
common.c:
		if (remaining < sizeof(buf))
common.c:
			count = remaining;
common.c:
		remaining -= count;
console.c:
// fill out remainder with spaces
d_polyse.c:
	int		remainder;
d_polyse.c:
		erroradjustup = ptemp->remainder;
dos_v2.c:
	return _go32_dpmi_remaining_physical_memory();
gl_rmain.c:
// r_main.c
gl_rsurf.c:
// main memory so texsubimage can update properly
gl_screen.c:
	int		remaining;
gl_screen.c:
		remaining = scr_printspeed.value * (cl.time - scr_centertime_start);
gl_screen.c:
		remaining = 9999;
gl_screen.c:
			if (!remaining--)
gl_vidlinux.c:
			Con_Printf("Unable to open symbol list for main program.\n");
gl_vidlinux.c:
//    if (!wglMakeCurrent( maindc, baseRC ))
gl_vidlinux.c:
		Con_Printf("Unable to open symbol list for main program.\n");
gl_vidlinuxglx.c:
			Con_Printf("Unable to open symbol list for main program.\n");
gl_vidlinuxglx.c:
//    if (!wglMakeCurrent( maindc, baseRC ))
gl_vidlinuxglx.c:
		Con_Printf("Unable to open symbol list for main program.\n");
gl_vidnt.c:
HWND	mainwindow, dibwindow;
gl_vidnt.c:
HDC		maindc;
gl_vidnt.c:
	mainwindow = dibwindow;
gl_vidnt.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)TRUE, (LPARAM)hIcon);
gl_vidnt.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)FALSE, (LPARAM)hIcon);
gl_vidnt.c:
	mainwindow = dibwindow;
gl_vidnt.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)TRUE, (LPARAM)hIcon);
gl_vidnt.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)FALSE, (LPARAM)hIcon);
gl_vidnt.c:
	SetForegroundWindow (mainwindow);
gl_vidnt.c:
	SetWindowPos (mainwindow, HWND_TOP, 0, 0, 0, 0,
gl_vidnt.c:
	SetForegroundWindow (mainwindow);
gl_vidnt.c:
//    if (!wglMakeCurrent( maindc, baseRC ))
gl_vidnt.c:
		SwapBuffers(maindc);
gl_vidnt.c:
//	gammaworks = SetDeviceGammaRamp (maindc, ramps);
gl_vidnt.c:
		if (maindc && dibwindow)
gl_vidnt.c:
			ReleaseDC (dibwindow, maindc);
gl_vidnt.c:
	PFD_MAIN_PLANE,			// main layer
gl_vidnt.c:
				ShowWindow(mainwindow, SW_SHOWNORMAL);
gl_vidnt.c:
/* main window procedure */
gl_vidnt.c:
				ShowWindow(mainwindow, SW_SHOWMINNOACTIVE);
gl_vidnt.c:
			if (MessageBox (mainwindow, "Are you sure you want to quit?", "Confirm Exit",
gl_vidnt.c:
    maindc = GetDC(mainwindow);
gl_vidnt.c:
	bSetupPixelFormat(maindc);
gl_vidnt.c:
    baseRC = wglCreateContext( maindc );
gl_vidnt.c:
    if (!wglMakeCurrent( maindc, baseRC ))
in_win.c:
			SetCapture (mainwindow);
in_win.c:
	hr = IDirectInputDevice_SetCooperativeLevel(g_pMouse, mainwindow,
keys.c:
// during demo playback, most keys bring up the main menu
mathlib.c:
Returns mathematically correct (floor-based) quotient and remainder for
menu.c:
enum {m_none, m_main, m_singleplayer, m_load, m_save, m_multiplayer, m_setup, m_net, m_options, m_video, m_keys, m_help, m_quit, m_serialconfig, m_modemconfig, m_lanconfig, m_gameoptions, m_search, m_slist} m_state;
menu.c:
		if (m_state != m_main)
menu.c:
int	m_main_cursor;
menu.c:
	m_state = m_main;
menu.c:
	p = Draw_CachePic ("gfx/ttl_main.lmp");
menu.c:
	M_DrawTransPic (72, 32, Draw_CachePic ("gfx/mainmenu.lmp") );
menu.c:
	M_DrawTransPic (54, 32 + m_main_cursor * 20,Draw_CachePic( va("gfx/menudot%i.lmp", f+1 ) ) );
menu.c:
		if (++m_main_cursor >= MAIN_ITEMS)
menu.c:
			m_main_cursor = 0;
menu.c:
		if (--m_main_cursor < 0)
menu.c:
			m_main_cursor = MAIN_ITEMS - 1;
menu.c:
		switch (m_main_cursor)
menu.c:
   {"hip2m6", "The Gremlin's Domain"},
menu.c:
	{"r1m1",	"Deviant's Domain"},
menu.c:
	Cmd_AddCommand ("menu_main", M_Menu_Main_f);
menu.c:
	case m_main:
menu.c:
	case m_main:
net_main.c:
// net_main.c
net_mp.c:
			// if it is a real name, strip off the domain; we only want the host
net_wins.c:
		// if it is a real name, strip off the domain; we only want the host
net_wipx.c:
			// if it is a real name, strip off the domain; we only want the host
pr_exec.c:
The interpretation main loop
r_alias.c:
// project the vertices that remain after clipping
r_main.c:
// r_main.c
screen.c:
	int		remaining;
screen.c:
		remaining = scr_printspeed.value * (cl.time - scr_centertime_start);
screen.c:
		remaining = 9999;
screen.c:
			if (!remaining--)
snd_dma.c:
// snd_dma.c -- main control for any streaming sound output device
snd_dma.c:
Called once each time through the main loop
snd_win.c:
		pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_NORMAL);
snd_win.c:
	if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_EXCLUSIVE))
snd_win.c:
		if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_WRITEPRIMARY))
sv_main.c:
// sv_main.c -- server main program
sys_dos.c:
main
sys_dos.c:
int main (int c, char **v)
sys_elate.c:
/* -- main ---------------------------------------------------------- */
sys_elate.c:
int main (int c, char **v)
sys_linux.c:
int main (int c, char **v)
sys_null.c:
void main (int argc, char **argv)
sys_sun.c:
int main (int argc, char **argv)
sys_win.c:
    /* main window message loop */
sys_wind.c:
main
sys_wind.c:
int main (int argc, char **argv)
sys_wind.c:
    /* main window message loop */
vid_sunx.c:
// setup attributes for main window
vid_sunx.c:
// create the main window
vid_sunxil.c:
// setup attributes for main window
vid_sunxil.c:
// create the main window
vid_win.c:
HWND		mainwindow;
vid_win.c:
	if (GetWindowRect (mainwindow, &rect))
vid_win.c:
		mainwindow = CreateWindowEx (
vid_win.c:
		if (!mainwindow)
vid_win.c:
		MGL_registerFullScreenWindow (mainwindow);
vid_win.c:
		SetWindowLong(mainwindow, GWL_STYLE, WindowStyle | WS_VISIBLE);
vid_win.c:
		SetWindowLong(mainwindow, GWL_EXSTYLE, ExWindowStyle);
vid_win.c:
	if (!SetWindowPos (mainwindow,
vid_win.c:
	SetWindowPos (mainwindow, NULL, (int)vid_window_x.value,
vid_win.c:
		ShowWindow (mainwindow, SW_MINIMIZE);
vid_win.c:
		ShowWindow (mainwindow, SW_SHOWDEFAULT);
vid_win.c:
	UpdateWindow (mainwindow);
vid_win.c:
	hdc = GetDC(mainwindow);
vid_win.c:
	ReleaseDC(mainwindow, hdc);
vid_win.c:
	if ((windc = MGL_createWindowedDC(mainwindow)) == NULL)
vid_win.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)TRUE, (LPARAM)hIcon);
vid_win.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)FALSE, (LPARAM)hIcon);
vid_win.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)1, (LPARAM)hIcon);
vid_win.c:
	SendMessage (mainwindow, WM_SETICON, (WPARAM)0, (LPARAM)hIcon);
vid_win.c:
	SetWindowLong(mainwindow, GWL_STYLE, WindowStyle | WS_VISIBLE);
vid_win.c:
	SetWindowLong(mainwindow, GWL_EXSTYLE, ExWindowStyle);
vid_win.c:
	if (!SetWindowPos (mainwindow,
vid_win.c:
	SetWindowPos (mainwindow, HWND_TOPMOST, 0, 0, 0, 0,
vid_win.c:
	ShowWindow (mainwindow, SW_SHOWDEFAULT);
vid_win.c:
	UpdateWindow (mainwindow);
vid_win.c:
	hdc = GetDC(mainwindow);
vid_win.c:
	ReleaseDC(mainwindow, hdc);
vid_win.c:
	if ((windc = MGL_createWindowedDC(mainwindow)) == NULL)
vid_win.c:
		SetForegroundWindow (mainwindow);
vid_win.c:
		SetWindowPos (mainwindow, HWND_TOP, 0, 0, 0, 0,
vid_win.c:
		SetForegroundWindow (mainwindow);
vid_win.c:
		ShowWindow (mainwindow, SW_MINIMIZE);
vid_win.c:
		PostMessage (HWND_BROADCAST, WM_PALETTECHANGED, (WPARAM)mainwindow, (LPARAM)0);
vid_win.c:
		if (mainwindow)
vid_win.c:
			DestroyWindow(mainwindow);
vid_win.c:
		hdcScreen = GetDC(mainwindow);
vid_win.c:
		ReleaseDC(mainwindow, hdcScreen);
vid_win.c:
			GetWindowRect (mainwindow, &trect);
vid_win.c:
				SetWindowPos (mainwindow, NULL, (int)vid_window_x.value,
vid_win.c:
/* main window procedure */
vid_win.c:
				InvalidateRect (mainwindow, NULL, false);
vid_win.c:
				if (MessageBox (mainwindow, "Are you sure you want to quit?", "Confirm Exit",
vid_x.c:
// setup attributes for main window
vid_x.c:
// create the main window
zone.c:
memzone_t	*mainzone;
zone.c:
		if (block == mainzone->rover)
zone.c:
			mainzone->rover = other;
zone.c:
		if (other == mainzone->rover)
zone.c:
			mainzone->rover = block;
zone.c:
	base = rover = mainzone->rover;
zone.c:
	mainzone->rover = base->next;	// next allocation will start looking here
zone.c:
	Con_Printf ("zone size: %i  location: %p\n",mainzone->size,mainzone);
zone.c:
	for (block = mainzone->blocklist.next ; ; block = block->next)
zone.c:
		if (block->next == &mainzone->blocklist)
zone.c:
	mainzone = Hunk_AllocName (zonesize, "zone" );
zone.c:
	Z_ClearZone (mainzone, zonesize);
