[quake3] quake3-1.33-svn20051104-5

Ludwig Nussel ludwig.nussel at suse.de
Sat Dec 31 07:10:55 EST 2005


Marc Leeman wrote:
> Changelog to the previous GNU/Debian package [1]:
> 
> quake3 (1.33-svn20051104-5) unstable; urgency=low
>   * added q3ded and q3a manpage
>   * noname changed to GNU/Debian Server
>   * pure server default disabled
> 
> I will use a new snapshot one of these, but as far as I could make out,
> most changes in the SVN are only mainly for windows builds: using a new
> snapshot has little advantage for Linux users.
> 
> NOTES:
> 
> q3a is used in the package as a startup instead of quake3 in order to
> avoid conflicts with non packaged installations (1.32) .

I chose ioquake3/ioq3ded, SVN uses those names now as well.

> I think that 'pure server' as default serves little purpose now, it
> mainly keeps out 1.32 users AFAIK.

As Tim already pointed out it's still useful for the client to
determine which pk3 files are needed. I've been thinking about
whether we should allow loading of shared libs despite pure though
as it's quite a speed penalty to use the vm interpreter:


Index: code/qcommon/vm.c
===================================================================
--- code/qcommon/vm.c	(Revision 451)
+++ code/qcommon/vm.c	(Arbeitskopie)
@@ -555,6 +555,12 @@
 		Com_Printf( "Loading dll file %s.\n", vm->name );
 		vm->dllHandle = Sys_LoadDll( module, vm->fqpath , &vm->entryPoint, VM_DllSyscall );
 		if ( vm->dllHandle ) {
+			char filename[MAX_QPATH];
+			void* tmp = NULL;
+			Com_sprintf( filename, sizeof(filename), "vm/%s.qvm", vm->name );
+			FS_ReadFile( filename, &tmp );
+			if(tmp)
+				FS_FreeFile( tmp );
 			return vm;
 		}
 
Index: code/client/cl_cgame.c
===================================================================
--- code/client/cl_cgame.c	(Revision 451)
+++ code/client/cl_cgame.c	(Arbeitskopie)
@@ -728,7 +728,7 @@
 	Com_sprintf( cl.mapname, sizeof( cl.mapname ), "maps/%s.bsp", mapname );
 
 	// load the dll or bytecode
-	if ( cl_connectedToPureServer != 0 ) {
+	if ( 0 && cl_connectedToPureServer != 0 ) {
 		// if sv_pure is set we only allow qvms to be loaded
 		interpret = VMI_COMPILED;
 	}
Index: code/client/cl_ui.c
===================================================================
--- code/client/cl_ui.c	(Revision 451)
+++ code/client/cl_ui.c	(Arbeitskopie)
@@ -1144,7 +1144,7 @@
 	vmInterpret_t		interpret;
 
 	// load the dll or bytecode
-	if ( cl_connectedToPureServer != 0 ) {
+	if ( 0 && cl_connectedToPureServer != 0 ) {
 		// if sv_pure is set we only allow qvms to be loaded
 		interpret = VMI_COMPILED;
 	}

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/




More information about the quake3 mailing list