goat3d

diff exporters/maxgoat/src/maxgoat.cc @ 58:d317eb4f83da

- made everything compile properly on windows again - removed libanim/libvmath, we'll use them as external dependencies - added new maxgoat_stub 3dsmax plugin project. Gets loaded as a max plugin and loads the actual maxgoat (and later maxgoat_anim) exporters on demand, to allow reloading the actual exporters without having to restart 3dsmax (which takes AGES).
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Mar 2014 03:19:55 +0200
parents 0fe02696fb1e
children 0c3576325480
line diff
     1.1 --- a/exporters/maxgoat/src/maxgoat.cc	Thu Jan 23 03:57:15 2014 +0200
     1.2 +++ b/exporters/maxgoat/src/maxgoat.cc	Tue Mar 25 03:19:55 2014 +0200
     1.3 @@ -124,6 +124,7 @@
     1.4  	char fname[512];
     1.5  	wcstombs(fname, name, sizeof fname - 1);
     1.6  
     1.7 +	fprintf(logfile, "Exporting Goat3D Scene (text) file: %s\n", fname);
     1.8  	if(!(igame = GetIGameInterface())) {
     1.9  		fprintf(logfile, "failed to get the igame interface\n");
    1.10  		return IMPEXP_FAIL;
    1.11 @@ -406,6 +407,7 @@
    1.12  	HINSTANCE HInstance() { return hinst; }
    1.13  };
    1.14  
    1.15 +// TODO: make 2 class descriptors, one for goat3d, one for goat3danim
    1.16  static GoatClassDesc class_desc;
    1.17  
    1.18  BOOL WINAPI DllMain(HINSTANCE inst_handle, ULONG reason, void *reserved)